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

#include <robot_state_display.h>

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

List of all members.

Public Member Functions

const
robot_model::RobotModelConstPtr
getRobotModel () const
virtual void reset ()
 RobotStateDisplay ()
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)
virtual ~RobotStateDisplay ()

Protected Member Functions

void calculateOffsetPosition ()
 Set the scene node's position, given the target frame and the planning frame.
virtual void fixedFrameChanged ()
void loadRobotModel ()
void newRobotStateCallback (const moveit_msgs::DisplayRobotState::ConstPtr &state)
virtual void onDisable ()
virtual void onEnable ()
virtual void onInitialize ()
void setHighlight (const std::string &link_name, const std_msgs::ColorRGBA &color)
void setLinkColor (rviz::Robot *robot, const std::string &link_name, const QColor &color)
void setRobotHighlights (const moveit_msgs::DisplayRobotState::_highlight_links_type &highlight_links)
void unsetHighlight (const std::string &link_name)
void unsetLinkColor (rviz::Robot *robot, const std::string &link_name)

Protected Attributes

rviz::ColorPropertyattached_body_color_property_
rviz::BoolPropertyenable_collision_visible_
rviz::BoolPropertyenable_link_highlight_
rviz::BoolPropertyenable_visual_visible_
std::map< std::string,
std_msgs::ColorRGBA > 
highlights_
robot_model::RobotModelConstPtr kmodel_
robot_state::RobotStatePtr kstate_
rdf_loader::RDFLoaderPtr rdf_loader_
RobotStateVisualizationPtr robot_
rviz::FloatPropertyrobot_alpha_property_
rviz::StringPropertyrobot_description_property_
ros::Subscriber robot_state_subscriber_
rviz::RosTopicPropertyrobot_state_topic_property_
rviz::StringPropertyroot_link_name_property_
ros::NodeHandle root_nh_
rviz::BoolPropertyshow_all_links_
bool update_state_

Private Slots

void changedAllLinks ()
void changedAttachedBodyColor ()
void changedEnableCollisionVisible ()
void changedEnableLinkHighlight ()
void changedEnableVisualVisible ()
void changedRobotDescription ()
void changedRobotSceneAlpha ()
void changedRobotStateTopic ()
void changedRootLinkName ()

Detailed Description

Definition at line 64 of file robot_state_display.h.


Constructor & Destructor Documentation

Definition at line 57 of file robot_state_display.cpp.

Definition at line 105 of file robot_state_display.cpp.


Member Function Documentation

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

Definition at line 411 of file robot_state_display.cpp.

Definition at line 131 of file robot_state_display.cpp.

Definition at line 259 of file robot_state_display.cpp.

Definition at line 190 of file robot_state_display.cpp.

Definition at line 163 of file robot_state_display.cpp.

Definition at line 185 of file robot_state_display.cpp.

Definition at line 274 of file robot_state_display.cpp.

Definition at line 284 of file robot_state_display.cpp.

Definition at line 300 of file robot_state_display.cpp.

Definition at line 280 of file robot_state_display.cpp.

Reimplemented from rviz::Display.

Definition at line 442 of file robot_state_display.cpp.

Definition at line 76 of file robot_state_display.h.

Definition at line 351 of file robot_state_display.cpp.

void moveit_rviz_plugin::RobotStateDisplay::newRobotStateCallback ( const moveit_msgs::DisplayRobotState::ConstPtr &  state) [protected]

Definition at line 308 of file robot_state_display.cpp.

void moveit_rviz_plugin::RobotStateDisplay::onDisable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 391 of file robot_state_display.cpp.

void moveit_rviz_plugin::RobotStateDisplay::onEnable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 375 of file robot_state_display.cpp.

Reimplemented from rviz::Display.

Definition at line 109 of file robot_state_display.cpp.

Reimplemented from rviz::Display.

Definition at line 118 of file robot_state_display.cpp.

void moveit_rviz_plugin::RobotStateDisplay::setHighlight ( const std::string &  link_name,
const std_msgs::ColorRGBA &  color 
) [protected]

Definition at line 143 of file robot_state_display.cpp.

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

Definition at line 320 of file robot_state_display.cpp.

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

Definition at line 330 of file robot_state_display.cpp.

void moveit_rviz_plugin::RobotStateDisplay::setRobotHighlights ( const moveit_msgs::DisplayRobotState::_highlight_links_type &  highlight_links) [protected]

Definition at line 203 of file robot_state_display.cpp.

void moveit_rviz_plugin::RobotStateDisplay::unsetHighlight ( const std::string &  link_name) [protected]

Definition at line 153 of file robot_state_display.cpp.

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

Definition at line 325 of file robot_state_display.cpp.

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

Definition at line 339 of file robot_state_display.cpp.

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

Reimplemented from rviz::Display.

Definition at line 398 of file robot_state_display.cpp.


Member Data Documentation

Definition at line 138 of file robot_state_display.h.

Definition at line 141 of file robot_state_display.h.

Definition at line 139 of file robot_state_display.h.

Definition at line 140 of file robot_state_display.h.

std::map<std::string, std_msgs::ColorRGBA> moveit_rviz_plugin::RobotStateDisplay::highlights_ [protected]

Definition at line 131 of file robot_state_display.h.

Definition at line 129 of file robot_state_display.h.

Definition at line 130 of file robot_state_display.h.

Definition at line 128 of file robot_state_display.h.

Definition at line 127 of file robot_state_display.h.

Definition at line 137 of file robot_state_display.h.

Definition at line 134 of file robot_state_display.h.

Definition at line 125 of file robot_state_display.h.

Definition at line 136 of file robot_state_display.h.

Definition at line 135 of file robot_state_display.h.

Definition at line 124 of file robot_state_display.h.

Definition at line 142 of file robot_state_display.h.

Definition at line 132 of file robot_state_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