SMACC
|
#include <imu_visual.h>
Public Member Functions | |
ImuVisual (Ogre::SceneManager *scene_manager, Ogre::SceneNode *parent_node) | |
virtual | ~ImuVisual () |
void | setMessage (const sensor_msgs::Imu::ConstPtr &msg) |
void | setFramePosition (const Ogre::Vector3 &position) |
void | setFrameOrientation (const Ogre::Quaternion &orientation) |
void | setColor (float r, float g, float b, float a) |
Private Attributes | |
boost::shared_ptr< rviz::Arrow > | acceleration_arrow_ |
Ogre::SceneNode * | frame_node_ |
Ogre::SceneManager * | scene_manager_ |
Definition at line 49 of file imu_visual.h.
smacc_rviz_plugin::ImuVisual::ImuVisual | ( | Ogre::SceneManager * | scene_manager, |
Ogre::SceneNode * | parent_node | ||
) |
Definition at line 42 of file imu_visual.cpp.
References acceleration_arrow_, frame_node_, and scene_manager_.
|
virtual |
Definition at line 60 of file imu_visual.cpp.
References frame_node_, and scene_manager_.
void smacc_rviz_plugin::ImuVisual::setColor | ( | float | r, |
float | g, | ||
float | b, | ||
float | a | ||
) |
Definition at line 97 of file imu_visual.cpp.
References acceleration_arrow_.
void smacc_rviz_plugin::ImuVisual::setFrameOrientation | ( | const Ogre::Quaternion & | orientation | ) |
Definition at line 91 of file imu_visual.cpp.
References frame_node_.
void smacc_rviz_plugin::ImuVisual::setFramePosition | ( | const Ogre::Vector3 & | position | ) |
Definition at line 86 of file imu_visual.cpp.
References frame_node_.
void smacc_rviz_plugin::ImuVisual::setMessage | ( | const sensor_msgs::Imu::ConstPtr & | msg | ) |
Definition at line 66 of file imu_visual.cpp.
References acceleration_arrow_.
|
private |
Definition at line 76 of file imu_visual.h.
Referenced by ImuVisual(), setColor(), and setMessage().
|
private |
Definition at line 80 of file imu_visual.h.
Referenced by ImuVisual(), setFrameOrientation(), setFramePosition(), and ~ImuVisual().
|
private |
Definition at line 84 of file imu_visual.h.
Referenced by ImuVisual(), and ~ImuVisual().