|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Trajectory () |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Trajectory (size_t dofs) |
|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Trajectory (size_t max_number_of_waypoints) |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Trajectory (size_t dofs, size_t max_number_of_waypoints) |
|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Trajectory (const MemoryRequirement &memory_requirement) |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Trajectory (size_t dofs, const MemoryRequirement &memory_requirement) |
|
void | at_time (double time, CustomVector< double, DOFs > &new_position, CustomVector< double, DOFs > &new_velocity, CustomVector< double, DOFs > &new_acceleration, CustomVector< double, DOFs > &new_jerk, size_t &new_section) const |
| Get the kinematic state, the jerk, and the section at a given time.
|
|
void | at_time (double time, CustomVector< double, DOFs > &new_position, CustomVector< double, DOFs > &new_velocity, CustomVector< double, DOFs > &new_acceleration) const |
|
void | at_time (double time, CustomVector< double, DOFs > &new_position) const |
| Get the position at a given time.
|
|
template<size_t D = DOFs, typename std::enable_if<(D==1), int >::type = 0> |
void | at_time (double time, double &new_position, double &new_velocity, double &new_acceleration, double &new_jerk, size_t &new_section) const |
| Get the kinematic state, the jerk, and the section at a given time without vectors for a single DoF.
|
|
template<size_t D = DOFs, typename std::enable_if<(D==1), int >::type = 0> |
void | at_time (double time, double &new_position, double &new_velocity, double &new_acceleration) const |
| Get the kinematic state at a given time without vectors for a single DoF.
|
|
template<size_t D = DOFs, typename std::enable_if<(D==1), int >::type = 0> |
void | at_time (double time, double &new_position) const |
| Get the position at a given time without vectors for a single DoF.
|
|
Container< CustomVector< Profile, DOFs > >::type | get_profiles () const |
| Get the underlying profiles of the trajectory (only in the Ruckig Community Version)
|
|
double | get_duration () const |
| Get the total duration of the (synchronized) trajectory.
|
|
Container< double >::type | get_intermediate_durations () const |
| Get the durations when the intermediate waypoints are reached.
|
|
CustomVector< double, DOFs > | get_independent_min_durations () const |
| Get the duration of each independent DoF, without synchronization or discretization.
|
|
CustomVector< Bound, DOFs > | get_position_extrema () |
| Get the min/max values of the position for each DoF (only in Ruckig Pro)
|
|
CustomVector< Bound, DOFs > | get_velocity_extrema () |
| Get the min/max values of the velocity for each DoF (only in Ruckig Pro)
|
|
std::optional< double > | get_first_time_at_position (size_t dof, double position, double time_after=0.0) const |
| Get the time that this trajectory passes a specific position of a given DoF the first time.
|
|
std::optional< double > | get_first_time_at_velocity (size_t dof, double velocity, double time_after=0.0) const |
| Get the time that this trajectory passes a specific velocity of a given DoF the first time.
|
|
void | scale (double position_scale, double time_scale) |
| Scale with the position and time of the trajectory (only in Ruckig Pro)
|
|
void | append (const Trajectory< DOFs > &other) |
| Append another trajectory to this one (only in Ruckig Pro)
|
|
template<size_t DOFs, template< class, size_t > class CustomVector = StandardVector>
class ruckig::Trajectory< DOFs, CustomVector >
The trajectory generated by the Ruckig algorithm.