PlannerDataStorage.cpp
41 static const boost::uint32_t OMPL_PLANNER_DATA_CONTROL_ARCHIVE_MARKER = 0x5044434D; // this spells PDCM
124 void ompl::control::PlannerDataStorage::store(const base::PlannerData &pd, const char *filename)
134 OMPL_WARN("Failed to cast PlannerData to control::PlannerData. Invoking base::PlannerDataStorage::store");
Object containing planner generated vertex and edge data. It is assumed that all vertices are unique...
Definition: PlannerData.h:164
Object that handles loading/storing a PlannerData object to/from a binary stream. Serialization of ve...
Definition: PlannerDataStorage.h:52
virtual bool hasControls() const
Indicate whether any information about controls (ompl::control::Control) is stored in this instance...
Definition: PlannerData.cpp:800
const SpaceInformationPtr & getSpaceInformation() const
Return the instance of SpaceInformation used in this PlannerData.
Definition: PlannerData.cpp:137
Object containing planner generated vertex and edge data. It is assumed that all vertices are unique...
Definition: PlannerData.h:111
virtual void store(const base::PlannerData &pd, const char *filename)
Store (serialize) the structure to the given filename. The StateSpace and ControlSpace that was used ...
Definition: PlannerDataStorage.cpp:124
virtual void load(const char *filename, PlannerData &pd)
Load the PlannerData structure from the given stream. The StateSpace that was used to store the data ...
Definition: PlannerDataStorage.cpp:91
unsigned int numEdges() const
Retrieve the number of edges in this structure.
Definition: PlannerData.cpp:208
unsigned int numVertices() const
Retrieve the number of vertices in this structure.
Definition: PlannerData.cpp:203
A boost shared pointer wrapper for ompl::control::SpaceInformation.
Information stored at the beginning of the PlannerData archive.
Definition: PlannerDataStorage.h:106
std::size_t vertex_count
Number of vertices stored in the archive.
Definition: PlannerDataStorage.h:112
boost::uint32_t marker
OMPL PlannerData specific marker (fixed value)
Definition: PlannerDataStorage.h:109
std::vector< int > signature
Signature of state space that allocated the saved states in the vertices (see ompl::base::StateSpace:...
Definition: PlannerDataStorage.h:118
virtual void store(const PlannerData &pd, const char *filename)
Store (serialize) the PlannerData structure to the given filename.
Definition: PlannerDataStorage.cpp:50
virtual void load(const char *filename, base::PlannerData &pd)
Load the PlannerData structure from the given filename.
Definition: PlannerDataStorage.cpp:52