19#ifndef TRICYCLE_CONTROLLER__TRACTION_LIMITER_HPP_
20#define TRICYCLE_CONTROLLER__TRACTION_LIMITER_HPP_
24namespace tricycle_controller
52 double min_velocity = NAN,
double max_velocity = NAN,
double min_acceleration = NAN,
53 double max_acceleration = NAN,
double min_deceleration = NAN,
double max_deceleration = NAN,
54 double min_jerk = NAN,
double max_jerk = NAN);
64 double limit(
double & v,
double v0,
double v1,
double dt);
91 double limit_jerk(
double & v,
double v0,
double v1,
double dt);
99 double min_acceleration_;
100 double max_acceleration_;
103 double min_deceleration_;
104 double max_deceleration_;
Definition traction_limiter.hpp:27
double limit(double &v, double v0, double v1, double dt)
Limit the velocity and acceleration.
Definition traction_limiter.cpp:98
double limit_velocity(double &v)
Limit the velocity.
Definition traction_limiter.cpp:110
double limit_jerk(double &v, double v0, double v1, double dt)
Limit the jerk.
Definition traction_limiter.cpp:143
double limit_acceleration(double &v, double v0, double dt)
Limit the acceleration.
Definition traction_limiter.cpp:120