LaserBasedProximity.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 "
SafetyController.h
"
26
27
namespace
armarx::navigation::safe_ctrl
28
{
29
30
struct
LaserBasedProximityParams
:
public
SafetyControllerParams
31
{
32
bool
includeStartPose
{
false
};
33
34
Algorithms
algorithm
()
const override
;
35
aron::data::DictPtr
toAron
()
const override
;
36
static
LaserBasedProximityParams
FromAron
(
const
aron::data::DictPtr
& dict);
37
};
38
39
class
LaserBasedProximity
:
virtual
public
SafetyController
40
{
41
public
:
42
using
Params
=
LaserBasedProximityParams
;
43
44
LaserBasedProximity
(
const
Params
&
params
,
const
core::Scene
& ctx);
45
~LaserBasedProximity
()
override
=
default
;
46
47
SafetyControllerResult
control
(
const
core::Twist
& twist)
override
;
48
49
protected
:
50
const
Params
params
;
51
52
private
:
53
};
54
}
// namespace armarx::navigation::safe_ctrl
armarx::navigation::safe_ctrl::LaserBasedProximity::control
SafetyControllerResult control(const core::Twist &twist) override
Definition:
LaserBasedProximity.cpp:32
armarx::navigation::safe_ctrl::SafetyControllerResult
Definition:
SafetyController.h:39
armarx::navigation::safe_ctrl::LaserBasedProximity::~LaserBasedProximity
~LaserBasedProximity() override=default
armarx::navigation::safe_ctrl::LaserBasedProximity
Definition:
LaserBasedProximity.h:39
armarx::navigation::core::Twist
Definition:
basic_types.h:53
armarx::navigation::safe_ctrl
This file is part of ArmarX.
Definition:
fwd.h:47
armarx::navigation::safe_ctrl::LaserBasedProximityParams::algorithm
Algorithms algorithm() const override
Definition:
LaserBasedProximity.cpp:9
armarx::navigation::safe_ctrl::LaserBasedProximityParams
Definition:
LaserBasedProximity.h:30
armarx::navigation::safe_ctrl::LaserBasedProximity::LaserBasedProximity
LaserBasedProximity(const Params ¶ms, const core::Scene &ctx)
Definition:
LaserBasedProximity.cpp:26
armarx::navigation::safe_ctrl::LaserBasedProximity::params
const Params params
Definition:
LaserBasedProximity.h:50
armarx::navigation::safe_ctrl::LaserBasedProximityParams::includeStartPose
bool includeStartPose
Definition:
LaserBasedProximity.h:32
armarx::navigation::safe_ctrl::SafetyControllerParams
Definition:
SafetyController.h:44
armarx::navigation::core::Scene
Definition:
types.h:71
armarx::navigation::safe_ctrl::Algorithms
Algorithms
Definition:
core.h:30
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition:
Dict.h:41
armarx::navigation::safe_ctrl::LaserBasedProximityParams::FromAron
static LaserBasedProximityParams FromAron(const aron::data::DictPtr &dict)
Definition:
LaserBasedProximity.cpp:21
armarx::navigation::safe_ctrl::SafetyController
Definition:
SafetyController.h:52
armarx::navigation::safe_ctrl::LaserBasedProximityParams::toAron
aron::data::DictPtr toAron() const override
Definition:
LaserBasedProximity.cpp:15
SafetyController.h
armarx
navigation
safety_control
LaserBasedProximity.h
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17