PlayPlatformTrajectory.cpp File Reference
+ Include dependency graph for PlayPlatformTrajectory.cpp:

Go to the source code of this file.

Macros

#define FACTOR_BETWEEN_TRANS_AND_ROT   500.0
 
#define MAX_ROTATION_ACCEL   0.75
 
#define MAX_TRANSLATION_ACCEL   0.5
 
#define STATE_POSITION   0
 
#define STATE_VELOCITY   1
 

Functions

TrajectoryPtr balanceTimestamps (TrajectoryPtr t)
 
TrajectoryPtr normalizeTimestamps (TrajectoryPtr t, float maxTransVel, float maxRotVel)
 
TrajectoryPtr scaleRotationLengths (TrajectoryPtr t, float factor)
 

Macro Definition Documentation

◆ FACTOR_BETWEEN_TRANS_AND_ROT

#define FACTOR_BETWEEN_TRANS_AND_ROT   500.0

Definition at line 39 of file PlayPlatformTrajectory.cpp.

◆ MAX_ROTATION_ACCEL

#define MAX_ROTATION_ACCEL   0.75

Definition at line 37 of file PlayPlatformTrajectory.cpp.

◆ MAX_TRANSLATION_ACCEL

#define MAX_TRANSLATION_ACCEL   0.5

Definition at line 36 of file PlayPlatformTrajectory.cpp.

◆ STATE_POSITION

#define STATE_POSITION   0

Definition at line 33 of file PlayPlatformTrajectory.cpp.

◆ STATE_VELOCITY

#define STATE_VELOCITY   1

Definition at line 34 of file PlayPlatformTrajectory.cpp.

Function Documentation

◆ balanceTimestamps()

TrajectoryPtr balanceTimestamps ( TrajectoryPtr  t)

Definition at line 44 of file PlayPlatformTrajectory.cpp.

+ Here is the caller graph for this function:

◆ normalizeTimestamps()

TrajectoryPtr normalizeTimestamps ( TrajectoryPtr  t,
float  maxTransVel,
float  maxRotVel 
)

Definition at line 76 of file PlayPlatformTrajectory.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ scaleRotationLengths()

TrajectoryPtr scaleRotationLengths ( TrajectoryPtr  t,
float  factor 
)

Definition at line 121 of file PlayPlatformTrajectory.cpp.

+ Here is the caller graph for this function: