Go to the documentation of this file.
36 #include <armarx/navigation/core/aron/Graph.aron.generated.h>
39 #include <SemanticObjectRelations/RelationGraph/RelationGraph.h>
46 armarx::navigation::core::arondto::Vertex
aron;
58 std::optional<FramedPose> _pose;
63 armarx::navigation::core::arondto::Edge
aron;
80 std::optional<core::GlobalTrajectory>
trajectory = std::nullopt;
102 std::string
strEdge(ConstEdge edge)
const override;
108 std::vector<GraphPath>
findPathsTo(Graph::ConstVertex vertex,
const Graph& graph);
112 bool hasVertex(
const std::string& vertexName,
const Graph& graph);
123 template <
class MemoryContainerT>
128 fromAron(vertex.attrib().aron.locationID, locationID);
130 if (
const auto* instance = locationContainer.findLatestInstance(locationID))
139 template <
class MemoryContainerT>
143 for (
auto vertex : graph.vertices())
void resolveLocations(Graph &graph, const MemoryContainerT &locationContainer)
void resolveLocation(Graph::Vertex &vertex, const aron::data::DictPtr &locationData)
Pose requireGlobal() const
void fromAron(const arondto::GlobalTrajectoryPoint &dto, GlobalTrajectoryPoint &bo)
std::string getName() const
const float & cost() const
std::vector< Graph > Graphs
This file is part of ArmarX.
void toAron(arondto::GlobalTrajectoryPoint &dto, const GlobalTrajectoryPoint &bo)
bool hasVertex(const std::string &vertexName, const Graph &graph)
std::string strEdge(ConstEdge edge) const override
Get a string representation of the given vertex for usage in str().
client::GlobalPlanningStrategy strategy
std::vector< GraphPath > findPathsTo(Graph::ConstVertex vertex, const Graph &graph)
boost::subgraph< CloudGraph > Graph
FramedPose getPose() const
armarx::navigation::core::arondto::Edge aron
std::shared_ptr< Dict > DictPtr
std::vector< Graph::ConstVertex > GraphPath
armarx::navigation::core::arondto::Vertex aron
void setPose(const FramedPose &pose)
const std::optional< BoT > & bo
std::optional< core::GlobalTrajectory > trajectory
const core::Graph & getSubgraph(const std::string &vertexName, const Graphs &graphs)
Graph::ConstVertex getVertexByName(const std::string &vertexName, const Graph &graph)