7 #include <armarx/navigation/core/aron/Events.aron.generated.h>
8 #include <armarx/navigation/core/aron/PIDParams.aron.generated.h>
9 #include <armarx/navigation/core/aron/Trajectory.aron.generated.h>
10 #include <armarx/navigation/core/aron/Twist.aron.generated.h>
11 #include <armarx/navigation/core/aron/TwistLimits.aron.generated.h>
16 #include <range/v3/range/conversion.hpp>
17 #include <range/v3/view/transform.hpp>
26 dto.pose =
bo.waypoint.pose.matrix();
27 dto.velocity =
bo.velocity;
34 bo.velocity = dto.velocity;
40 dto.points =
bo.points() |
44 arondto::GlobalTrajectoryPoint dtoTp;
70 dto.pose =
bo.pose.matrix();
71 dto.timestamp =
bo.timestamp;
78 bo.timestamp = dto.timestamp;
84 dto.points =
bo.points() |
88 arondto::LocalTrajectoryPoint dtoTp;
114 dto.linear =
bo.linear;
115 dto.angular =
bo.angular;
121 bo.linear = dto.linear;
122 bo.angular = dto.angular;
126 toAron(armarx::navigation::core::arondto::PIDParams& dto,
135 fromAron(
const armarx::navigation::core::arondto::PIDParams& dto,
144 toAron(armarx::navigation::core::arondto::TwistLimits& dto,
152 fromAron(
const armarx::navigation::core::arondto::TwistLimits& dto,
160 toAron(armarx::navigation::core::arondto::GoalReachedEvent& dto,
167 fromAron(
const armarx::navigation::core::arondto::GoalReachedEvent& dto,
174 fromAron(
const armarx::navigation::core::arondto::GlobalPlanningFailedEvent& dto,
181 toAron(armarx::navigation::core::arondto::GlobalPlanningFailedEvent& dto,
188 toAron(armarx::navigation::core::arondto::MovementStartedEvent& dto,
195 fromAron(
const armarx::navigation::core::arondto::MovementStartedEvent& dto,
202 toAron(armarx::navigation::core::arondto::WaypointReachedEvent& dto,
210 fromAron(
const armarx::navigation::core::arondto::WaypointReachedEvent& dto,
218 toAron(armarx::navigation::core::arondto::InternalErrorEvent& dto,
226 fromAron(
const armarx::navigation::core::arondto::InternalErrorEvent& dto,
234 toAron(armarx::navigation::core::arondto::UserAbortTriggeredEvent& dto,
241 fromAron(
const armarx::navigation::core::arondto::UserAbortTriggeredEvent& dto,
248 toAron(armarx::navigation::core::arondto::SafetyThrottlingTriggeredEvent& dto,
256 fromAron(
const armarx::navigation::core::arondto::SafetyThrottlingTriggeredEvent& dto,
264 toAron(armarx::navigation::core::arondto::SafetyStopTriggeredEvent& dto,
271 fromAron(
const armarx::navigation::core::arondto::SafetyStopTriggeredEvent& dto,
278 fromAron(
const armarx::navigation::core::arondto::LocalPlanningFailedEvent& dto,
285 toAron(armarx::navigation::core::arondto::LocalPlanningFailedEvent& dto,
292 toAron(armarx::navigation::core::arondto::GlobalTrajectoryUpdatedEvent& dto,
295 toAron(dto.trajectory,
bo.trajectory);
299 fromAron(
const armarx::navigation::core::arondto::GlobalTrajectoryUpdatedEvent& dto,
306 toAron(armarx::navigation::core::arondto::LocalTrajectoryUpdatedEvent& dto,
309 toAron(dto.trajectory,
bo.trajectory);
313 fromAron(
const armarx::navigation::core::arondto::LocalTrajectoryUpdatedEvent& dto,