All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
jsk_rviz_plugin::EffortDisplay Class Reference

#include <effort_display.h>

Inheritance diagram for jsk_rviz_plugin::EffortDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void createProperties ()
 EffortDisplay ()
virtual void fixedFrameChanged ()
bool getAllEnabled ()
float getAlpha ()
int getHistoryLength () const
std::stringgetRobotDescription ()
float getScale ()
const std::stringgetTopic ()
float getWidth ()
void load ()
virtual void onInitialize ()
virtual void reset ()
void setAllEnabled (bool enabled)
void setAlpha (float alpha)
void setHistoryLength (int history_length)
void setJointEnabled (JointInfo *joint, bool enabled)
void setRobotDescription (const std::string &description_param)
void setScale (float scale)
void setTopic (const std::string &topic)
void setWidth (float width)
virtual ~EffortDisplay ()

Protected Member Functions

JointInfocreateJoint (const std::string &joint)
void deleteJoint (JointInfo *joint, bool delete_properties)
JointInfogetJointInfo (const std::string &joint)
virtual void onDisable ()
virtual void onEnable ()
void updateJoint (JointInfo *joint)

Private Types

typedef std::map< std::string,
JointInfo * > 
M_JointInfo
typedef std::vector
< EffortVisual * > 
MapEffortVisual

Private Member Functions

void clear ()
void incomingMessage (const sensor_msgs::JointState::ConstPtr &msg)
void subscribe ()
void unsubscribe ()
void updateColorAndAlpha ()

Private Attributes

bool all_enabled_
rviz::BoolPropertyWPtr all_enabled_property_
float alpha_
rviz::FloatPropertyWPtr alpha_property_
std::string description_param_
int history_length_
rviz::IntPropertyWPtr history_length_property_
M_JointInfo joints_
rviz::CategoryPropertyWPtr joints_category_
int messages_received_
rviz::StringPropertyWPtr robot_description_property_
float scale_
rviz::FloatPropertyWPtr scale_property_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< sensor_msgs::JointState > 
sub_
tf::MessageFilterJointStatetf_filter_
std::string topic_
rviz::ROSTopicStringPropertyWPtr topic_property_
boost::shared_ptr< urdf::ModelurdfModel
MapEffortVisual visuals_
float width_
rviz::FloatPropertyWPtr width_property_

Detailed Description

Definition at line 33 of file effort_display.h.


Member Typedef Documentation

Definition at line 116 of file effort_display.h.

Definition at line 105 of file effort_display.h.


Constructor & Destructor Documentation

Definition at line 569 of file effort_display.cpp.

Definition at line 607 of file effort_display.cpp.


Member Function Documentation

void jsk_rviz_plugin::EffortDisplay::clear ( void  ) [private]

Definition at line 617 of file effort_display.cpp.

Definition at line 532 of file effort_display.cpp.

Reimplemented from rviz::Display.

Definition at line 927 of file effort_display.cpp.

void jsk_rviz_plugin::EffortDisplay::deleteJoint ( JointInfo joint,
bool  delete_properties 
) [protected]

Definition at line 565 of file effort_display.cpp.

Reimplemented from rviz::Display.

Definition at line 832 of file effort_display.cpp.

Definition at line 67 of file effort_display.h.

Definition at line 52 of file effort_display.h.

Definition at line 61 of file effort_display.h.

Definition at line 515 of file effort_display.cpp.

Definition at line 65 of file effort_display.h.

float jsk_rviz_plugin::EffortDisplay::getScale ( void  ) [inline]

Definition at line 58 of file effort_display.h.

Definition at line 49 of file effort_display.h.

Definition at line 55 of file effort_display.h.

void jsk_rviz_plugin::EffortDisplay::incomingMessage ( const sensor_msgs::JointState::ConstPtr &  msg) [private]

Definition at line 839 of file effort_display.cpp.

Definition at line 728 of file effort_display.cpp.

void jsk_rviz_plugin::EffortDisplay::onDisable ( ) [protected, virtual]

Implements rviz::Display.

Definition at line 824 of file effort_display.cpp.

void jsk_rviz_plugin::EffortDisplay::onEnable ( ) [protected, virtual]

Implements rviz::Display.

Definition at line 819 of file effort_display.cpp.

Reimplemented from rviz::Display.

Definition at line 580 of file effort_display.cpp.

Reimplemented from rviz::Display.

Definition at line 921 of file effort_display.cpp.

Definition at line 768 of file effort_display.cpp.

Definition at line 642 of file effort_display.cpp.

Definition at line 682 of file effort_display.cpp.

Definition at line 526 of file effort_display.cpp.

Definition at line 753 of file effort_display.cpp.

Definition at line 660 of file effort_display.cpp.

Definition at line 628 of file effort_display.cpp.

Definition at line 651 of file effort_display.cpp.

Definition at line 785 of file effort_display.cpp.

Definition at line 814 of file effort_display.cpp.

Definition at line 670 of file effort_display.cpp.

Definition at line 561 of file effort_display.cpp.


Member Data Documentation

Definition at line 123 of file effort_display.h.

Definition at line 132 of file effort_display.h.

Definition at line 121 of file effort_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugin::EffortDisplay::alpha_property_ [private]

Definition at line 127 of file effort_display.h.

Definition at line 120 of file effort_display.h.

Definition at line 122 of file effort_display.h.

Definition at line 128 of file effort_display.h.

Definition at line 117 of file effort_display.h.

rviz::CategoryPropertyWPtr jsk_rviz_plugin::EffortDisplay::joints_category_ [private]

Definition at line 131 of file effort_display.h.

Definition at line 114 of file effort_display.h.

Definition at line 130 of file effort_display.h.

Definition at line 121 of file effort_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugin::EffortDisplay::scale_property_ [private]

Definition at line 127 of file effort_display.h.

Ogre::SceneNode* jsk_rviz_plugin::EffortDisplay::scene_node_ [private]

Definition at line 109 of file effort_display.h.

Definition at line 112 of file effort_display.h.

Definition at line 113 of file effort_display.h.

Definition at line 120 of file effort_display.h.

rviz::ROSTopicStringPropertyWPtr jsk_rviz_plugin::EffortDisplay::topic_property_ [private]

Definition at line 126 of file effort_display.h.

Definition at line 135 of file effort_display.h.

Definition at line 106 of file effort_display.h.

Definition at line 121 of file effort_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugin::EffortDisplay::width_property_ [private]

Definition at line 127 of file effort_display.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


jsk_rviz_plugins
Author(s): Kei Okada
autogenerated on Sat Mar 23 2013 20:30:29