#include <listener.h>
Public Member Functions | |
geometry_msgs::Vector3 & | getImu () const |
float | getTiltAngle () const |
float | getTiltStatus () const |
Listener (ros::NodeHandle nh) | |
Private Member Functions | |
void | curTiltAngleCallback (const std_msgs::Float64 msg) |
void | curTiltStatusCallback (const std_msgs::UInt8 msg) |
void | imuCallback (const sensor_msgs::ImuConstPtr &msg) |
Private Attributes | |
ros::Subscriber | m_CurTiltAngleSubscriber |
ros::Subscriber | m_CurTiltStatusSubscriber |
geometry_msgs::Vector3 | m_Imu |
float | m_TiltAngle |
int | m_TiltStatus |
Definition at line 26 of file listener.h.
Definition at line 8 of file listener.cpp.
void Listener::curTiltAngleCallback | ( | const std_msgs::Float64 | msg | ) | [private] |
Definition at line 15 of file listener.cpp.
void Listener::curTiltStatusCallback | ( | const std_msgs::UInt8 | msg | ) | [private] |
Definition at line 20 of file listener.cpp.
geometry_msgs::Vector3& Listener::getImu | ( | ) | const [inline] |
Definition at line 36 of file listener.h.
float Listener::getTiltAngle | ( | ) | const [inline] |
Definition at line 34 of file listener.h.
float Listener::getTiltStatus | ( | ) | const [inline] |
Definition at line 35 of file listener.h.
void Listener::imuCallback | ( | const sensor_msgs::ImuConstPtr & | msg | ) | [private] |
Definition at line 25 of file listener.cpp.
Definition at line 44 of file listener.h.
Definition at line 45 of file listener.h.
geometry_msgs::Vector3 Listener::m_Imu [private] |
Definition at line 50 of file listener.h.
float Listener::m_TiltAngle [private] |
Definition at line 47 of file listener.h.
int Listener::m_TiltStatus [private] |
Definition at line 48 of file listener.h.