PathBuilder.cpp
Go to the documentation of this file.
1#include "PathBuilder.h"
2
3#include <string>
4
8
10{
12 PathBuilder::add(const std::string& locationId,
13 const GlobalPlanningStrategy& strategy,
14 const Config& config)
15 {
16
17 waypoints.push_back(WaypointTarget{.locationId = locationId, .strategy = strategy});
18
19 return *this;
20 }
21
24 const GlobalPlanningStrategy& strategy,
25 const Config& config)
26 {
27
28 waypoints.push_back(WaypointTarget{.pose = pose, .strategy = strategy});
29
30
31 return *this;
32 }
33
34 const WaypointTargets&
36 {
37 return waypoints;
38 }
39
40} // namespace armarx::navigation::client
const WaypointTargets & path() const
PathBuilder & add(const std::string &locationId, const GlobalPlanningStrategy &strategy=GlobalPlanningStrategy::Free, const Config &config=Config())
This file is part of ArmarX.
std::vector< WaypointTarget > WaypointTargets
Eigen::Isometry3f Pose
Definition basic_types.h:31