8 #ifndef Navigation_SplineTrajectoryConfig_H
9 #define Navigation_SplineTrajectoryConfig_H
18 class SplineTrajectoryConfigBlob;
51 void UpdateFromBlob(
const SplineTrajectoryConfigBlob& blob);
52 bool operator==(
const SplineTrajectoryConfig& other)
const;
53 bool operator!=(
const SplineTrajectoryConfig& other)
const {
return !operator==(other); }
59 SplineComputationConfig m_splineComputationConfig;
108 #endif // Navigation_SplineTrajectoryConfig_H
KyFloat32 m_recomputationDistanceRatio
Once the bot has moved of splineLength * m_recomputationDistanceRatio meters along the spline...
Definition: splinetrajectoryconfig.h:77
StartConstraintDirectionMode m_startConstraintDirectionMode
Defines the direction to be used to constraint the start of a new Spline.
Definition: splinetrajectoryconfig.h:65
Deactivate start constraint.
Definition: splinetrajectoryconfig.h:27
KyFloat32 m_startConstraintDirectionVelocityThreshold
When start constraint direction mode is StartConstraintDirectionMode_Velocity, the start constraint i...
Definition: splinetrajectoryconfig.h:72
This mode is designed to let a bot without any inertia slide as close as possible along spline...
Definition: splinetrajectoryconfig.h:42
Class that configures how the trajectory is computed from the Channel.
Definition: splinetrajectoryconfig.h:31
KyFloat32 m_stabilityDistance
When updating a followed spline, we ensure the spline will not change on m_stabilityDistance meters...
Definition: splinetrajectoryconfig.h:82
Same as StartConstraintDirectionMode_Velocity, but if velocity under threshold use current bot front ...
Definition: splinetrajectoryconfig.h:26
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
KyFloat32 m_maxDistanceToSplinePosition
If the bot is more than m_maxDistanceToSplinePosition meters from its position on the spline...
Definition: splinetrajectoryconfig.h:90
Aligns the start constraint along current bot velocity when greater than the threshold (cf m_startCon...
Definition: splinetrajectoryconfig.h:24
KyFloat32 m_targetOnSplineDistance
The target is a point along the spline that is used to compute the final velocity.
Definition: splinetrajectoryconfig.h:104
VelocityComputationMode m_velocityComputationMode
Choose whether you want to directly read your velocity from the spline or if you are animation driven...
Definition: splinetrajectoryconfig.h:95
VelocityComputationMode
Enumerates the SplineTrajectory velocity computation modes.
Definition: splinetrajectoryconfig.h:39
StartConstraintDirectionMode
Enumerates the SplineTrajectory start constraint direction modes.
Definition: splinetrajectoryconfig.h:22
In this mode, we use m_targetOnSplineDistance to anticipate ahead.
Definition: splinetrajectoryconfig.h:46
Always aligns the start constraint along current bot front direction.
Definition: splinetrajectoryconfig.h:25
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43