12 #ifndef __BED_DETECTION_CLASS_H__ 13 #define __BED_DETECTION_CLASS_H__ 24 #include <sensor_msgs/NavSatFix.h> 25 #include <nav_msgs/Odometry.h> 26 #include <std_msgs/Bool.h> 28 namespace nm = nav_msgs;
90 #endif // __BED_DETECTION_CLASS_H__
bool _is_init
states if system is init
ros::Publisher _pub_is_straight
ros::NodeHandle _pnh
private node handle
BedDetection(const ros::NodeHandle &node_handle, const ros::NodeHandle &private_node_handle)
void cb_is_straight(const nm::OdometryPtr &odom_sub)
This class implements the detection of a bed given an odometry.
ros::NodeHandle _nh
node handle
ros::Subscriber _sub_odom