$search

planning_scene_utils::PlanningSceneData Class Reference

Convenience class wrapping a planning scene message and its meta-data. More...

#include <move_arm_utils.h>

List of all members.

Public Member Functions

void addMotionPlanRequestId (unsigned int id)
std::vector
< arm_navigation_msgs::ArmNavigationErrorCodes > & 
getErrorCodes ()
 Gets a vector of trajectory error codes corresponding 1-1 to each pipeline stage.
std::string getHostName () const
 Returns the host of the network machine that the planning scene was recorded on.
unsigned int getId () const
std::string getName () const
 Returns the unique Id of the planning scene.
unsigned int getNextMotionPlanRequestId () const
std::vector< std::string > & getPipelineStages ()
 Returns a vector of arbitrary strings corresponding to the different "pipelines" of the planning scene. These are defined by the user of the warehouse logger reader. They may be things like "planner" "filter", "IK", etc.
arm_navigation_msgs::PlanningScenegetPlanningScene ()
 Returns the underlying planning scene message.
std::set< unsigned int > & getRequests ()
 Returns a vector of Motion Plan Ids of the motion plan requests stored in the planning scene.
void getRobotState (planning_models::KinematicState *state)
 Fills the Kinematic state passed into the function with the values specified by the robot state message inside the underlying planning scene message.
const ros::TimegetTimeStamp () const
 Returns the time that the planning scene was recorded (ignores sim time).
bool hasMotionPlanRequestId (unsigned int id) const
 PlanningSceneData (unsigned int id, const ros::Time &timestamp, const arm_navigation_msgs::PlanningScene &scene)
 PlanningSceneData ()
void removeMotionPlanRequestId (unsigned int id)
void setErrorCodes (std::vector< arm_navigation_msgs::ArmNavigationErrorCodes > &error_codes)
 see getErrorCodes
void setHostName (std::string host)
 Set the host of the network machine that the planning scene was recorded on.
void setId (unsigned int id)
void setPipelineStages (std::vector< std::string > &stages)
 see getPipelineStages
void setPlanningScene (const arm_navigation_msgs::PlanningScene &scene)
 Sets the underlying planning scene message.
void setTimeStamp (const ros::Time &time)
 Sets the time that the planning scene was recorded.

Protected Attributes

std::vector
< arm_navigation_msgs::ArmNavigationErrorCodes
error_codes_
std::string host_
unsigned int id_
std::set< unsigned int > motion_plan_requests_
std::string name_
std::vector< std::string > pipeline_stages_
arm_navigation_msgs::PlanningScene planning_scene_
ros::Time timestamp_

Detailed Description

Convenience class wrapping a planning scene message and its meta-data.

Class PlanningSceneData

Definition at line 144 of file move_arm_utils.h.


Constructor & Destructor Documentation

PlanningSceneData::PlanningSceneData (  ) 

Definition at line 85 of file move_arm_utils.cpp.

PlanningSceneData::PlanningSceneData ( unsigned int  id,
const ros::Time timestamp,
const arm_navigation_msgs::PlanningScene scene 
)

Definition at line 91 of file move_arm_utils.cpp.


Member Function Documentation

void planning_scene_utils::PlanningSceneData::addMotionPlanRequestId ( unsigned int  id  )  [inline]

Definition at line 254 of file move_arm_utils.h.

std::vector<arm_navigation_msgs::ArmNavigationErrorCodes>& planning_scene_utils::PlanningSceneData::getErrorCodes (  )  [inline]

Gets a vector of trajectory error codes corresponding 1-1 to each pipeline stage.

Definition at line 229 of file move_arm_utils.h.

std::string planning_scene_utils::PlanningSceneData::getHostName (  )  const [inline]

Returns the host of the network machine that the planning scene was recorded on.

Definition at line 161 of file move_arm_utils.h.

unsigned int planning_scene_utils::PlanningSceneData::getId (  )  const [inline]

Definition at line 178 of file move_arm_utils.h.

std::string planning_scene_utils::PlanningSceneData::getName ( void   )  const [inline]

Returns the unique Id of the planning scene.

Definition at line 173 of file move_arm_utils.h.

unsigned int planning_scene_utils::PlanningSceneData::getNextMotionPlanRequestId (  )  const [inline]

Definition at line 262 of file move_arm_utils.h.

std::vector<std::string>& planning_scene_utils::PlanningSceneData::getPipelineStages (  )  [inline]

Returns a vector of arbitrary strings corresponding to the different "pipelines" of the planning scene. These are defined by the user of the warehouse logger reader. They may be things like "planner" "filter", "IK", etc.

Definition at line 217 of file move_arm_utils.h.

arm_navigation_msgs::PlanningScene& planning_scene_utils::PlanningSceneData::getPlanningScene (  )  [inline]

Returns the underlying planning scene message.

Definition at line 190 of file move_arm_utils.h.

std::set<unsigned int>& planning_scene_utils::PlanningSceneData::getRequests (  )  [inline]

Returns a vector of Motion Plan Ids of the motion plan requests stored in the planning scene.

Definition at line 241 of file move_arm_utils.h.

void PlanningSceneData::getRobotState ( planning_models::KinematicState state  ) 

Fills the Kinematic state passed into the function with the values specified by the robot state message inside the underlying planning scene message.

Definition at line 98 of file move_arm_utils.cpp.

const ros::Time& planning_scene_utils::PlanningSceneData::getTimeStamp (  )  const [inline]

Returns the time that the planning scene was recorded (ignores sim time).

Definition at line 184 of file move_arm_utils.h.

bool planning_scene_utils::PlanningSceneData::hasMotionPlanRequestId ( unsigned int  id  )  const [inline]

Definition at line 250 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::removeMotionPlanRequestId ( unsigned int  id  )  [inline]

Definition at line 258 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::setErrorCodes ( std::vector< arm_navigation_msgs::ArmNavigationErrorCodes > &  error_codes  )  [inline]

see getErrorCodes

Definition at line 235 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::setHostName ( std::string  host  )  [inline]

Set the host of the network machine that the planning scene was recorded on.

Definition at line 167 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::setId ( unsigned int  id  )  [inline]

Definition at line 202 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::setPipelineStages ( std::vector< std::string > &  stages  )  [inline]

see getPipelineStages

Definition at line 223 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::setPlanningScene ( const arm_navigation_msgs::PlanningScene scene  )  [inline]

Sets the underlying planning scene message.

Definition at line 208 of file move_arm_utils.h.

void planning_scene_utils::PlanningSceneData::setTimeStamp ( const ros::Time time  )  [inline]

Sets the time that the planning scene was recorded.

Definition at line 196 of file move_arm_utils.h.


Member Data Documentation

Definition at line 153 of file move_arm_utils.h.

Definition at line 149 of file move_arm_utils.h.

Definition at line 148 of file move_arm_utils.h.

Definition at line 154 of file move_arm_utils.h.

Definition at line 147 of file move_arm_utils.h.

std::vector<std::string> planning_scene_utils::PlanningSceneData::pipeline_stages_ [protected]

Definition at line 152 of file move_arm_utils.h.

Definition at line 151 of file move_arm_utils.h.

Definition at line 150 of file move_arm_utils.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


move_arm_warehouse
Author(s): Ioan Sucan, Sachin Chitta(sachinc@willowgarage.com)
autogenerated on Fri Mar 1 15:11:44 2013