#include "SpringBasedVegetationComponent.h"
#include "Carla/Walker/WalkerAnim.h"
#include "Math/Matrix.h"
#include "Components/CapsuleComponent.h"
#include "DrawDebugHelpers.h"
#include "Kismet/KismetMathLibrary.h"
#include "BaseVegetationActor.h"
#include "Vehicle/CarlaWheeledVehicle.h"
#include <unordered_set>
#include <vector>
#include <cmath>
#include <sstream>
#include <compiler/disable-ue4-macros.h>
#include "carla/rpc/String.h"
#include <compiler/enable-ue4-macros.h>
Go to the source code of this file.
Macros | |
#define | ACC_LOG(...) |
#define | ACCUMULATIONLOGS 0 |
#define | COLLISION_LOG(...) |
#define | COLLISIONLOGS 0 |
#define | FICT_LOG(...) |
#define | FICTITIOUSFORCELOGS 0 |
#define | OTHER_LOG(...) |
#define | OTHERLOGS 0 |
#define | SOLVER_LOG(...) |
#define | SOLVERLOGS 0 |
#define | SPRINGVEGETATIONLOGS 0 |
Functions | |
template<class T > | |
static FString | EigenToFString (T &t) |
static FRotator | EigenVectorToRotator (const Eigen::Vector3d &Vector) |
FRotator | GetDeltaRotator (const FRotator &Rotator1, const FRotator &Rotator2) |
template<class T > | |
static T | GetSign (T n) |
static Eigen::Matrix3d | OuterProduct (const Eigen::Vector3d &V1, const Eigen::Vector3d &V2) |
static Eigen::Matrix3d | OuterProduct (const Eigen::Vector3d &V1) |
static Eigen::Vector3d | RotatorToEigenVector (const FRotator &Rotator) |
static Eigen::Matrix3d | ToEigenMatrix (const FMatrix &Matrix) |
static Eigen::Matrix3d | ToEigenMatrix (const FTransform &Transform) |
static Eigen::Vector3d | ToEigenVector (const FVector &V1) |
static FVector | ToUnrealVector (const Eigen::Vector3d &V1) |
#define ACC_LOG | ( | ... | ) |
Definition at line 44 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
#define ACCUMULATIONLOGS 0 |
Definition at line 27 of file SpringBasedVegetationComponent.cpp.
#define COLLISION_LOG | ( | ... | ) |
Definition at line 39 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
#define COLLISIONLOGS 0 |
Definition at line 26 of file SpringBasedVegetationComponent.cpp.
#define FICT_LOG | ( | ... | ) |
Definition at line 49 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
#define FICTITIOUSFORCELOGS 0 |
Definition at line 28 of file SpringBasedVegetationComponent.cpp.
#define OTHER_LOG | ( | ... | ) |
Definition at line 54 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces(), FSkeletonHierarchy::ComputeChildrenJointsAndBones(), and FSkeletonHierarchy::ComputeEndJoints().
#define OTHERLOGS 0 |
Definition at line 29 of file SpringBasedVegetationComponent.cpp.
#define SOLVER_LOG | ( | ... | ) |
Definition at line 34 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
#define SOLVERLOGS 0 |
Definition at line 25 of file SpringBasedVegetationComponent.cpp.
#define SPRINGVEGETATIONLOGS 0 |
Definition at line 24 of file SpringBasedVegetationComponent.cpp.
|
static |
Definition at line 89 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
|
static |
Definition at line 132 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
FRotator GetDeltaRotator | ( | const FRotator & | Rotator1, |
const FRotator & | Rotator2 | ||
) |
Definition at line 58 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
|
static |
Definition at line 84 of file SpringBasedVegetationComponent.cpp.
|
static |
Definition at line 95 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
|
static |
Definition at line 99 of file SpringBasedVegetationComponent.cpp.
|
static |
Definition at line 125 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
|
static |
Definition at line 112 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces(), and ToEigenMatrix().
|
static |
Definition at line 120 of file SpringBasedVegetationComponent.cpp.
References ToEigenMatrix().
|
static |
Definition at line 104 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().
|
static |
Definition at line 108 of file SpringBasedVegetationComponent.cpp.
Referenced by FSkeletonHierarchy::ClearExternalForces().