Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots
moveit_rviz_plugin::PlanningSceneDisplay Class Reference

#include <planning_scene_display.h>

Inheritance diagram for moveit_rviz_plugin::PlanningSceneDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addBackgroundJob (const boost::function< void()> &job, const std::string &name)
void addMainLoopJob (const boost::function< void()> &job)
void clearJobs ()
const
planning_scene_monitor::PlanningSceneMonitorPtr
getPlanningSceneMonitor ()
planning_scene_monitor::LockedPlanningSceneRO getPlanningSceneRO () const
planning_scene_monitor::LockedPlanningSceneRW getPlanningSceneRW ()
const
robot_model::RobotModelConstPtr
getRobotModel () const
virtual void load (const rviz::Config &config)
 PlanningSceneDisplay (bool listen_to_planning_scene=true, bool show_scene_robot=true)
void queueRenderSceneGeometry ()
virtual void reset ()
virtual void save (rviz::Config config) const
void setLinkColor (const std::string &link_name, const QColor &color)
void unsetLinkColor (const std::string &link_name)
virtual void update (float wall_dt, float ros_dt)
void waitForAllMainLoopJobs ()
virtual ~PlanningSceneDisplay ()

Protected Member Functions

void calculateOffsetPosition ()
 Set the scene node's position, given the target frame and the planning frame.
void clearRobotModel ()
virtual
planning_scene_monitor::PlanningSceneMonitorPtr 
createPlanningSceneMonitor ()
void executeMainLoopJobs ()
virtual void fixedFrameChanged ()
void loadRobotModel ()
virtual void onDisable ()
virtual void onEnable ()
virtual void onInitialize ()
virtual void onRobotModelLoaded ()
 This is an event called by loadRobotModel() in the MainLoop; do not call directly.
virtual void onSceneMonitorReceivedUpdate (planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType update_type)
void renderPlanningScene ()
void sceneMonitorReceivedUpdate (planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType update_type)
void setGroupColor (rviz::Robot *robot, const std::string &group_name, const QColor &color)
void setLinkColor (rviz::Robot *robot, const std::string &link_name, const QColor &color)
void unsetAllColors (rviz::Robot *robot)
void unsetGroupColor (rviz::Robot *robot, const std::string &group_name)
void unsetLinkColor (rviz::Robot *robot, const std::string &link_name)
virtual void updateInternal (float wall_dt, float ros_dt)

Protected Attributes

rviz::ColorPropertyattached_body_color_property_
BackgroundProcessing background_process_
float current_scene_time_
std::deque< boost::function
< void()> > 
main_loop_jobs_
boost::condition_variable main_loop_jobs_empty_condition_
boost::mutex main_loop_jobs_lock_
bool model_is_loading_
rviz::EnumPropertyoctree_coloring_property_
rviz::EnumPropertyoctree_render_property_
planning_scene_monitor::PlanningSceneMonitorPtr planning_scene_monitor_
bool planning_scene_needs_render_
Ogre::SceneNode * planning_scene_node_
 displays planning scene with everything in it
PlanningSceneRenderPtr planning_scene_render_
RobotStateVisualizationPtr planning_scene_robot_
rviz::RosTopicPropertyplanning_scene_topic_property_
rviz::FloatPropertyrobot_alpha_property_
rviz::Propertyrobot_category_
rviz::StringPropertyrobot_description_property_
boost::mutex robot_model_loading_lock_
rviz::FloatPropertyscene_alpha_property_
rviz::Propertyscene_category_
rviz::ColorPropertyscene_color_property_
rviz::FloatPropertyscene_display_time_property_
rviz::BoolPropertyscene_enabled_property_
rviz::StringPropertyscene_name_property_
rviz::BoolPropertyscene_robot_enabled_property_

Private Slots

void changedAttachedBodyColor ()
void changedOctreeColorMode ()
void changedOctreeRenderMode ()
void changedPlanningSceneTopic ()
void changedRobotDescription ()
void changedRobotSceneAlpha ()
void changedSceneAlpha ()
void changedSceneColor ()
void changedSceneDisplayTime ()
void changedSceneEnabled ()
void changedSceneName ()
void changedSceneRobotEnabled ()

Detailed Description

Definition at line 64 of file planning_scene_display.h.


Constructor & Destructor Documentation

moveit_rviz_plugin::PlanningSceneDisplay::PlanningSceneDisplay ( bool  listen_to_planning_scene = true,
bool  show_scene_robot = true 
)

Definition at line 59 of file planning_scene_display.cpp.

Definition at line 157 of file planning_scene_display.cpp.


Member Function Documentation

void moveit_rviz_plugin::PlanningSceneDisplay::addBackgroundJob ( const boost::function< void()> &  job,
const std::string &  name 
)

Definition at line 204 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::addMainLoopJob ( const boost::function< void()> &  job)

Definition at line 209 of file planning_scene_display.cpp.

Set the scene node's position, given the target frame and the planning frame.

Definition at line 587 of file planning_scene_display.cpp.

Definition at line 274 of file planning_scene_display.cpp.

Definition at line 353 of file planning_scene_display.cpp.

Definition at line 349 of file planning_scene_display.cpp.

Definition at line 339 of file planning_scene_display.cpp.

Definition at line 284 of file planning_scene_display.cpp.

Definition at line 330 of file planning_scene_display.cpp.

Definition at line 325 of file planning_scene_display.cpp.

Definition at line 279 of file planning_scene_display.cpp.

Definition at line 345 of file planning_scene_display.cpp.

Definition at line 363 of file planning_scene_display.cpp.

Definition at line 290 of file planning_scene_display.cpp.

Definition at line 357 of file planning_scene_display.cpp.

Definition at line 168 of file planning_scene_display.cpp.

This function is used by loadRobotModel() and should only be called in the MainLoop You probably should not call this function directly

Definition at line 448 of file planning_scene_display.cpp.

This function constructs a new planning scene. Probably this should be called in a background thread as it may take some time to complete its execution

Definition at line 440 of file planning_scene_display.cpp.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 222 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 620 of file planning_scene_display.cpp.

Definition at line 248 of file planning_scene_display.cpp.

Definition at line 264 of file planning_scene_display.cpp.

Definition at line 269 of file planning_scene_display.cpp.

Definition at line 253 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 574 of file planning_scene_display.cpp.

This function reloads the robot model and reinitializes the PlanningSceneMonitor It can be called either from the Main Loop or from a Background thread

Definition at line 454 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 536 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 519 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 177 of file planning_scene_display.cpp.

This is an event called by loadRobotModel() in the MainLoop; do not call directly.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 486 of file planning_scene_display.cpp.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 510 of file planning_scene_display.cpp.

Definition at line 549 of file planning_scene_display.cpp.

Definition at line 297 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 191 of file planning_scene_display.cpp.

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 579 of file planning_scene_display.cpp.

Definition at line 505 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::setGroupColor ( rviz::Robot robot,
const std::string &  group_name,
const QColor &  color 
) [protected]

Definition at line 369 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::setLinkColor ( const std::string &  link_name,
const QColor &  color 
)

Definition at line 407 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::setLinkColor ( rviz::Robot robot,
const std::string &  link_name,
const QColor &  color 
) [protected]

Definition at line 419 of file planning_scene_display.cpp.

Definition at line 383 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::unsetGroupColor ( rviz::Robot robot,
const std::string &  group_name 
) [protected]

Definition at line 393 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::unsetLinkColor ( const std::string &  link_name)

Definition at line 413 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::unsetLinkColor ( rviz::Robot robot,
const std::string &  link_name 
) [protected]

Definition at line 428 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Display.

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 554 of file planning_scene_display.cpp.

void moveit_rviz_plugin::PlanningSceneDisplay::updateInternal ( float  wall_dt,
float  ros_dt 
) [protected, virtual]

Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.

Definition at line 564 of file planning_scene_display.cpp.

Definition at line 215 of file planning_scene_display.cpp.


Member Data Documentation

Definition at line 189 of file planning_scene_display.h.

Definition at line 164 of file planning_scene_display.h.

Definition at line 176 of file planning_scene_display.h.

std::deque<boost::function<void()> > moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_ [protected]

Definition at line 165 of file planning_scene_display.h.

Definition at line 167 of file planning_scene_display.h.

Definition at line 166 of file planning_scene_display.h.

Definition at line 161 of file planning_scene_display.h.

Definition at line 192 of file planning_scene_display.h.

Definition at line 191 of file planning_scene_display.h.

Definition at line 160 of file planning_scene_display.h.

Definition at line 175 of file planning_scene_display.h.

displays planning scene with everything in it

Definition at line 169 of file planning_scene_display.h.

Definition at line 173 of file planning_scene_display.h.

Definition at line 172 of file planning_scene_display.h.

Definition at line 185 of file planning_scene_display.h.

Definition at line 186 of file planning_scene_display.h.

Definition at line 179 of file planning_scene_display.h.

Definition at line 181 of file planning_scene_display.h.

Definition at line 162 of file planning_scene_display.h.

Definition at line 187 of file planning_scene_display.h.

Definition at line 178 of file planning_scene_display.h.

Definition at line 188 of file planning_scene_display.h.

Definition at line 190 of file planning_scene_display.h.

Definition at line 183 of file planning_scene_display.h.

Definition at line 182 of file planning_scene_display.h.

Definition at line 184 of file planning_scene_display.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