nxt_rviz_plugin::NXTUltrasonicDisplay Class Reference

Displays a nxt_msgs::Range message. More...

#include <nxt_ultrasonic_display.h>

List of all members.

Public Member Functions

virtual void createProperties ()
virtual void fixedFrameChanged ()
float getAlpha ()
const rviz::Color & getColor ()
const std::string & getTopic ()
virtual const char * getType () const
 NXTUltrasonicDisplay (const std::string &name, rviz::VisualizationManager *manager)
virtual void reset ()
void setAlpha (float alpha)
void setColor (const rviz::Color &color)
void setTopic (const std::string &topic)
virtual void targetFrameChanged ()
virtual void update (float wall_dt, float ros_dt)
virtual ~NXTUltrasonicDisplay ()

Static Public Member Functions

static const char * getDescription ()
static const char * getTypeStatic ()

Protected Member Functions

void clear ()
void incomingMessage (const nxt_msgs::Range::ConstPtr &msg)
virtual void onDisable ()
virtual void onEnable ()
void processMessage (const nxt_msgs::Range::ConstPtr &msg)
void subscribe ()
void unsubscribe ()

Protected Attributes

float alpha_
rviz::FloatPropertyWPtr alpha_property_
rviz::Color color_
rviz::ColorPropertyWPtr color_property_
ogre_tools::Shape * cone_
 Handles actually drawing the cone.
nxt_msgs::Range::ConstPtr current_message_
uint32_t messages_received_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< nxt_msgs::Range > 
sub_
tf::MessageFilter
< nxt_msgs::Range > 
tf_filter_
std::string topic_
rviz::ROSTopicStringPropertyWPtr topic_property_

Detailed Description

Displays a nxt_msgs::Range message.

Definition at line 63 of file nxt_ultrasonic_display.h.


Constructor & Destructor Documentation

nxt_rviz_plugin::NXTUltrasonicDisplay::NXTUltrasonicDisplay ( const std::string &  name,
rviz::VisualizationManager *  manager 
)

Definition at line 18 of file nxt_ultrasonic_display.cpp.

nxt_rviz_plugin::NXTUltrasonicDisplay::~NXTUltrasonicDisplay (  )  [virtual]

Definition at line 41 of file nxt_ultrasonic_display.cpp.


Member Function Documentation

void nxt_rviz_plugin::NXTUltrasonicDisplay::clear (  )  [protected]

Definition at line 48 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::createProperties (  )  [virtual]

Definition at line 175 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::fixedFrameChanged (  )  [virtual]

Definition at line 116 of file nxt_ultrasonic_display.cpp.

float nxt_rviz_plugin::NXTUltrasonicDisplay::getAlpha (  )  [inline]

Definition at line 76 of file nxt_ultrasonic_display.h.

const rviz::Color& nxt_rviz_plugin::NXTUltrasonicDisplay::getColor (  )  [inline]

Definition at line 73 of file nxt_ultrasonic_display.h.

const char * nxt_rviz_plugin::NXTUltrasonicDisplay::getDescription (  )  [static]

Definition at line 190 of file nxt_ultrasonic_display.cpp.

const std::string& nxt_rviz_plugin::NXTUltrasonicDisplay::getTopic (  )  [inline]

Definition at line 70 of file nxt_ultrasonic_display.h.

virtual const char* nxt_rviz_plugin::NXTUltrasonicDisplay::getType (  )  const [inline, virtual]

Definition at line 86 of file nxt_ultrasonic_display.h.

static const char* nxt_rviz_plugin::NXTUltrasonicDisplay::getTypeStatic (  )  [inline, static]

Definition at line 85 of file nxt_ultrasonic_display.h.

void nxt_rviz_plugin::NXTUltrasonicDisplay::incomingMessage ( const nxt_msgs::Range::ConstPtr &  msg  )  [protected]

Definition at line 164 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::onDisable (  )  [protected, virtual]

Definition at line 109 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::onEnable (  )  [protected, virtual]

Definition at line 103 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::processMessage ( const nxt_msgs::Range::ConstPtr &  msg  )  [protected]

Definition at line 128 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::reset (  )  [virtual]

Definition at line 169 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::setAlpha ( float  alpha  ) 

Definition at line 78 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::setColor ( const rviz::Color &  color  ) 

Definition at line 68 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::setTopic ( const std::string &  topic  ) 

Definition at line 55 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::subscribe (  )  [protected]

Definition at line 88 of file nxt_ultrasonic_display.cpp.

virtual void nxt_rviz_plugin::NXTUltrasonicDisplay::targetFrameChanged (  )  [inline, virtual]

Definition at line 79 of file nxt_ultrasonic_display.h.

void nxt_rviz_plugin::NXTUltrasonicDisplay::unsubscribe (  )  [protected]

Definition at line 98 of file nxt_ultrasonic_display.cpp.

void nxt_rviz_plugin::NXTUltrasonicDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Definition at line 123 of file nxt_ultrasonic_display.cpp.


Member Data Documentation

Definition at line 102 of file nxt_ultrasonic_display.h.

rviz::FloatPropertyWPtr nxt_rviz_plugin::NXTUltrasonicDisplay::alpha_property_ [protected]

Definition at line 115 of file nxt_ultrasonic_display.h.

Definition at line 101 of file nxt_ultrasonic_display.h.

rviz::ColorPropertyWPtr nxt_rviz_plugin::NXTUltrasonicDisplay::color_property_ [protected]

Definition at line 113 of file nxt_ultrasonic_display.h.

ogre_tools::Shape* nxt_rviz_plugin::NXTUltrasonicDisplay::cone_ [protected]

Handles actually drawing the cone.

Definition at line 107 of file nxt_ultrasonic_display.h.

nxt_msgs::Range::ConstPtr nxt_rviz_plugin::NXTUltrasonicDisplay::current_message_ [protected]

Definition at line 111 of file nxt_ultrasonic_display.h.

Definition at line 104 of file nxt_ultrasonic_display.h.

Definition at line 106 of file nxt_ultrasonic_display.h.

message_filters::Subscriber<nxt_msgs::Range> nxt_rviz_plugin::NXTUltrasonicDisplay::sub_ [protected]

Definition at line 109 of file nxt_ultrasonic_display.h.

tf::MessageFilter<nxt_msgs::Range> nxt_rviz_plugin::NXTUltrasonicDisplay::tf_filter_ [protected]

Definition at line 110 of file nxt_ultrasonic_display.h.

Definition at line 100 of file nxt_ultrasonic_display.h.

rviz::ROSTopicStringPropertyWPtr nxt_rviz_plugin::NXTUltrasonicDisplay::topic_property_ [protected]

Definition at line 114 of file nxt_ultrasonic_display.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables


nxt_rviz_plugin
Author(s): Melonee Wise
autogenerated on Fri Jan 11 09:57:27 2013