Trajectory constraint that limits maximum velocity to prevent excessive centripetal acceleration.
More...
#include <centripetal_acceleration_constraint.h>
Trajectory constraint that limits maximum velocity to prevent excessive centripetal acceleration.
◆ CentripetalAccelerationConstraint()
| CentripetalAccelerationConstraint::CentripetalAccelerationConstraint |
( |
units::Acceleration | max_centripetal_acceleration | ) |
|
|
inlineexplicit |
◆ clone()
◆ max_velocity()
| units::Velocity CentripetalAccelerationConstraint::max_velocity |
( |
const Pose2d & | pose, |
|
|
units::Curvature | curvature, |
|
|
units::Velocity | velocity ) const |
|
inlineoverridevirtual |
Computes maximum allowed velocity based on path curvature and centripetal acceleration limits.
- Parameters
-
| pose | 2D position and orientation. |
| curvature | Path curvature in rad/meter. |
| velocity | Candidate linear velocity. |
- Returns
- Constrained units::Velocity limit.
Implements TrajectoryConstraint.
◆ min_max_acceleration()
| MinMax CentripetalAccelerationConstraint::min_max_acceleration |
( |
const Pose2d & | pose, |
|
|
units::Curvature | curvature, |
|
|
units::Velocity | speed ) const |
|
inlineoverridevirtual |
Computes minimum and maximum allowed linear accelerations.
- Parameters
-
| pose | 2D position and orientation. |
| curvature | Path curvature in rad/meter. |
| speed | Current scalar speed. |
- Returns
- MinMax acceleration bounds struct.
Implements TrajectoryConstraint.
The documentation for this class was generated from the following file: