Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
PlanningSceneInterface Class Reference

#include <planning_scene_interface.h>

List of all members.

Public Member Functions

void addObject (const arm_navigation_msgs::CollisionObject &object)
void attachObjectToGripper (const std::string &id, const std::string &arm)
void detachObjectAndAdd (const std::string &id)
const
arm_navigation_msgs::AttachedCollisionObject
getAttachedCollisionObject (const std::string &id)
const std::vector
< arm_navigation_msgs::AttachedCollisionObject > & 
getAttachedCollisionObjects () const
const
arm_navigation_msgs::CollisionObject
getCollisionObject (const std::string &id)
const std::vector
< arm_navigation_msgs::CollisionObject > & 
getCollisionObjects ()
const
arm_navigation_msgs::PlanningScene
getCurrentScene () const
const std::string & getGlobalFrame () const
const
arm_navigation_msgs::RobotState
getRobotState ()
void printDiffToCurrent (const arm_navigation_msgs::PlanningScene &other) const
void removeObject (const std::string &id)
bool resetPlanningScene ()
bool sendDiff ()
void setRobotState (const arm_navigation_msgs::RobotState &state)
void test ()
void updateObject (const std::string &id, const geometry_msgs::Pose &pose)

Static Public Member Functions

static PlanningSceneInterfaceinstance ()
static bool isDifferent (const geometry_msgs::Pose &pose, const geometry_msgs::Pose &other)
static void printAttachedObject (const arm_navigation_msgs::AttachedCollisionObject &object)
static void printDiff (const arm_navigation_msgs::PlanningScene &scene, const arm_navigation_msgs::PlanningScene &other)
static void printDiff (const arm_navigation_msgs::RobotState &state, const arm_navigation_msgs::RobotState &other)
static void printDiff (const std::vector< arm_navigation_msgs::CollisionObject > &objectList, const std::vector< arm_navigation_msgs::CollisionObject > &other)
static void printDiff (const std::vector< arm_navigation_msgs::AttachedCollisionObject > &objectList, const std::vector< arm_navigation_msgs::AttachedCollisionObject > &other)
static void printObjects (const arm_navigation_msgs::PlanningScene &scene)

Private Member Functions

arm_navigation_msgs::AttachedCollisionObjectgetAttachedCollisionObject_ (const std::string &id)
std::vector
< arm_navigation_msgs::AttachedCollisionObject > & 
getAttachedCollisionObjects_ ()
arm_navigation_msgs::CollisionObjectgetCollisionObject_ (const std::string &id)
std::vector
< arm_navigation_msgs::CollisionObject > & 
getCollisionObjects_ ()
arm_navigation_msgs::RobotStategetRobotState_ ()
 PlanningSceneInterface ()

Private Attributes

std::string globalFrame
std::map< std::string,
HandDescription
handDescriptions
std::string logName
ros::ServiceClient setPlanningSceneService
arm_navigation_msgs::SetPlanningSceneDiff spsdService

Static Private Attributes

static PlanningSceneInterfacesingleton_instance = NULL

Detailed Description

Definition at line 17 of file planning_scene_interface.h.


Constructor & Destructor Documentation

Definition at line 22 of file planning_scene_interface.cpp.


Member Function Documentation

Definition at line 124 of file planning_scene_interface.cpp.

void PlanningSceneInterface::attachObjectToGripper ( const std::string &  id,
const std::string &  arm 
)

Definition at line 190 of file planning_scene_interface.cpp.

void PlanningSceneInterface::detachObjectAndAdd ( const std::string &  id)

Definition at line 224 of file planning_scene_interface.cpp.

Definition at line 80 of file planning_scene_interface.cpp.

Definition at line 96 of file planning_scene_interface.cpp.

Definition at line 30 of file planning_scene_interface.h.

Definition at line 61 of file planning_scene_interface.h.

Definition at line 75 of file planning_scene_interface.cpp.

Definition at line 85 of file planning_scene_interface.cpp.

Definition at line 29 of file planning_scene_interface.h.

Definition at line 60 of file planning_scene_interface.h.

Definition at line 27 of file planning_scene_interface.h.

const std::string& PlanningSceneInterface::getGlobalFrame ( ) const [inline]

Definition at line 41 of file planning_scene_interface.h.

Definition at line 28 of file planning_scene_interface.h.

Definition at line 59 of file planning_scene_interface.h.

Definition at line 13 of file planning_scene_interface.cpp.

bool PlanningSceneInterface::isDifferent ( const geometry_msgs::Pose pose,
const geometry_msgs::Pose other 
) [static]

Definition at line 287 of file planning_scene_interface.cpp.

Definition at line 365 of file planning_scene_interface.cpp.

Definition at line 253 of file planning_scene_interface.cpp.

Definition at line 269 of file planning_scene_interface.cpp.

Definition at line 308 of file planning_scene_interface.cpp.

Definition at line 337 of file planning_scene_interface.cpp.

Definition at line 248 of file planning_scene_interface.cpp.

Definition at line 370 of file planning_scene_interface.cpp.

void PlanningSceneInterface::removeObject ( const std::string &  id)

Definition at line 148 of file planning_scene_interface.cpp.

Definition at line 69 of file planning_scene_interface.cpp.

Definition at line 54 of file planning_scene_interface.cpp.

Definition at line 107 of file planning_scene_interface.cpp.

Definition at line 384 of file planning_scene_interface.cpp.

void PlanningSceneInterface::updateObject ( const std::string &  id,
const geometry_msgs::Pose pose 
)

Definition at line 172 of file planning_scene_interface.cpp.


Member Data Documentation

std::string PlanningSceneInterface::globalFrame [private]

Definition at line 70 of file planning_scene_interface.h.

Definition at line 69 of file planning_scene_interface.h.

std::string PlanningSceneInterface::logName [private]

Definition at line 72 of file planning_scene_interface.h.

Definition at line 67 of file planning_scene_interface.h.

Definition at line 65 of file planning_scene_interface.h.

Definition at line 66 of file planning_scene_interface.h.


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


tidyup_utils
Author(s): Andreas Hertle
autogenerated on Wed Dec 26 2012 15:27:25