|
bitsim
Model, simulate, estimate and control robots in C++
|
The cubic polynomial that starts and ends at rest, \(s(t) = 3\tau^2 - 2\tau^3\) with \(\tau = t / T\). More...
#include <time_scaling.h>


Public Member Functions | |
| CubicTimeScaling (real_t duration) | |
| real_t | s (real_t t) const override |
| s(t); 0 before the start and 1 after the end | |
| real_t | ds (real_t t) const override |
| \(\dot s(t)\) [1/s] | |
| real_t | dds (real_t t) const override |
| \(\ddot s(t)\) [1/s^2] | |
| Public Member Functions inherited from bitsim::trajectory::TimeScaling | |
| virtual | ~TimeScaling ()=default |
| real_t | duration () const noexcept |
| The duration T [s]. | |
Additional Inherited Members | |
| Protected Member Functions inherited from bitsim::trajectory::TimeScaling | |
| TimeScaling (real_t duration) | |
| real_t | clamp_ (real_t t) const noexcept |
| Protected Attributes inherited from bitsim::trajectory::TimeScaling | |
| real_t | T_ |
The cubic polynomial that starts and ends at rest, \(s(t) = 3\tau^2 - 2\tau^3\) with \(\tau = t / T\).
The velocity is zero at both ends, but the acceleration jumps from 0 to \(6/T^2\) at the start and back at the end: an infinite jerk, which shakes a real arm.
|
inlineexplicit |
\(\ddot s(t)\) [1/s^2]
Implements bitsim::trajectory::TimeScaling.
\(\dot s(t)\) [1/s]
Implements bitsim::trajectory::TimeScaling.
s(t); 0 before the start and 1 after the end
Implements bitsim::trajectory::TimeScaling.