19 #ifndef TRICYCLE_CONTROLLER__STEERING_LIMITER_HPP_
20 #define TRICYCLE_CONTROLLER__STEERING_LIMITER_HPP_
24 namespace tricycle_controller
39 double min_position = NAN,
double max_position = NAN,
double min_velocity = NAN,
40 double max_velocity = NAN,
double min_acceleration = NAN,
double max_acceleration = NAN);
50 double limit(
double & p,
double p0,
double p1,
double dt);
88 double min_acceleration_;
89 double max_acceleration_;
Definition: steering_limiter.hpp:27
double limit_position(double &p)
Limit the jerk.
Definition: steering_limiter.cpp:75
double limit(double &p, double p0, double p1, double dt)
Limit the position, velocity and acceleration.
Definition: steering_limiter.cpp:63
SteeringLimiter(double min_position=NAN, double max_position=NAN, double min_velocity=NAN, double max_velocity=NAN, double min_acceleration=NAN, double max_acceleration=NAN)
Constructor.
Definition: steering_limiter.cpp:27
double limit_velocity(double &p, double p0, double dt)
Limit the velocity.
Definition: steering_limiter.cpp:83
double limit_acceleration(double &p, double p0, double p1, double dt)
Limit the acceleration.
Definition: steering_limiter.cpp:97