Public Member Functions | Private Member Functions | Private Attributes | List of all members
TrackOdometryNode Class Reference

Public Member Functions

void cbTimer (const ros::TimerEvent &event)
 
void spin ()
 
 TrackOdometryNode ()
 

Private Member Functions

void cbImu (const sensor_msgs::Imu::Ptr &msg)
 
void cbOdom (const nav_msgs::Odometry::Ptr &msg)
 
void cbResetZ (const std_msgs::Float32::Ptr &msg)
 

Private Attributes

std::string base_link_id_
 
std::string base_link_id_overwrite_
 
bool debug_
 
float dist_
 
double gyro_zero_ [3]
 
bool has_imu_
 
bool has_odom_
 
sensor_msgs::Imu imu_
 
bool negative_slip_
 
ros::NodeHandle nh_
 
std::string odom_id_
 
nav_msgs::Odometry odom_prev_
 
nav_msgs::Odometry odomraw_prev_
 
ros::NodeHandle pnh_
 
double predict_filter_tc_
 
ros::Publisher pub_odom_
 
bool publish_tf_
 
double sigma_odom_
 
double sigma_predict_
 
KalmanFilter1 slip_
 
ros::Subscriber sub_imu_
 
ros::Subscriber sub_odom_
 
ros::Subscriber sub_reset_z_
 
tf2_ros::TransformBroadcaster tf_broadcaster_
 
tf2_ros::Buffer tf_buffer_
 
tf2_ros::TransformListener tf_listener_
 
double tf_tolerance_
 
bool use_kf_
 
bool without_odom_
 
double z_filter_timeconst_
 

Detailed Description

Definition at line 79 of file track_odometry.cpp.

Constructor & Destructor Documentation

TrackOdometryNode::TrackOdometryNode ( )
inline

Definition at line 272 of file track_odometry.cpp.

Member Function Documentation

void TrackOdometryNode::cbImu ( const sensor_msgs::Imu::Ptr &  msg)
inlineprivate

Definition at line 122 of file track_odometry.cpp.

void TrackOdometryNode::cbOdom ( const nav_msgs::Odometry::Ptr &  msg)
inlineprivate

Definition at line 184 of file track_odometry.cpp.

void TrackOdometryNode::cbResetZ ( const std_msgs::Float32::Ptr &  msg)
inlineprivate

Definition at line 118 of file track_odometry.cpp.

void TrackOdometryNode::cbTimer ( const ros::TimerEvent event)
inline

Definition at line 343 of file track_odometry.cpp.

void TrackOdometryNode::spin ( )
inline

Definition at line 352 of file track_odometry.cpp.

Member Data Documentation

std::string TrackOdometryNode::base_link_id_
private

Definition at line 94 of file track_odometry.cpp.

std::string TrackOdometryNode::base_link_id_overwrite_
private

Definition at line 95 of file track_odometry.cpp.

bool TrackOdometryNode::debug_
private

Definition at line 103 of file track_odometry.cpp.

float TrackOdometryNode::dist_
private

Definition at line 109 of file track_odometry.cpp.

double TrackOdometryNode::gyro_zero_[3]
private

Definition at line 99 of file track_odometry.cpp.

bool TrackOdometryNode::has_imu_
private

Definition at line 114 of file track_odometry.cpp.

bool TrackOdometryNode::has_odom_
private

Definition at line 115 of file track_odometry.cpp.

sensor_msgs::Imu TrackOdometryNode::imu_
private

Definition at line 98 of file track_odometry.cpp.

bool TrackOdometryNode::negative_slip_
private

Definition at line 105 of file track_odometry.cpp.

ros::NodeHandle TrackOdometryNode::nh_
private

Definition at line 82 of file track_odometry.cpp.

std::string TrackOdometryNode::odom_id_
private

Definition at line 96 of file track_odometry.cpp.

nav_msgs::Odometry TrackOdometryNode::odom_prev_
private

Definition at line 91 of file track_odometry.cpp.

nav_msgs::Odometry TrackOdometryNode::odomraw_prev_
private

Definition at line 92 of file track_odometry.cpp.

ros::NodeHandle TrackOdometryNode::pnh_
private

Definition at line 83 of file track_odometry.cpp.

double TrackOdometryNode::predict_filter_tc_
private

Definition at line 108 of file track_odometry.cpp.

ros::Publisher TrackOdometryNode::pub_odom_
private

Definition at line 87 of file track_odometry.cpp.

bool TrackOdometryNode::publish_tf_
private

Definition at line 116 of file track_odometry.cpp.

double TrackOdometryNode::sigma_odom_
private

Definition at line 107 of file track_odometry.cpp.

double TrackOdometryNode::sigma_predict_
private

Definition at line 106 of file track_odometry.cpp.

KalmanFilter1 TrackOdometryNode::slip_
private

Definition at line 112 of file track_odometry.cpp.

ros::Subscriber TrackOdometryNode::sub_imu_
private

Definition at line 85 of file track_odometry.cpp.

ros::Subscriber TrackOdometryNode::sub_odom_
private

Definition at line 84 of file track_odometry.cpp.

ros::Subscriber TrackOdometryNode::sub_reset_z_
private

Definition at line 86 of file track_odometry.cpp.

tf2_ros::TransformBroadcaster TrackOdometryNode::tf_broadcaster_
private

Definition at line 90 of file track_odometry.cpp.

tf2_ros::Buffer TrackOdometryNode::tf_buffer_
private

Definition at line 88 of file track_odometry.cpp.

tf2_ros::TransformListener TrackOdometryNode::tf_listener_
private

Definition at line 89 of file track_odometry.cpp.

double TrackOdometryNode::tf_tolerance_
private

Definition at line 101 of file track_odometry.cpp.

bool TrackOdometryNode::use_kf_
private

Definition at line 104 of file track_odometry.cpp.

bool TrackOdometryNode::without_odom_
private

Definition at line 110 of file track_odometry.cpp.

double TrackOdometryNode::z_filter_timeconst_
private

Definition at line 100 of file track_odometry.cpp.


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


track_odometry
Author(s): Atsushi Watanabe
autogenerated on Tue Jul 9 2019 05:00:05