36 const algorithms::Toppra::DriveParams& drive)
38 switch (generalConfig.parametrization)
41 return std::make_shared<algorithms::NoParametrization>();
44 return std::make_shared<algorithms::Ramping>(generalConfig);
51 ARMARX_WARNING <<
"TOPP-RA parametrization was configured but is not "
54 <<
". Planning will fail when it is used.";
57 return std::make_shared<algorithms::Toppra>(generalConfig, drive);
62 return std::make_shared<algorithms::Ramping>(generalConfig);
static bool available()
Whether the python side was found at configure time. False means apply() throws.
static std::string unavailableReason()
Why it is unavailable, as recorded at configure time. Empty when available.
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
std::shared_ptr< TrajectoryParametrization > TrajectoryParametrizationPtr
@ Ramping
Ramp down at the start, the goal and every corner. The stack's historical behaviour.
@ None
Leave the planner's velocities alone.
@ Toppra
Time-optimal under per-motor torque and command-ramp limits.
This file is part of ArmarX.