|
libstp
Robotics library for Botball
|
#include <trapezoidal_profile.hpp>
Public Member Functions | |
| double | effectiveDeceleration () const |
| void | validate () const |
Public Attributes | |
| double | max_velocity {1.0} |
| double | max_acceleration {2.0} |
| double | max_deceleration {0.0} |
Definition at line 23 of file trapezoidal_profile.hpp.
|
inline |
Definition at line 29 of file trapezoidal_profile.hpp.
|
inline |
Throws std::invalid_argument when the profile would divide by zero or produce NaN. Call this from any factory that builds a profile from user-facing config so the error surfaces at config time, not during a 100 Hz motion update.
Definition at line 38 of file trapezoidal_profile.hpp.
| double libstp::motion::TrapezoidalProfile::Constraints::max_acceleration {2.0} |
Definition at line 26 of file trapezoidal_profile.hpp.
| double libstp::motion::TrapezoidalProfile::Constraints::max_deceleration {0.0} |
Definition at line 27 of file trapezoidal_profile.hpp.
| double libstp::motion::TrapezoidalProfile::Constraints::max_velocity {1.0} |
Definition at line 25 of file trapezoidal_profile.hpp.