PX4 Firmware
PX4 Autopilot Software http://px4.io
math::trajectory Namespace Reference

Functions

float computeMaxSpeedFromDistance (const float jerk, const float accel, const float braking_distance, const float final_speed)
 
float computeMaxSpeedInWaypoint (const float alpha, const float accel, const float d)
 

Function Documentation

◆ computeMaxSpeedFromDistance()

float math::trajectory::computeMaxSpeedFromDistance ( const float  jerk,
const float  accel,
const float  braking_distance,
const float  final_speed 
)
inline

Definition at line 61 of file TrajMath.hpp.

References f().

Referenced by CollisionPrevention::_calculateConstrainedSetpoint(), and FlightTaskAutoLineSmoothVel::_getMaxSpeedFromDistance().

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

◆ computeMaxSpeedInWaypoint()

float math::trajectory::computeMaxSpeedInWaypoint ( const float  alpha,
const float  accel,
const float  d 
)
inline

Definition at line 86 of file TrajMath.hpp.

References f().

Referenced by FlightTaskAutoLineSmoothVel::_getSpeedAtTarget().

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