13#include <armarx/navigation/global_planning/aron/AStarParams.aron.generated.h>
14#include <armarx/navigation/global_planning/aron/GlobalPlannerParams.aron.generated.h>
15#include <armarx/navigation/global_planning/aron/OrientationOptimizerParams.aron.generated.h>
16#include <armarx/navigation/global_planning/aron/Point2PointParams.aron.generated.h>
17#include <armarx/navigation/global_planning/aron/SPFAParams.aron.generated.h>
18#include <armarx/navigation/global_planning/aron/AStarWithOrientationParams.aron.generated.h>
26 ARMARX_ERROR <<
"Trying to convert GlobalPlannerParams. This is probably not what you want";
32 ARMARX_ERROR <<
"Trying to convert GlobalPlannerParams. This is probably not what you want";
93 template <
typename DtoT,
typename BoT>
95 toAron(std::optional<DtoT>& dto,
const std::optional<BoT>& bo)
109 toAron(arondto::OrientationOptimizerParams& dto,
127 template <
typename DtoT,
typename BoT>
129 fromAron(
const std::optional<DtoT>& dto, std::optional<BoT>& bo)
143 fromAron(
const arondto::OrientationOptimizerParams& dto,
167 dto.value = arondto::RotationDirection::ANY;
170 dto.value = arondto::RotationDirection::CLOCK_WISE;
173 dto.value = arondto::RotationDirection::COUNTER_CLOCK_WISE;
176 ARMARX_ERROR <<
"Error converting RotationDirection: switch-case not comprehensive!";
185 case arondto::rotation_direction_details::Enum::ANY:
188 case arondto::rotation_direction_details::Enum::CLOCK_WISE:
191 case arondto::rotation_direction_details::Enum::COUNTER_CLOCK_WISE:
195 ARMARX_ERROR <<
"Error converting RotationDirection: switch-case not comprehensive!";
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
void fromAron(const T &dto, T &bo)
void toAron(T &dto, const T &bo)
Framework for converting ARON DTOs (Data Transfer Objects) to C++ BOs (Business Objects) and back.
armarx::aron::data::DictPtr toAron(const Costmap &bo)
Costmap fromAron(const armem::wm::EntityInstance &entityInstance)
void toAron(arondto::GlobalPlannerParams &dto, const GlobalPlannerParams &bo)
void fromAron(const arondto::GlobalPlannerParams &dto, GlobalPlannerParams &bo)
Parameters for AStarWithOrientation.
Parameters for GlobalPlanner.
Parameters for Point2Point.
optimization::OrientationOptimizerParams optimizerParams
algorithms::spfa::ShortestPathFasterAlgorithm::Parameters algo
float smoothnessWeightStartGoal
float startGoalDistanceThreshold
float movementDirWeightEnd
float movementDirWeightStart
RotationDirection predefinedRotationDirection