Trajectory constraint that enforces a strict upper limit on velocity.
More...
#include <max_velocity_constraint.h>
Trajectory constraint that enforces a strict upper limit on velocity.
◆ MaxVelocityConstraint()
| MaxVelocityConstraint::MaxVelocityConstraint |
( |
units::Velocity | max_velocity | ) |
|
|
inlineexplicit |
◆ clone()
◆ max_velocity()
| units::Velocity MaxVelocityConstraint::max_velocity |
( |
const Pose2d & | pose, |
|
|
units::Curvature | curvature, |
|
|
units::Velocity | velocity ) const |
|
inlineoverridevirtual |
Computes maximum allowed velocity.
- 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 MaxVelocityConstraint::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: