#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 641 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedAttachedBodyColor | ( | ) | [private, slot] |
Definition at line 295 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedMoveGroupNS | ( | ) | [private, slot] |
Definition at line 305 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedOctreeColorMode | ( | ) | [private, slot] |
Definition at line 385 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedOctreeRenderMode | ( | ) | [private, slot] |
Definition at line 381 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedPlanningSceneTopic | ( | ) | [private, slot] |
Definition at line 365 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedRobotDescription | ( | ) | [private, slot] |
Definition at line 311 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedRobotSceneAlpha | ( | ) | [private, slot] |
Definition at line 356 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneAlpha | ( | ) | [private, slot] |
Definition at line 351 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneColor | ( | ) | [private, slot] |
Definition at line 300 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneDisplayTime | ( | ) | [private, slot] |
Definition at line 377 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneEnabled | ( | ) | [private, slot] |
Definition at line 407 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneName | ( | ) | [private, slot] |
Definition at line 317 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneRobotCollisionEnabled | ( | ) | [private, slot] |
Definition at line 398 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::changedSceneRobotVisualEnabled | ( | ) | [private, slot] |
Definition at line 389 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 491 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 484 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 655 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 |
Definition at line 285 of file planning_scene_display.cpp.
planning_scene_monitor::LockedPlanningSceneRW moveit_rviz_plugin::PlanningSceneDisplay::getPlanningSceneRW | ( | ) |
Definition at line 290 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 628 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 498 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 589 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 568 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 531 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 557 of file planning_scene_display.cpp.
Definition at line 602 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::renderPlanningScene | ( | ) | [protected] |
Definition at line 324 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 633 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::sceneMonitorReceivedUpdate | ( | planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType | update_type | ) | [protected] |
Definition at line 551 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 413 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::setLinkColor | ( | const std::string & | link_name, |
const QColor & | color | ||
) |
Definition at line 451 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 463 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 427 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetGroupColor | ( | rviz::Robot * | robot, |
const std::string & | group_name | ||
) | [protected] |
Definition at line 437 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetLinkColor | ( | const std::string & | link_name | ) |
Definition at line 457 of file planning_scene_display.cpp.
void moveit_rviz_plugin::PlanningSceneDisplay::unsetLinkColor | ( | rviz::Robot * | robot, |
const std::string & | link_name | ||
) | [protected] |
Definition at line 472 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 607 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 617 of file planning_scene_display.cpp.
Definition at line 231 of file planning_scene_display.cpp.
rviz::ColorProperty* moveit_rviz_plugin::PlanningSceneDisplay::attached_body_color_property_ [protected] |
Definition at line 202 of file planning_scene_display.h.
moveit::tools::BackgroundProcessing moveit_rviz_plugin::PlanningSceneDisplay::background_process_ [protected] |
Definition at line 175 of file planning_scene_display.h.
float moveit_rviz_plugin::PlanningSceneDisplay::current_scene_time_ [protected] |
Definition at line 187 of file planning_scene_display.h.
std::deque<boost::function<void()> > moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_ [protected] |
Definition at line 176 of file planning_scene_display.h.
boost::condition_variable moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_empty_condition_ [protected] |
Definition at line 178 of file planning_scene_display.h.
boost::mutex moveit_rviz_plugin::PlanningSceneDisplay::main_loop_jobs_lock_ [protected] |
Definition at line 177 of file planning_scene_display.h.
bool moveit_rviz_plugin::PlanningSceneDisplay::model_is_loading_ [protected] |
Definition at line 172 of file planning_scene_display.h.
Definition at line 192 of file planning_scene_display.h.
Definition at line 205 of file planning_scene_display.h.
Definition at line 204 of file planning_scene_display.h.
planning_scene_monitor::PlanningSceneMonitorPtr moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_monitor_ [protected] |
Definition at line 171 of file planning_scene_display.h.
Definition at line 186 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 180 of file planning_scene_display.h.
PlanningSceneRenderPtr moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_render_ [protected] |
Definition at line 184 of file planning_scene_display.h.
RobotStateVisualizationPtr moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_robot_ [protected] |
Definition at line 183 of file planning_scene_display.h.
rviz::RosTopicProperty* moveit_rviz_plugin::PlanningSceneDisplay::planning_scene_topic_property_ [protected] |
Definition at line 198 of file planning_scene_display.h.
Definition at line 199 of file planning_scene_display.h.
Definition at line 190 of file planning_scene_display.h.
rviz::StringProperty* moveit_rviz_plugin::PlanningSceneDisplay::robot_description_property_ [protected] |
Definition at line 193 of file planning_scene_display.h.
boost::mutex moveit_rviz_plugin::PlanningSceneDisplay::robot_model_loading_lock_ [protected] |
Definition at line 173 of file planning_scene_display.h.
Definition at line 200 of file planning_scene_display.h.
Definition at line 189 of file planning_scene_display.h.
Definition at line 201 of file planning_scene_display.h.
rviz::FloatProperty* moveit_rviz_plugin::PlanningSceneDisplay::scene_display_time_property_ [protected] |
Definition at line 203 of file planning_scene_display.h.
Definition at line 195 of file planning_scene_display.h.
Definition at line 194 of file planning_scene_display.h.
rviz::BoolProperty* moveit_rviz_plugin::PlanningSceneDisplay::scene_robot_collision_enabled_property_ [protected] |
Definition at line 197 of file planning_scene_display.h.
rviz::BoolProperty* moveit_rviz_plugin::PlanningSceneDisplay::scene_robot_visual_enabled_property_ [protected] |
Definition at line 196 of file planning_scene_display.h.