3#include <RobotAPI/interface/aron/Aron.h>
8#include <armarx/navigation/core/aron/GeneralConfig.aron.generated.h>
17 switch (parametrization)
33 arondto::GeneralConfig dto;
52 if (not dict->hasElement(
"parametrization"))
56 std::make_shared<aron::data::Int>(arondto::TrajectoryParametrization::EnumToValueMap.at(
57 arondto::TrajectoryParametrization::RAMPING)));
60 arondto::GeneralConfig dto;
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
std::shared_ptr< Dict > DictPtr
This file is part of ArmarX.
TrajectoryParametrization
How the velocities along a planned path are assigned.
@ 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.
std::string ToString(const TrajectoryParametrization parametrization)
The lowercase name used in configs, logs and the analysis application's results.
void toAron(arondto::GlobalTrajectoryPoint &dto, const GlobalTrajectoryPoint &bo)
void fromAron(const arondto::GlobalTrajectoryPoint &dto, GlobalTrajectoryPoint &bo)
virtual aron::data::DictPtr toAron() const
static GeneralConfig FromAron(const aron::data::DictPtr &dict)