WaypointController.h
Go to the documentation of this file.
1
/**
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @author Fabian Reister ( fabian dot reister at kit dot edu )
17
* @author Christian R. G. Dreher ( c dot dreher at kit dot edu )
18
* @date 2021
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <memory>
26
27
#include <
RobotAPI/libraries/aron/core/data/variant/forward_declarations.h
>
28
29
#include <
armarx/navigation/core/Trajectory.h
>
30
#include <
armarx/navigation/core/basic_types.h
>
31
#include <
armarx/navigation/trajectory_control/global/TrajectoryController.h
>
32
#include <
armarx/navigation/trajectory_control/global/core.h
>
33
34
namespace
armarx::navigation::traj_ctrl::global
35
{
36
37
struct
WaypointControllerParams
:
public
TrajectoryControllerParams
38
{
39
Algorithms
algorithm
()
const override
;
40
aron::data::DictPtr
toAron
()
const override
;
41
static
WaypointControllerParams
FromAron
(
const
aron::data::DictPtr
& dict);
42
};
43
44
class
WaypointController
:
virtual
public
TrajectoryController
45
{
46
public
:
47
using
Params
=
WaypointControllerParams
;
48
49
WaypointController
(
const
Params
& params);
50
~WaypointController
()
override
=
default
;
51
52
TrajectoryControllerResult
control
(
const
core::GlobalTrajectory
& goal,
53
const
core::Pose
& global_T_robot)
override
;
54
55
protected
:
56
private
:
57
const
Params
params;
58
};
59
60
using
WaypointControllerPtr
= std::shared_ptr<WaypointController>;
61
62
}
// namespace armarx::navigation::traj_ctrl::global
armarx::navigation::core::GlobalTrajectory
Definition:
Trajectory.h:70
armarx::navigation::traj_ctrl::global::TrajectoryControllerResult
Definition:
TrajectoryController.h:40
armarx::navigation::traj_ctrl::global::WaypointController::~WaypointController
~WaypointController() override=default
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
basic_types.h
armarx::navigation::traj_ctrl::global::WaypointController
Definition:
WaypointController.h:44
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
core.h
forward_declarations.h
armarx::navigation::traj_ctrl::global::WaypointControllerPtr
std::shared_ptr< WaypointController > WaypointControllerPtr
Definition:
WaypointController.h:60
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
Trajectory.h
armarx::navigation::traj_ctrl::global
This file is part of ArmarX.
Definition:
aron_conversions.cpp:11
armarx::navigation::traj_ctrl::global::TrajectoryControllerParams
Definition:
TrajectoryController.h:51
armarx::navigation::traj_ctrl::global::TrajectoryController
Definition:
TrajectoryController.h:65
armarx
navigation
trajectory_control
global
WaypointController.h
Generated on Sat Mar 29 2025 09:17:33 for armarx_documentation by
1.8.17