|
| double | optimize_dt_for_time_difference (const TargetState< DOFs, CustomVector > &target_state, InputParameter< DOFs, CustomVector > &input) |
| template<size_t D = DOFs, typename std::enable_if<(D >=1), int >::type = 0> |
| | Trackig (double delta_time) |
| template<size_t D = DOFs, typename std::enable_if<(D==0), int >::type = 0> |
| | Trackig (size_t dofs, double delta_time) |
| void | reset () |
| | Reset the instance (e.g. to force a new calculation in the next update).
|
| Result | update (const TargetState< DOFs, CustomVector > &target_state, InputParameter< DOFs, CustomVector > &input, OutputParameter< DOFs, CustomVector > &output) |
| | Follow the given target state online.
|
| std::vector< OutputParameter< DOFs, CustomVector > > | calculate_trajectory (const std::vector< TargetState< DOFs, CustomVector > > &trajectory, InputParameter< DOFs, CustomVector > &input) |
| | Follow the fully-known trajectory in an offline manner.
|
|
| TargetCalculator< DOFs, CustomVector > | calculator |
| | Calculator for new trajectories.
|
| const size_t | degrees_of_freedom |
| | Degrees of freedom.
|
| const double | delta_time |
| | Time step between updates (cycle time).
|
| TrackigMode | mode |
| | Different modes of the trackig algorithm, e.g. for optimized or fast mode.
|
| double | reactiveness |
| | Weight for the reactiveness of the resulting trajectory, in [0.0, 1.0].
|
| size_t | look_ahead_cycles |
| | Number of cycles to look ahead at the initial solution of the optimization.
|
| size_t | max_iterations |
| | Maximum number of iterations for the optimization.
|
| size_t | last_iterations_counter |
| | Number of iterations used during the last optimization step.
|
| std::function< TargetState< DOFs, CustomVector >(double, const TargetState< DOFs, CustomVector > &, bool &)> | prediction_model |
| | The model for predicting the kinematic state into the future, the default is integration with constant acceleration.
|
template<size_t DOFs = 0, template< class, size_t > class CustomVector = StandardVector>
class ruckig::Trackig< DOFs, CustomVector >
The main interface for the Trackig algorithm.
template<size_t DOFs = 0, template< class, size_t > class CustomVector = StandardVector>
Weight for the reactiveness of the resulting trajectory, in [0.0, 1.0].
This time parameter scales the time parameter of (a) the target state prediction and (b) the generated trajectory of the follower. A lower parameter results in a more conservative target state prediction and a smoother overall motion. At zero, Trackig converges into regular trajectory generation as there is no target state prediction anymore.