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 |
| void | scale (double position_scale, double time_scale) |
| Scale with the position and time of the input (only in Ruckig Pro) | |
| std::string | to_string () const |
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 |
| bool ruckig::Profile::get_first_state_at_position | ( | double | pt, |
| double & | time, | ||
| double | time_after = 0.0 |
||
| ) | const |
| bool ruckig::Profile::get_first_state_at_velocity | ( | double | vt, |
| double & | time, | ||
| double | time_after = 0.0 |
||
| ) | const |
| Bound ruckig::Profile::get_position_extrema | ( | ) | const |
Get the position extrema along the profile.
| Bound ruckig::Profile::get_velocity_extrema | ( | ) | const |
Get the velocity extrema along the profile.
Scale with the position and time of the input (only in Ruckig Pro)
| void ruckig::Profile::set_boundary | ( | double | p0_new, |
| double | v0_new, | ||
| double | a0_new, | ||
| double | pf_new, | ||
| double | vf_new, | ||
| double | af_new | ||
| ) |
| void ruckig::Profile::set_boundary_for_velocity | ( | double | p0_new, |
| double | v0_new, | ||
| double | a0_new, | ||
| double | vf_new, | ||
| double | af_new | ||
| ) |
| std::string ruckig::Profile::to_string | ( | ) | const |
| 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 |