WaypointController.cpp
Go to the documentation of this file.
1
#include "
WaypointController.h
"
2
3
#include <
armarx/navigation/trajectory_control/global/TrajectoryController.h
>
4
#include <armarx/navigation/trajectory_control/global/aron/WaypointControllerParams.aron.generated.h>
5
#include <
armarx/navigation/trajectory_control/global/aron_conversions.h
>
6
#include <
armarx/navigation/trajectory_control/global/core.h
>
7
8
namespace
armarx::navigation::traj_ctrl::global
9
{
10
// WaypointControllerParams
11
12
Algorithms
13
WaypointControllerParams::algorithm
()
const
14
{
15
return
Algorithms::WaypointController
;
16
}
17
18
aron::data::DictPtr
19
WaypointControllerParams::toAron
()
const
20
{
21
arondto::WaypointControllerParams dto;
22
23
WaypointControllerParams
bo
;
24
armarx::navigation::traj_ctrl::global::toAron
(dto,
bo
);
25
26
return
dto.toAron();
27
}
28
29
WaypointControllerParams
30
WaypointControllerParams::FromAron
(
const
aron::data::DictPtr
& dict)
31
{
32
arondto::WaypointControllerParams dto;
33
dto.fromAron(dict);
34
35
WaypointControllerParams
bo
;
36
armarx::navigation::traj_ctrl::global::fromAron
(dto,
bo
);
37
38
return
bo
;
39
}
40
41
// WaypointController
42
43
WaypointController::WaypointController
(
const
Params
& params) : params(params)
44
{
45
}
46
47
TrajectoryControllerResult
48
WaypointController::control
(
const
core::GlobalTrajectory
& goal,
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 ¶ms)
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
armarx
navigation
trajectory_control
global
WaypointController.cpp
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17