Ruckig 0.15.0
Motion Generation for Robots and Machines
|
The main interface for the Trackig algorithm. More...
#include <trackig.hpp>
Public Member Functions | |
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) | |
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. | |
Public Attributes | |
Calculator< 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 |
Parameter to tune the plan-ahead time of the controller, in [0.0, 1.0]. | |
size_t | look_ahead_cycles |
Parameter to tune how many cycle to look a head (for calculating trajectories) | |
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 >(const TargetState< DOFs, CustomVector > &, double)> | prediction_model |
The model for predicting the kinematic state into the future, the default is integration with constant acceleration. | |
The main interface for the Trackig algorithm.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Follow the fully-known trajectory in an offline manner.
|
inline |
Follow the given target state online.
Calculator<DOFs, CustomVector> ruckig::Trackig< DOFs, CustomVector >::calculator |
Calculator for new trajectories.
const size_t ruckig::Trackig< DOFs, CustomVector >::degrees_of_freedom |
Degrees of freedom.
const double ruckig::Trackig< DOFs, CustomVector >::delta_time |
Time step between updates (cycle time)
size_t ruckig::Trackig< DOFs, CustomVector >::last_iterations_counter |
Number of iterations used during the last optimization step.
size_t ruckig::Trackig< DOFs, CustomVector >::look_ahead_cycles |
Parameter to tune how many cycle to look a head (for calculating trajectories)
size_t ruckig::Trackig< DOFs, CustomVector >::max_iterations |
Maximum number of iterations for the optimization.
TrackigMode ruckig::Trackig< DOFs, CustomVector >::mode |
Different modes of the trackig algorithm, e.g. for optimized or fast mode.
std::function<TargetState<DOFs, CustomVector>(const TargetState<DOFs, CustomVector>&, double)> ruckig::Trackig< DOFs, CustomVector >::prediction_model |
The model for predicting the kinematic state into the future, the default is integration with constant acceleration.
double ruckig::Trackig< DOFs, CustomVector >::reactiveness |
Parameter to tune the plan-ahead time of the controller, in [0.0, 1.0].