Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Slots | Private Member Functions | Private Attributes | Friends
moveit_rviz_plugin::MotionPlanningFrame Class Reference

#include <motion_planning_frame.h>

List of all members.

Public Member Functions

void changePlanningGroup ()
void disable ()
void enable ()
 MotionPlanningFrame (MotionPlanningDisplay *pdisplay, rviz::DisplayContext *context, QWidget *parent=0)
void sceneUpdate (planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType update_type)
 ~MotionPlanningFrame ()

Protected Types

typedef std::map< std::string,
moveit_msgs::RobotState > 
RobotStateMap
typedef std::pair< std::string,
moveit_msgs::RobotState > 
RobotStatePair

Protected Member Functions

void constructPlanningRequest (moveit_msgs::MotionPlanRequest &mreq)
void updateSceneMarkers (float wall_dt, float ros_dt)

Protected Attributes

boost::shared_ptr
< moveit_warehouse::ConstraintsStorage
constraints_storage_
rviz::DisplayContextcontext_
boost::shared_ptr
< moveit::planning_interface::MoveGroup::Plan
current_plan_
boost::shared_ptr
< moveit::planning_interface::MoveGroup
move_group_
MotionPlanningDisplayplanning_display_
boost::shared_ptr
< moveit_warehouse::PlanningSceneStorage
planning_scene_storage_
boost::shared_ptr
< moveit_warehouse::RobotStateStorage
robot_state_storage_
RobotStateMap robot_states_
boost::shared_ptr
< rviz::InteractiveMarker
scene_marker_
Ui::MotionPlanningUI * ui_

Static Protected Attributes

static const int ITEM_TYPE_QUERY = 2
static const int ITEM_TYPE_SCENE = 1

Private Slots

void allowLookingToggled (bool checked)
void allowReplanningToggled (bool checked)
void approximateIKChanged (int state)
void clearSceneButtonClicked ()
void clearStatesButtonClicked ()
void collisionObjectChanged (QListWidgetItem *item)
void copySelectedCollisionObject ()
void databaseConnectButtonClicked ()
void deleteQueryButtonClicked ()
void deleteSceneButtonClicked ()
void executeButtonClicked ()
void exportAsTextButtonClicked ()
void importFileButtonClicked ()
void importFromTextButtonClicked ()
void importUrlButtonClicked ()
void imProcessFeedback (visualization_msgs::InteractiveMarkerFeedback &feedback)
void loadQueryButtonClicked ()
void loadSceneButtonClicked ()
void loadStateButtonClicked ()
void objectPoseValueChanged (double value)
void pathConstraintsIndexChanged (int index)
void planAndExecuteButtonClicked ()
void planButtonClicked ()
void planningAlgorithmIndexChanged (int index)
void planningSceneItemClicked ()
void publishSceneButtonClicked ()
void removeObjectButtonClicked ()
void removeStateButtonClicked ()
void resetDbButtonClicked ()
void saveGoalStateButtonClicked ()
void saveQueryButtonClicked ()
void saveSceneButtonClicked ()
void saveStartStateButtonClicked ()
void sceneScaleChanged (int value)
void sceneScaleEndChange ()
void sceneScaleStartChange ()
void selectedCollisionObjectChanged ()
void setAsGoalStateButtonClicked ()
void setAsStartStateButtonClicked ()
void tabChanged (int index)
void useGoalStateButtonClicked ()
void useStartStateButtonClicked ()
void warehouseItemNameChanged (QTreeWidgetItem *item, int column)

Private Member Functions

void addObject (const collision_detection::WorldPtr &world, const std::string &id, const shapes::ShapeConstPtr &shape, const Eigen::Affine3d &pose)
void attachDetachCollisionObject (QListWidgetItem *item)
void changePlanningGroupHelper ()
void checkPlanningSceneTreeEnabledButtons ()
void computeDatabaseConnectButtonClicked ()
void computeDatabaseConnectButtonClickedHelper (int mode)
void computeDeleteQueryButtonClicked ()
void computeDeleteQueryButtonClickedHelper (QTreeWidgetItem *s)
void computeDeleteSceneButtonClicked ()
void computeExecuteButtonClicked ()
void computeExportAsText (const std::string &path)
void computeImportFromText (const std::string &path)
void computeLoadQueryButtonClicked ()
void computeLoadSceneButtonClicked ()
void computePlanAndExecuteButtonClicked ()
void computePlanAndExecuteButtonClickedDisplayHelper ()
void computePlanButtonClicked ()
void computeResetDbButtonClicked (const std::string &db)
void computeSaveQueryButtonClicked (const std::string &scene, const std::string &query_name)
void computeSaveSceneButtonClicked ()
void configureForPlanning ()
void configureWorkspace ()
void createSceneInteractiveMarker ()
void fillStateSelectionOptions ()
void importResource (const std::string &path)
void populateCollisionObjectsList ()
void populateConstraintsList ()
void populateConstraintsList (const std::vector< std::string > &constr)
void populatePlannersList (const moveit_msgs::PlannerInterfaceDescription &desc)
void populatePlanningSceneTreeView ()
void populateRobotStatesList ()
void renameCollisionObject (QListWidgetItem *item)
void saveRobotStateButtonClicked (const robot_state::RobotState &state)
void setItemSelectionInList (const std::string &item_name, bool selection, QListWidget *list)
void updateCollisionObjectPose (bool update_marker_position)
void updateQueryStateHelper (robot_state::RobotState &state, const std::string &v)

Private Attributes

bool first_time_
std::vector< std::pair
< std::string, bool > > 
known_collision_objects_
long unsigned int known_collision_objects_version_
ros::NodeHandle nh_
ros::Publisher planning_scene_publisher_
ros::Publisher planning_scene_world_publisher_
collision_detection::CollisionWorld::ObjectConstPtr scaled_object_

Friends

class MotionPlanningDisplay

Detailed Description

Definition at line 72 of file motion_planning_frame.h.


Member Typedef Documentation

typedef std::map<std::string, moveit_msgs::RobotState> moveit_rviz_plugin::MotionPlanningFrame::RobotStateMap [protected]

Definition at line 107 of file motion_planning_frame.h.

typedef std::pair<std::string, moveit_msgs::RobotState> moveit_rviz_plugin::MotionPlanningFrame::RobotStatePair [protected]

Definition at line 108 of file motion_planning_frame.h.


Constructor & Destructor Documentation

Definition at line 49 of file motion_planning_frame.cpp.

Definition at line 124 of file motion_planning_frame.cpp.


Member Function Documentation

void moveit_rviz_plugin::MotionPlanningFrame::addObject ( const collision_detection::WorldPtr world,
const std::string &  id,
const shapes::ShapeConstPtr shape,
const Eigen::Affine3d &  pose 
) [private]

Definition at line 668 of file motion_planning_frame_objects.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::allowLookingToggled ( bool  checked) [private, slot]

Definition at line 67 of file motion_planning_frame_planning.cpp.

Definition at line 61 of file motion_planning_frame_planning.cpp.

Definition at line 128 of file motion_planning_frame.cpp.

Definition at line 781 of file motion_planning_frame_objects.cpp.

Definition at line 232 of file motion_planning_frame.cpp.

Definition at line 180 of file motion_planning_frame.cpp.

Definition at line 531 of file motion_planning_frame_objects.cpp.

Definition at line 74 of file motion_planning_frame_objects.cpp.

Definition at line 230 of file motion_planning_frame_states.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::collisionObjectChanged ( QListWidgetItem *  item) [private, slot]

Definition at line 335 of file motion_planning_frame_objects.cpp.

Definition at line 101 of file motion_planning_frame_context.cpp.

Definition at line 132 of file motion_planning_frame_context.cpp.

Definition at line 498 of file motion_planning_frame_objects.cpp.

Definition at line 524 of file motion_planning_frame_objects.cpp.

Definition at line 460 of file motion_planning_frame_objects.cpp.

Definition at line 100 of file motion_planning_frame_planning.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::computeExportAsText ( const std::string &  path) [private]

Definition at line 899 of file motion_planning_frame_objects.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::computeImportFromText ( const std::string &  path) [private]

Definition at line 917 of file motion_planning_frame_objects.cpp.

Definition at line 620 of file motion_planning_frame_objects.cpp.

Definition at line 567 of file motion_planning_frame_objects.cpp.

Definition at line 106 of file motion_planning_frame_planning.cpp.

Definition at line 88 of file motion_planning_frame_planning.cpp.

Definition at line 189 of file motion_planning_frame_context.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::computeSaveQueryButtonClicked ( const std::string &  scene,
const std::string &  query_name 
) [private]

Definition at line 439 of file motion_planning_frame_objects.cpp.

Definition at line 419 of file motion_planning_frame_objects.cpp.

Definition at line 266 of file motion_planning_frame_planning.cpp.

Definition at line 231 of file motion_planning_frame_planning.cpp.

Definition at line 211 of file motion_planning_frame_planning.cpp.

Definition at line 386 of file motion_planning_frame_objects.cpp.

Definition at line 681 of file motion_planning_frame_objects.cpp.

Definition at line 50 of file motion_planning_frame_context.cpp.

Definition at line 178 of file motion_planning_frame_scenes.cpp.

Definition at line 173 of file motion_planning_frame_scenes.cpp.

Definition at line 345 of file motion_planning_frame.cpp.

Definition at line 334 of file motion_planning_frame.cpp.

Definition at line 48 of file motion_planning_frame_planning.cpp.

Definition at line 892 of file motion_planning_frame_objects.cpp.

Definition at line 140 of file motion_planning_frame.cpp.

Definition at line 57 of file motion_planning_frame_objects.cpp.

Definition at line 936 of file motion_planning_frame_objects.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::importResource ( const std::string &  path) [private]

Definition at line 243 of file motion_planning_frame.cpp.

Definition at line 64 of file motion_planning_frame_objects.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::imProcessFeedback ( visualization_msgs::InteractiveMarkerFeedback &  feedback) [private, slot]

Definition at line 353 of file motion_planning_frame_objects.cpp.

Definition at line 188 of file motion_planning_frame_scenes.cpp.

Definition at line 183 of file motion_planning_frame_scenes.cpp.

Definition at line 55 of file motion_planning_frame_states.cpp.

Definition at line 295 of file motion_planning_frame_objects.cpp.

Definition at line 73 of file motion_planning_frame_planning.cpp.

Definition at line 54 of file motion_planning_frame_planning.cpp.

Definition at line 43 of file motion_planning_frame_planning.cpp.

Definition at line 66 of file motion_planning_frame_context.cpp.

Definition at line 108 of file motion_planning_frame_scenes.cpp.

Definition at line 834 of file motion_planning_frame_objects.cpp.

Definition at line 197 of file motion_planning_frame_planning.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::populateConstraintsList ( const std::vector< std::string > &  constr) [private]

Definition at line 203 of file motion_planning_frame_planning.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::populatePlannersList ( const moveit_msgs::PlannerInterfaceDescription &  desc) [private]

Definition at line 162 of file motion_planning_frame_planning.cpp.

Definition at line 238 of file motion_planning_frame_scenes.cpp.

Definition at line 45 of file motion_planning_frame_states.cpp.

Definition at line 55 of file motion_planning_frame_context.cpp.

Definition at line 136 of file motion_planning_frame_objects.cpp.

Definition at line 193 of file motion_planning_frame_states.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::renameCollisionObject ( QListWidgetItem *  item) [private]

Definition at line 721 of file motion_planning_frame_objects.cpp.

Definition at line 77 of file motion_planning_frame_context.cpp.

Definition at line 164 of file motion_planning_frame_states.cpp.

Definition at line 113 of file motion_planning_frame_scenes.cpp.

Definition at line 110 of file motion_planning_frame_states.cpp.

Definition at line 59 of file motion_planning_frame_scenes.cpp.

Definition at line 159 of file motion_planning_frame_states.cpp.

Definition at line 89 of file motion_planning_frame_objects.cpp.

Definition at line 130 of file motion_planning_frame_objects.cpp.

Definition at line 115 of file motion_planning_frame_objects.cpp.

Definition at line 237 of file motion_planning_frame.cpp.

Definition at line 184 of file motion_planning_frame_objects.cpp.

Definition at line 181 of file motion_planning_frame_states.cpp.

Definition at line 169 of file motion_planning_frame_states.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::setItemSelectionInList ( const std::string &  item_name,
bool  selection,
QListWidget *  list 
) [private]

Definition at line 133 of file motion_planning_frame.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::tabChanged ( int  index) [private, slot]

Definition at line 351 of file motion_planning_frame.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::updateCollisionObjectPose ( bool  update_marker_position) [private]

Definition at line 300 of file motion_planning_frame_objects.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::updateQueryStateHelper ( robot_state::RobotState state,
const std::string &  v 
) [private]

Definition at line 129 of file motion_planning_frame_planning.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::updateSceneMarkers ( float  wall_dt,
float  ros_dt 
) [protected]

Definition at line 360 of file motion_planning_frame.cpp.

Definition at line 122 of file motion_planning_frame_planning.cpp.

Definition at line 115 of file motion_planning_frame_planning.cpp.

void moveit_rviz_plugin::MotionPlanningFrame::warehouseItemNameChanged ( QTreeWidgetItem *  item,
int  column 
) [private, slot]

Definition at line 193 of file motion_planning_frame_scenes.cpp.


Friends And Related Function Documentation

friend class MotionPlanningDisplay [friend]

Definition at line 74 of file motion_planning_frame.h.


Member Data Documentation

Definition at line 102 of file motion_planning_frame.h.

Definition at line 95 of file motion_planning_frame.h.

Definition at line 100 of file motion_planning_frame.h.

Definition at line 231 of file motion_planning_frame.h.

Definition at line 88 of file motion_planning_frame.h.

Definition at line 87 of file motion_planning_frame.h.

std::vector< std::pair<std::string, bool> > moveit_rviz_plugin::MotionPlanningFrame::known_collision_objects_ [private]

Definition at line 229 of file motion_planning_frame.h.

Definition at line 230 of file motion_planning_frame.h.

Definition at line 98 of file motion_planning_frame.h.

Definition at line 223 of file motion_planning_frame.h.

Definition at line 94 of file motion_planning_frame.h.

Definition at line 224 of file motion_planning_frame.h.

Definition at line 101 of file motion_planning_frame.h.

Definition at line 225 of file motion_planning_frame.h.

Definition at line 103 of file motion_planning_frame.h.

Definition at line 109 of file motion_planning_frame.h.

Definition at line 227 of file motion_planning_frame.h.

Definition at line 105 of file motion_planning_frame.h.

Ui::MotionPlanningUI* moveit_rviz_plugin::MotionPlanningFrame::ui_ [protected]

Definition at line 96 of file motion_planning_frame.h.


The documentation for this class was generated from the following files:


visualization
Author(s): Ioan Sucan , Dave Coleman
autogenerated on Mon Oct 6 2014 02:34:03