PathBuilder.cpp
Go to the documentation of this file.
1
#include "
PathBuilder.h
"
2
3
#include <
armarx/navigation/client/ice_conversions.h
>
4
5
namespace
armarx::navigation::client
6
{
7
PathBuilder&
8
PathBuilder::add
(
const
std::string& locationId,
9
const
GlobalPlanningStrategy
& strategy,
10
const
Config
& config)
11
{
12
13
waypoints.push_back(
WaypointTarget
{.
locationId
= locationId, .strategy = strategy});
14
15
return
*
this
;
16
}
17
18
PathBuilder
&
19
PathBuilder::add
(
const
core::Pose
& pose,
20
const
GlobalPlanningStrategy
& strategy,
21
const
Config
& config)
22
{
23
24
waypoints.push_back(
WaypointTarget
{.
pose
= pose, .strategy = strategy});
25
26
27
return
*
this
;
28
}
29
30
31
const
WaypointTargets
&
32
PathBuilder::path
()
const
33
{
34
return
waypoints;
35
}
36
37
}
// namespace armarx::navigation::client
ice_conversions.h
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition:
basic_types.h:31
armarx::navigation::client::PathBuilder
Definition:
PathBuilder.h:41
armarx::navigation::client
This file is part of ArmarX.
Definition:
ComponentPlugin.cpp:20
armarx::navigation::client::WaypointTarget::pose
std::optional< core::Pose > pose
Definition:
ice_conversions.h:41
armarx::navigation::client::WaypointTarget::locationId
std::optional< std::string > locationId
Definition:
ice_conversions.h:40
PathBuilder.h
armarx::navigation::client::WaypointTarget
Definition:
ice_conversions.h:38
armarx::navigation::client::PathBuilder::add
PathBuilder & add(const std::string &locationId, const GlobalPlanningStrategy &strategy=GlobalPlanningStrategy::Free, const Config &config=Config())
Definition:
PathBuilder.cpp:8
armarx::navigation::client::Config
Definition:
PathBuilder.h:35
armarx::navigation::client::GlobalPlanningStrategy
GlobalPlanningStrategy
Definition:
types.h:27
armarx::navigation::client::PathBuilder::path
const WaypointTargets & path() const
Definition:
PathBuilder.cpp:32
armarx::navigation::client::WaypointTargets
std::vector< WaypointTarget > WaypointTargets
Definition:
ice_conversions.h:81
armarx
navigation
client
PathBuilder.cpp
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17