WaypointController.cpp
Go to the documentation of this file.
1 #include "WaypointController.h"
2 
4 
6 #include <armarx/navigation/trajectory_control/global/aron/WaypointControllerParams.aron.generated.h>
9 
11 {
12  // WaypointControllerParams
13 
16  {
18  }
19 
22  {
23  arondto::WaypointControllerParams dto;
24 
27 
28  return dto.toAron();
29  }
30 
33  {
34  arondto::WaypointControllerParams dto;
35  dto.fromAron(dict);
36 
39 
40  return bo;
41  }
42 
43  // WaypointController
44 
45  WaypointController::WaypointController(const Params& params) : params(params)
46  {
47  }
48 
51  const core::Pose& global_T_robot)
52  {
53  return {}; // TODO implement
54  }
55 } // namespace armarx::navigation::traj_ctrl::global
armarx::navigation::core::GlobalTrajectory
Definition: Trajectory.h:70
aron_conversions.h
armarx::navigation::traj_ctrl::global::TrajectoryControllerResult
Definition: TrajectoryController.h:40
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
armarx::navigation::traj_ctrl::global::WaypointControllerParams::algorithm
Algorithms algorithm() const override
Definition: WaypointController.cpp:15
armarx::navigation::traj_ctrl::global::fromAron
void fromAron(const arondto::TrajectoryControllerParams &dto, TrajectoryControllerParams &bo)
Definition: aron_conversions.cpp:21
armarx::navigation::traj_ctrl::global::WaypointControllerParams::toAron
aron::data::DictPtr toAron() const override
Definition: WaypointController.cpp:21
armarx::navigation::traj_ctrl::global::WaypointController::control
TrajectoryControllerResult control(const core::GlobalTrajectory &goal, const core::Pose &global_T_robot) override
Definition: WaypointController.cpp:50
armarx::navigation::traj_ctrl::global::Algorithms
Algorithms
Definition: core.h:30
armarx::navigation::traj_ctrl::global::WaypointController::WaypointController
WaypointController(const Params &params)
Definition: WaypointController.cpp:45
TrajectoryController.h
armarx::navigation::traj_ctrl::global::Algorithms::WaypointController
@ WaypointController
core.h
WaypointController.h
forward_declarations.h
armarx::navigation::traj_ctrl::global::toAron
void toAron(arondto::TrajectoryControllerParams &dto, const TrajectoryControllerParams &bo)
Definition: aron_conversions.cpp:15
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::navigation::traj_ctrl::global::WaypointControllerParams
Definition: WaypointController.h:37
armarx::navigation::traj_ctrl::global::WaypointControllerParams::FromAron
static WaypointControllerParams FromAron(const aron::data::DictPtr &dict)
Definition: WaypointController.cpp:32
armarx::navigation::traj_ctrl::global
This file is part of ArmarX.
Definition: aron_conversions.cpp:11
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:174