24 #include <type_traits>
32 #include <armarx/control/common/control_law/aron/TaskspaceImpedanceControllerConfig.aron.generated.h>
33 #include <armarx/control/common/control_law/aron/TaskspaceAdmittanceControllerConfig.aron.generated.h>
34 #include <armarx/control/common/control_law/aron/KeypointControllerConfig.aron.generated.h>
35 #include <armarx/control/common/mp/aron/MPConfig.aron.generated.h>
36 #include <armarx/control/common/ft/aron/FTConfig.aron.generated.h>
40 template <
typename AronType,
typename T>
46 "AronType must be an ARON generated type");
48 const auto dtoConfig = AronType::FromAron(dto);
61 void fromAron(
const arondto::FTConfig& dto,
62 FTSensor::FTConfig&
bo);
71 void fromAron(
const arondto::TaskspaceImpedanceControllerConfig& dto,
72 TaskspaceImpedanceController::Config&
bo);
74 void fromAron(
const arondto::TaskspaceAdmittanceControllerConfig& dto,
75 TaskspaceAdmittanceController::Config&
bo);
77 void fromAron(
const arondto::KeypointControllerConfig& dto,
78 KeypointsImpedanceController::Config&
bo);
85 MP::ListViaPoint
fromAron(
const arondto::ListViaPoint& dto);
86 MP::DictViaPoint
fromAron(
const arondto::DictViaPoint& dto);
87 void fromAron(
const arondto::ListViaPoint &dto, MP::ListViaPoint &
bo);
88 void fromAron(
const arondto::DictViaPoint &dto, MP::DictViaPoint &
bo);
89 void fromAron(
const arondto::MPConfig& dto, MP::MPConfig&
bo);
90 void fromAron(
const arondto::MPListConfig &dto, MP::MPListConfig &
bo);