RoomNavigationTargetCreator.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
* @date 2023
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
#include <
armarx/navigation/algorithms/Costmap.h
>
25
#include <
armarx/navigation/core/basic_types.h
>
26
#include <
armarx/navigation/rooms/types.h
>
27
28
namespace
armarx::viz
29
{
30
class
Client
;
31
}
32
33
namespace
armarx::navigation::rooms
34
{
35
36
class
RoomNavigationTargetCreator
37
{
38
public
:
39
struct
Params
40
{
41
float
distanceToRoomEntry
= 1000;
42
};
43
RoomNavigationTargetCreator
(
const
Params
& params);
44
45
struct
Result
46
{
47
core::Position
global_P_roomEntry
;
48
core::Position
global_P_robot
;
// where the robot should be placed
49
};
50
51
Result
getClosestPositionOutsideOfRoom
(
const
algorithms::Costmap
& obstacleDistancesCostmap,
52
const
Room
& room,
53
const
core::Position
& global_P_robot,
54
viz::Client
* arviz =
nullptr
)
const
;
55
56
protected
:
57
private
:
58
const
Params
params;
59
};
60
}
// namespace armarx::navigation::rooms
basic_types.h
Costmap.h
armarx::navigation::rooms::RoomNavigationTargetCreator::Params::distanceToRoomEntry
float distanceToRoomEntry
Definition:
RoomNavigationTargetCreator.h:41
armarx::navigation::rooms::RoomNavigationTargetCreator::getClosestPositionOutsideOfRoom
Result getClosestPositionOutsideOfRoom(const algorithms::Costmap &obstacleDistancesCostmap, const Room &room, const core::Position &global_P_robot, viz::Client *arviz=nullptr) const
Definition:
RoomNavigationTargetCreator.cpp:24
armarx::navigation::rooms::RoomNavigationTargetCreator::Params
Definition:
RoomNavigationTargetCreator.h:39
armarx::navigation::rooms::RoomNavigationTargetCreator::Result
Definition:
RoomNavigationTargetCreator.h:45
armarx::navigation::rooms
This file is part of ArmarX.
Definition:
aron_conversions.cpp:5
armarx::navigation::rooms::RoomNavigationTargetCreator
Definition:
RoomNavigationTargetCreator.h:36
armarx::navigation::rooms::RoomNavigationTargetCreator::Result::global_P_robot
core::Position global_P_robot
Definition:
RoomNavigationTargetCreator.h:48
types.h
armarx::navigation::rooms::RoomNavigationTargetCreator::RoomNavigationTargetCreator
RoomNavigationTargetCreator(const Params ¶ms)
Definition:
RoomNavigationTargetCreator.cpp:19
Client
Definition:
Admin.cpp:25
armarx::navigation::core::Position
Eigen::Vector3f Position
Definition:
basic_types.h:36
armarx::viz::Client
Definition:
Client.h:109
armarx::navigation::rooms::Room
Definition:
types.h:31
armarx::navigation::rooms::RoomNavigationTargetCreator::Result::global_P_roomEntry
core::Position global_P_roomEntry
Definition:
RoomNavigationTargetCreator.h:47
armarx::viz
This file is part of ArmarX.
Definition:
ArVizStorage.cpp:416
armarx::navigation::algorithms::Costmap
Definition:
Costmap.h:13
armarx
navigation
rooms
RoomNavigationTargetCreator.h
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17