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