Public Member Functions | Private Member Functions | Private Attributes
IMUCompass Class Reference

#include <imu_compass.h>

List of all members.

Public Member Functions

 IMUCompass (ros::NodeHandle &n)
 ~IMUCompass ()

Private Member Functions

void debugCallback (const ros::TimerEvent &)
void declCallback (const std_msgs::Float32 &data)
void imuCallback (sensor_msgs::ImuPtr data)
void initFilter (double heading_meas)
void magCallback (const geometry_msgs::Vector3StampedConstPtr &data)
void repackageImuPublish (tf::StampedTransform)

Private Attributes

ros::Publisher compass_pub_
double curr_heading_
double curr_heading_variance_
sensor_msgs::ImuPtr curr_imu_reading_
ros::Timer debug_timer_
ros::Subscriber decl_sub_
bool filter_initialized_
bool first_gyro_reading_
bool first_mag_reading_
bool gyro_update_complete_
double heading_prediction_
double heading_prediction_variance_
double heading_variance_prediction_
ros::Publisher imu_pub_
ros::Subscriber imu_sub_
double last_measurement_update_time_
double last_motion_update_time_
tf::TransformListener listener_
double mag_declination_
ros::Publisher mag_pub_
ros::Subscriber mag_sub_
double mag_zero_x_
double mag_zero_y_
double mag_zero_z_
ros::NodeHandle node_
ros::Publisher raw_compass_pub_
double sensor_timeout_
double yaw_meas_variance_

Detailed Description

Definition at line 34 of file imu_compass.h.


Constructor & Destructor Documentation

Definition at line 31 of file imu_compass.cpp.

Definition at line 85 of file imu_compass.h.


Member Function Documentation

void IMUCompass::debugCallback ( const ros::TimerEvent ) [private]

Definition at line 68 of file imu_compass.cpp.

void IMUCompass::declCallback ( const std_msgs::Float32 &  data) [private]

Definition at line 128 of file imu_compass.cpp.

void IMUCompass::imuCallback ( sensor_msgs::ImuPtr  data) [private]

Definition at line 88 of file imu_compass.cpp.

void IMUCompass::initFilter ( double  heading_meas) [private]

Definition at line 268 of file imu_compass.cpp.

void IMUCompass::magCallback ( const geometry_msgs::Vector3StampedConstPtr &  data) [private]

Definition at line 133 of file imu_compass.cpp.

Definition at line 236 of file imu_compass.cpp.


Member Data Documentation

Definition at line 43 of file imu_compass.h.

double IMUCompass::curr_heading_ [private]

Definition at line 68 of file imu_compass.h.

Definition at line 69 of file imu_compass.h.

sensor_msgs::ImuPtr IMUCompass::curr_imu_reading_ [private]

Definition at line 64 of file imu_compass.h.

Definition at line 47 of file imu_compass.h.

Definition at line 40 of file imu_compass.h.

Definition at line 59 of file imu_compass.h.

Definition at line 58 of file imu_compass.h.

Definition at line 57 of file imu_compass.h.

Definition at line 60 of file imu_compass.h.

Definition at line 73 of file imu_compass.h.

Definition at line 75 of file imu_compass.h.

Definition at line 74 of file imu_compass.h.

Definition at line 41 of file imu_compass.h.

Definition at line 38 of file imu_compass.h.

Definition at line 78 of file imu_compass.h.

Definition at line 77 of file imu_compass.h.

Definition at line 46 of file imu_compass.h.

double IMUCompass::mag_declination_ [private]

Definition at line 76 of file imu_compass.h.

Definition at line 42 of file imu_compass.h.

Definition at line 39 of file imu_compass.h.

double IMUCompass::mag_zero_x_ [private]

Definition at line 62 of file imu_compass.h.

double IMUCompass::mag_zero_y_ [private]

Definition at line 62 of file imu_compass.h.

double IMUCompass::mag_zero_z_ [private]

Definition at line 62 of file imu_compass.h.

Definition at line 37 of file imu_compass.h.

Definition at line 44 of file imu_compass.h.

double IMUCompass::sensor_timeout_ [private]

Definition at line 70 of file imu_compass.h.

Definition at line 81 of file imu_compass.h.


The documentation for this class was generated from the following files:


imu_compass
Author(s):
autogenerated on Thu Jun 6 2019 20:40:40