Franky
0.9.1
A High-Level Motion API for Franka
|
Relative dynamics factors. More...
#include <relative_dynamics_factor.hpp>
Public Member Functions | |
RelativeDynamicsFactor () | |
Default constructor which initializes all values to 1.0. More... | |
RelativeDynamicsFactor (double value) | |
Constructor which initializes all values to the given value. More... | |
RelativeDynamicsFactor (double velocity, double acceleration, double jerk) | |
double | velocity () const |
Velocity factor. More... | |
double | acceleration () const |
Acceleration factor. More... | |
double | jerk () const |
Jerk factor. More... | |
bool | max_dynamics () const |
Whether the maximum dynamics should be used. More... | |
RelativeDynamicsFactor | operator* (const RelativeDynamicsFactor &other) const |
Static Public Member Functions | |
static RelativeDynamicsFactor | MAX_DYNAMICS () |
Special factor which causes the maximum dynamics to be used, independent of other factors applied elsewhere. More... | |
Relative dynamics factors.
This class encapsulates the relative dynamics factors, which are used to scale the maximum velocity, acceleration, and jerk of a trajectory.
franky::RelativeDynamicsFactor::RelativeDynamicsFactor | ( | ) |
Default constructor which initializes all values to 1.0.
franky::RelativeDynamicsFactor::RelativeDynamicsFactor | ( | double | value | ) |
Constructor which initializes all values to the given value.
value | The value to initialize all factors with. Must be in the range (0, 1]. |
franky::RelativeDynamicsFactor::RelativeDynamicsFactor | ( | double | velocity, |
double | acceleration, | ||
double | jerk | ||
) |
velocity | The factor for the velocity. Must be in the range (0, 1]. |
acceleration | The factor for the acceleration. Must be in the range (0, 1]. |
jerk | The factor for the jerk. Must be in the range (0, 1]. |
|
inline |
Acceleration factor.
|
inline |
Jerk factor.
|
inlinestatic |
Special factor which causes the maximum dynamics to be used, independent of other factors applied elsewhere.
|
inline |
Whether the maximum dynamics should be used.
RelativeDynamicsFactor franky::RelativeDynamicsFactor::operator* | ( | const RelativeDynamicsFactor & | other | ) | const |
|
inline |
Velocity factor.