28 #ifndef VESC_ACKERMANN_VESC_TO_ODOM_H_ 29 #define VESC_ACKERMANN_VESC_TO_ODOM_H_ 35 #include <vesc_msgs/VescStateStamped.h> 36 #include <std_msgs/Float64.h> 68 std::shared_ptr<tf::TransformBroadcaster>
tf_pub_;
77 #endif // VESC_ACKERMANN_VESC_TO_ODOM_H_ void vescStateCallback(const vesc_msgs::VescStateStamped::ConstPtr &state)
double speed_to_erpm_offset_
vesc_msgs::VescStateStamped::ConstPtr last_state_
Last received state message.
std::shared_ptr< tf::TransformBroadcaster > tf_pub_
void servoCmdCallback(const std_msgs::Float64::ConstPtr &servo)
double steering_to_servo_gain_
std_msgs::Float64::ConstPtr last_servo_cmd_
Last servo position commanded value.
double steering_to_servo_offset_
ros::Subscriber vesc_state_sub_
ros::Subscriber servo_sub_
double speed_to_erpm_gain_
VescToOdom(ros::NodeHandle nh, ros::NodeHandle private_nh)