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 <
armarx/navigation/trajectory_control/global/TrajectoryController.h
>
26
27
namespace
armarx::navigation::traj_ctrl::global
28
{
29
30
struct
WaypointControllerParams
:
public
TrajectoryControllerParams
31
{
32
Algorithms
algorithm
()
const override
;
33
aron::data::DictPtr
toAron
()
const override
;
34
static
WaypointControllerParams
FromAron
(
const
aron::data::DictPtr
& dict);
35
};
36
37
class
WaypointController
:
virtual
public
TrajectoryController
38
{
39
public
:
40
using
Params
=
WaypointControllerParams
;
41
42
WaypointController
(
const
Params
& params);
43
~WaypointController
()
override
=
default
;
44
45
TrajectoryControllerResult
control
(
const
core::GlobalTrajectory
& goal,
const
core::Pose
& global_T_robot)
override
;
46
47
protected
:
48
private
:
49
const
Params
params;
50
};
51
using
WaypointControllerPtr
= std::shared_ptr<WaypointController>;
52
53
}
// namespace armarx::navigation::traj_ctrl::global
armarx::navigation::core::GlobalTrajectory
Definition:
Trajectory.h:68
armarx::navigation::traj_ctrl::global::TrajectoryControllerResult
Definition:
TrajectoryController.h:44
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:13
armarx::navigation::traj_ctrl::global::WaypointController
Definition:
WaypointController.h:37
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::WaypointControllerPtr
std::shared_ptr< WaypointController > WaypointControllerPtr
Definition:
WaypointController.h:51
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::navigation::traj_ctrl::global::TrajectoryControllerParams
Definition:
TrajectoryController.h:55
armarx::navigation::traj_ctrl::global::TrajectoryController
Definition:
TrajectoryController.h:68
armarx
navigation
trajectory_control
global
WaypointController.h
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17