#include <planning_scene_display.h>
Definition at line 68 of file planning_scene_display.h.
moveit_rviz_plugin::PlanningSceneDisplay::PlanningSceneDisplay | ( | bool | listen_to_planning_scene = true , |
bool | show_scene_robot = true |
||
) |
Definition at line 65 of file planning_scene_display.cpp.
Definition at line 158 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::addBackgroundJob | ( | const boost::function< void()> & | job, |
const std::string & | name | ||
) |
Queue this function call for execution within the background thread All jobs are queued and processed in order by a single background thread.
Definition at line 215 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::addMainLoopJob | ( | const boost::function< void()> & | job | ) |
queue the execution of this function for the next time the main update() loop gets called
Definition at line 225 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::calculateOffsetPosition | ( | ) | [protected] |
Set the scene node's position, given the target frame and the planning frame.
Definition at line 648 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedAttachedBodyColor | ( | ) | [private, slot] |
Definition at line 302 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedMoveGroupNS | ( | ) | [private, slot] |
Definition at line 312 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedOctreeColorMode | ( | ) | [private, slot] |
Definition at line 392 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedOctreeRenderMode | ( | ) | [private, slot] |
Definition at line 388 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedPlanningSceneTopic | ( | ) | [private, slot] |
Definition at line 372 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedRobotDescription | ( | ) | [private, slot] |
Definition at line 318 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedRobotSceneAlpha | ( | ) | [private, slot] |
Definition at line 363 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneAlpha | ( | ) | [private, slot] |
Definition at line 358 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneColor | ( | ) | [private, slot] |
Definition at line 307 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneDisplayTime | ( | ) | [private, slot] |
Definition at line 384 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneEnabled | ( | ) | [private, slot] |
Definition at line 414 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneName | ( | ) | [private, slot] |
Definition at line 324 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneRobotCollisionEnabled | ( | ) | [private, slot] |
Definition at line 405 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneRobotVisualEnabled | ( | ) | [private, slot] |
Definition at line 396 of file planning_scene_display.cpp.
remove all queued jobs
Definition at line 170 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::clearRobotModel | ( | ) | [protected] |
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 498 of file planning_scene_display.cpp.
planning_scene_monitor::PlanningSceneMonitorPtr moveit_rviz_plugin::PlanningSceneDisplay::createPlanningSceneMonitor | ( | ) | [protected, virtual] |
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 491 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::executeMainLoopJobs | ( | ) | [protected] |
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 238 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::fixedFrameChanged | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 662 of file planning_scene_display.cpp.
const std::string moveit_rviz_plugin::PlanningSceneDisplay::getMoveGroupNS | ( | ) | const |
Definition at line 269 of file planning_scene_display.cpp.
const planning_scene_monitor::PlanningSceneMonitorPtr & moveit_rviz_plugin::PlanningSceneDisplay::getPlanningSceneMonitor | ( | ) |
Definition at line 264 of file planning_scene_display.cpp.
planning_scene_monitor::LockedPlanningSceneRO moveit_rviz_plugin::PlanningSceneDisplay::getPlanningSceneRO | ( | ) | const |
get read-only access to planning scene
Definition at line 292 of file planning_scene_display.cpp.
planning_scene_monitor::LockedPlanningSceneRW moveit_rviz_plugin::PlanningSceneDisplay::getPlanningSceneRW | ( | ) |
get write access to planning scene
Definition at line 297 of file planning_scene_display.cpp.
const robot_model::RobotModelConstPtr & moveit_rviz_plugin::PlanningSceneDisplay::getRobotModel | ( | ) | const |
Definition at line 274 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::load | ( | const rviz::Config & | config | ) | [virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 635 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::loadRobotModel | ( | ) | [protected] |
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 505 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::onDisable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 596 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 575 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 179 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::onRobotModelLoaded | ( | ) | [protected, virtual] |
This is an event called by loadRobotModel() in the MainLoop; do not call directly.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 538 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::onSceneMonitorReceivedUpdate | ( | planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType | update_type | ) | [protected, virtual] |
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 564 of file planning_scene_display.cpp.
Definition at line 609 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::renderPlanningScene | ( | ) | [protected] |
Definition at line 331 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::reset | ( | void | ) | [virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 198 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::save | ( | rviz::Config | config | ) | const [virtual] |
Reimplemented from rviz::Display.
Reimplemented in moveit_rviz_plugin::MotionPlanningDisplay.
Definition at line 640 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::sceneMonitorReceivedUpdate | ( | planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType | update_type | ) | [protected] |
Definition at line 558 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 420 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::setLinkColor | ( | const std::string & | link_name, |
const QColor & | color | ||
) |
Definition at line 458 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 470 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::spawnBackgroundJob | ( | const boost::function< void()> & | job | ) |
Directly spawn a (detached) background thread for execution of this function call Should be used, when order of processing is not relevant / job can run in parallel. Must be used, when job will be blocking. Using addBackgroundJob() in this case will block other queued jobs as well
Definition at line 220 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetAllColors | ( | rviz::Robot * | robot | ) | [protected] |
Definition at line 434 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetGroupColor | ( | rviz::Robot * | robot, |
const std::string & | group_name | ||
) | [protected] |
Definition at line 444 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetLinkColor | ( | const std::string & | link_name | ) |
Definition at line 464 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetLinkColor | ( | rviz::Robot * | robot, |
const std::string & | link_name | ||
) | [protected] |
Definition at line 479 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 614 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 624 of file planning_scene_display.cpp.
Definition at line 231 of file planning_scene_display.cpp.
bool moveit_rviz_plugin::PlanningSceneDisplay::waitForCurrentRobotState | ( | const ros::Time & | t = ros::Time::now() | ) |
wait for robot state more recent than t
Definition at line 285 of file planning_scene_display.cpp.
rviz::ColorProperty* moveit_rviz_plugin::PlanningSceneDisplay::attached_body_color_property_ [protected] |
Definition at line 207 of file planning_scene_display.h.
moveit::tools::BackgroundProcessing moveit_rviz_plugin::PlanningSceneDisplay::background_process_ [protected] |
Definition at line 180 of file planning_scene_display.h.
float moveit_rviz_plugin::PlanningSceneDisplay::current_scene_time_ [protected] |
Definition at line 192 of file planning_scene_display.h.
std::deque<boost::function<void()> > moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_ [protected] |
Definition at line 181 of file planning_scene_display.h.
boost::condition_variable moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_empty_condition_ [protected] |
Definition at line 183 of file planning_scene_display.h.
boost::mutex moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_lock_ [protected] |
Definition at line 182 of file planning_scene_display.h.
bool moveit_rviz_plugin::PlanningSceneDisplay::model_is_loading_ [protected] |
Definition at line 177 of file planning_scene_display.h.
Definition at line 197 of file planning_scene_display.h.
Definition at line 210 of file planning_scene_display.h.
Definition at line 209 of file planning_scene_display.h.
planning_scene_monitor::PlanningSceneMonitorPtr moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_monitor_ [protected] |
Definition at line 176 of file planning_scene_display.h.
Definition at line 191 of file planning_scene_display.h.
Ogre::SceneNode* moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_node_ [protected] |
displays planning scene with everything in it
Definition at line 185 of file planning_scene_display.h.
PlanningSceneRenderPtr moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_render_ [protected] |
Definition at line 189 of file planning_scene_display.h.
RobotStateVisualizationPtr moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_robot_ [protected] |
Definition at line 188 of file planning_scene_display.h.
rviz::RosTopicProperty* moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_topic_property_ [protected] |
Definition at line 203 of file planning_scene_display.h.
Definition at line 204 of file planning_scene_display.h.
Definition at line 195 of file planning_scene_display.h.
rviz::StringProperty* moveit_rviz_plugin::PlanningSceneDisplay::robot_description_property_ [protected] |
Definition at line 198 of file planning_scene_display.h.
boost::mutex moveit_rviz_plugin::PlanningSceneDisplay::robot_model_loading_lock_ [protected] |
Definition at line 178 of file planning_scene_display.h.
Definition at line 205 of file planning_scene_display.h.
Definition at line 194 of file planning_scene_display.h.
Definition at line 206 of file planning_scene_display.h.
rviz::FloatProperty* moveit_rviz_plugin::PlanningSceneDisplay::scene_display_time_property_ [protected] |
Definition at line 208 of file planning_scene_display.h.
Definition at line 200 of file planning_scene_display.h.
Definition at line 199 of file planning_scene_display.h.
rviz::BoolProperty* moveit_rviz_plugin::PlanningSceneDisplay::scene_robot_collision_enabled_property_ [protected] |
Definition at line 202 of file planning_scene_display.h.
rviz::BoolProperty* moveit_rviz_plugin::PlanningSceneDisplay::scene_robot_visual_enabled_property_ [protected] |
Definition at line 201 of file planning_scene_display.h.