WaypointController.cpp
Go to the documentation of this file.
1 #include "WaypointController.h"
2 
4 #include <armarx/navigation/trajectory_control/global/aron/WaypointControllerParams.aron.generated.h>
7 
9 {
10  // WaypointControllerParams
11 
14  {
16  }
17 
20  {
21  arondto::WaypointControllerParams dto;
22 
25 
26  return dto.toAron();
27  }
28 
31  {
32  arondto::WaypointControllerParams dto;
33  dto.fromAron(dict);
34 
37 
38  return bo;
39  }
40 
41  // WaypointController
42 
43  WaypointController::WaypointController(const Params& params) : params(params)
44  {
45  }
46 
49  const core::Pose& global_T_robot)
50  {
51  return {}; // TODO implement
52  }
53 } // namespace armarx::navigation::traj_ctrl::global
armarx::navigation::core::GlobalTrajectory
Definition: Trajectory.h:68
aron_conversions.h
armarx::navigation::traj_ctrl::global::TrajectoryControllerResult
Definition: TrajectoryController.h:44
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:13
armarx::navigation::traj_ctrl::global::fromAron
void fromAron(const arondto::TrajectoryControllerParams &dto, TrajectoryControllerParams &bo)
Definition: aron_conversions.cpp:26
armarx::navigation::traj_ctrl::global::WaypointControllerParams::toAron
aron::data::DictPtr toAron() const override
Definition: WaypointController.cpp:19
armarx::navigation::traj_ctrl::global::WaypointController::control
TrajectoryControllerResult control(const core::GlobalTrajectory &goal, const core::Pose &global_T_robot) override
Definition: WaypointController.cpp:48
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:43
TrajectoryController.h
armarx::navigation::traj_ctrl::global::Algorithms::WaypointController
@ WaypointController
core.h
WaypointController.h
armarx::navigation::traj_ctrl::global::toAron
void toAron(arondto::TrajectoryControllerParams &dto, const TrajectoryControllerParams &bo)
Definition: aron_conversions.cpp:20
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::navigation::traj_ctrl::global::WaypointControllerParams
Definition: WaypointController.h:30
armarx::navigation::traj_ctrl::global::WaypointControllerParams::FromAron
static WaypointControllerParams FromAron(const aron::data::DictPtr &dict)
Definition: WaypointController.cpp:30
armarx::navigation::traj_ctrl::global
This file is part of ArmarX.
Definition: aron_conversions.cpp:16
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:168