|
bitsim
Model, simulate, estimate and control robots in C++
|
How fast to go along a path: the share s(t) of the path done at time t, from s(0) = 0 to s(T) = 1, with its rates \(\dot s\) and \(\ddot s\). More...
#include <time_scaling.h>

Public Member Functions | |
| virtual | ~TimeScaling ()=default |
| real_t | duration () const noexcept |
| The duration T [s]. | |
| virtual real_t | s (real_t t) const =0 |
| s(t); 0 before the start and 1 after the end | |
| virtual real_t | ds (real_t t) const =0 |
| \(\dot s(t)\) [1/s] | |
| virtual real_t | dds (real_t t) const =0 |
| \(\ddot s(t)\) [1/s^2] | |
Protected Member Functions | |
| TimeScaling (real_t duration) | |
| real_t | clamp_ (real_t t) const noexcept |
Protected Attributes | |
| real_t | T_ |
How fast to go along a path: the share s(t) of the path done at time t, from s(0) = 0 to s(T) = 1, with its rates \(\dot s\) and \(\ddot s\).
A point to point motion from \(q_0\) to \(q_1\) is then \(q(t) = q_0 + s(t)(q_1 - q_0)\), with velocity \(\dot s(t)(q_1 - q_0)\) and acceleration \(\ddot s(t)(q_1 - q_0)\): the path is fixed, and the time scaling says how it is timed.
|
virtualdefault |
|
explicitprotected |
\(\ddot s(t)\) [1/s^2]
Implemented in bitsim::trajectory::CubicTimeScaling, bitsim::trajectory::QuinticTimeScaling, and bitsim::trajectory::TrapezoidalTimeScaling.
\(\dot s(t)\) [1/s]
Implemented in bitsim::trajectory::CubicTimeScaling, bitsim::trajectory::QuinticTimeScaling, and bitsim::trajectory::TrapezoidalTimeScaling.
|
inlinenoexcept |
The duration T [s].
s(t); 0 before the start and 1 after the end
Implemented in bitsim::trajectory::CubicTimeScaling, bitsim::trajectory::QuinticTimeScaling, and bitsim::trajectory::TrapezoidalTimeScaling.
|
protected |