MTC
|
#include <storage.h>
Classes | |
struct | Priority |
Public Types | |
enum | Status : uint8_t { ENABLED , ARMED , PRUNED } |
using | Solutions = std::deque< SolutionBase * > |
Public Member Functions | |
InterfaceState (const planning_scene::PlanningScenePtr &ps) | |
create an InterfaceState from a planning scene | |
InterfaceState (const planning_scene::PlanningSceneConstPtr &ps) | |
InterfaceState (const planning_scene::PlanningSceneConstPtr &ps, const Priority &p) | |
provide an initial priority for the state (for internal use only) | |
InterfaceState (const InterfaceState &other) | |
copy an existing InterfaceState, but not including incoming/outgoing trajectories | |
InterfaceState (InterfaceState &&other)=default | |
InterfaceState & | operator= (const InterfaceState &other)=default |
const planning_scene::PlanningSceneConstPtr & | scene () const |
const Solutions & | incomingTrajectories () const |
const Solutions & | outgoingTrajectories () const |
PropertyMap & | properties () |
const PropertyMap & | properties () const |
bool | operator< (const InterfaceState &other) const |
states are ordered by priority | |
const Priority & | priority () const |
void | updatePriority (const InterfaceState::Priority &priority) |
Update priority and call owner's notify() if possible. | |
void | updateStatus (Status status) |
Update status, but keep current priority. | |
Interface * | owner () const |
Static Public Member Functions | |
static const char * | colorForStatus (unsigned int s) |
Friends | |
class | SolutionBase |
class | Interface |
InterfaceState describes a potential start or goal state for a planning stage.
A start or goal state for planning is essentially defined by the state of a planning scene.