Go to the documentation of this file.
26 #include <boost/graph/properties.hpp>
34 #include <armarx/navigation/core/aron/Graph.aron.generated.h>
38 #include <SemanticObjectRelations/RelationGraph/RelationGraph.h>
45 armarx::navigation::core::arondto::Vertex
aron;
57 std::optional<FramedPose> _pose;
62 armarx::navigation::core::arondto::Edge
aron;
79 std::optional<core::GlobalTrajectory>
trajectory = std::nullopt;
101 std::string
strEdge(ConstEdge edge)
const override;
107 std::vector<GraphPath>
findPathsTo(Graph::ConstVertex vertex,
const Graph& graph);
111 bool hasVertex(
const std::string& vertexName,
const Graph& graph);
122 template <
class MemoryContainerT>
127 fromAron(vertex.attrib().aron.locationID, locationID);
129 if (
const auto* instance = locationContainer.findLatestInstance(locationID))
138 template <
class MemoryContainerT>
142 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)