|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Ruckig () |
|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Ruckig (double delta_time) |
|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Ruckig (double delta_time, size_t max_number_of_waypoints) |
|
template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| Ruckig (double delta_time, const MemoryRequirement &memory_requirement) |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Ruckig (size_t dofs) |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Ruckig (size_t dofs, double delta_time) |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Ruckig (size_t dofs, double delta_time, size_t max_number_of_waypoints) |
|
template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| Ruckig (size_t dofs, double delta_time, const MemoryRequirement &memory_requirement) |
|
void | reset () |
| Reset the instance (e.g. to force a new calculation in the next update)
|
|
std::vector< CustomVector< double, DOFs > > | filter_intermediate_positions (const InputParameter< DOFs, CustomVector > &input, const CustomVector< double, DOFs > &threshold_distance) const |
| Filter intermediate positions based on a threshold distance for each DoF.
|
|
template<bool throw_validation_error = true> |
bool | validate_input (const InputParameter< DOFs, CustomVector > &input, bool check_current_state_within_limits=false, bool check_target_state_within_limits=true) const |
| Validate the input as well as the Ruckig instance for trajectory calculation.
|
|
Result | calculate (const InputParameter< DOFs, CustomVector > &input, Trajectory< DOFs, CustomVector > &trajectory) |
| Calculate a new trajectory for the given input.
|
|
Result | calculate (const InputParameter< DOFs, CustomVector > &input, Trajectory< DOFs, CustomVector > &trajectory, bool &was_interrupted) |
| Calculate a new trajectory for the given input and check for interruption.
|
|
Result | update (const InputParameter< DOFs, CustomVector > &input, OutputParameter< DOFs, CustomVector > &output) |
| Get the next output state (with step delta_time) along the calculated trajectory for the given input.
|
|
Result | update (const Trajectory< DOFs, CustomVector > &trajectory, OutputParameter< DOFs, CustomVector > &output) |
| Move along the given trajectory with step delta_time, starting from the current output.time.
|
|
template<size_t DOFs = 0, template< class, size_t > class CustomVector = StandardVector, bool throw_error = false>
class ruckig::Ruckig< DOFs, CustomVector, throw_error >
Main interface for the Ruckig algorithm.
template<size_t DOFs = 0, template< class, size_t > class CustomVector = StandardVector, bool throw_error = false>
std::vector< CustomVector< double, DOFs > > ruckig::Ruckig< DOFs, CustomVector, throw_error >::filter_intermediate_positions |
( |
const InputParameter< DOFs, CustomVector > & | input, |
|
|
const CustomVector< double, DOFs > & | threshold_distance ) const |
|
inline |
Filter intermediate positions based on a threshold distance for each DoF.
This method removes intermediate positions from the input so that the linear interpolation between the waypoints does not exceed the threshold distance to the given positions. The threshold distance is given per degree of freedom.
template<size_t DOFs = 0, template< class, size_t > class CustomVector = StandardVector, bool throw_error = false>
Time step along the trajectory relative to the cycle time (only in Ruckig Pro)
This allows e.g. to slow down or pause the robot along a calculated trajectory. Usually in [0.0, 1.0], 1.0 by default.