A single-dof kinematic profile with position, velocity, acceleration and jerk. More...
#include <profile.hpp>
Public Types | |
| enum class | ReachedLimits { ACC0_ACC1_VEL , VEL , ACC0 , ACC1 , ACC0_ACC1 , ACC0_VEL , ACC1_VEL , NONE } |
| enum class | Direction { UP , DOWN } |
| enum class | ControlSigns { UDDU , UDUD } |
Public Member Functions | |
| Bound | get_position_extrema () const |
| Get the position extrema along the profile. | |
| Bound | get_velocity_extrema () const |
| Get the velocity extrema along the profile. | |
| void | set_boundary_for_velocity (double p0_new, double v0_new, double a0_new, double vf_new, double af_new) |
| void | set_boundary (const Profile &profile) |
| void | set_boundary (double p0_new, double v0_new, double a0_new, double pf_new, double vf_new, double af_new) |
| bool | get_first_state_at_position (double pt, double &time, double time_after=0.0) const |
| bool | get_first_state_at_velocity (double vt, double &time, double time_after=0.0) const |
| std::string | to_string () const |
| void | scale (double position_scale, double time_scale) |
| Scale with the position and time of the input (only in Ruckig Pro) | |
| void | scale_boundary (double position_scale, double time_scale) |
| Scale with the position and time of the input (only in Ruckig Pro) | |
Public Attributes | |
| std::array< double, 7 > | t |
| std::array< double, 7 > | j |
| std::array< double, 8 > | a |
| std::array< double, 8 > | v |
| std::array< double, 8 > | p |
| BrakeProfile | brake |
| Brake sub-profiles. | |
| BrakeProfile | accel |
| double | duration |
| Duration of the profile. | |
| double | pf |
| Target (final) kinematic state. | |
| double | vf |
| double | af |
| enum ruckig::Profile::ReachedLimits | limits |
| enum ruckig::Profile::Direction | direction |
| enum ruckig::Profile::ControlSigns | control_signs |
| double | polynomial_root |
| Helper variable for faster calculation. | |
A single-dof kinematic profile with position, velocity, acceleration and jerk.
The class members are only available in the Ruckig Community Version.
|
strong |
|
inline |
|
inline |
|
inline |
Get the position extrema along the profile.
|
inline |
Get the velocity extrema along the profile.
Scale with the position and time of the input (only in Ruckig Pro)
Scale with the position and time of the input (only in Ruckig Pro)
|
inline |
|
inline |
|
inline |
| std::array<double, 8> ruckig::Profile::a |
| BrakeProfile ruckig::Profile::accel |
| double ruckig::Profile::af |
| BrakeProfile ruckig::Profile::brake |
Brake sub-profiles.
| enum ruckig::Profile::ControlSigns ruckig::Profile::control_signs |
| enum ruckig::Profile::Direction ruckig::Profile::direction |
| double ruckig::Profile::duration |
Duration of the profile.
| std::array<double, 7> ruckig::Profile::j |
| enum ruckig::Profile::ReachedLimits ruckig::Profile::limits |
| std::array<double, 8> ruckig::Profile::p |
| double ruckig::Profile::pf |
Target (final) kinematic state.
| double ruckig::Profile::polynomial_root |
Helper variable for faster calculation.
| std::array<double, 7> ruckig::Profile::t |
| std::array<double, 8> ruckig::Profile::v |
| double ruckig::Profile::vf |