32 #ifndef OBSTACLE_POINTS_H 33 #define OBSTACLE_POINTS_H 43 #include <sensor_msgs/Range.h> 44 #include <sensor_msgs/LaserScan.h> 57 void reset(
const std::string & _frame,
59 const double & _min_range,
60 const double & _max_range,
61 const double & _min_angle,
62 const double & _max_angle);
82 const tf2::Vector3& origin,
83 const tf2::Vector3& left_vec,
84 const tf2::Vector3& right_vec);
128 void range_callback(
const sensor_msgs::Range::ConstPtr &msg);
129 void scan_callback(
const sensor_msgs::LaserScan::ConstPtr &msg);
144 typedef std::pair<tf2::Vector3, tf2::Vector3>
Line;
149 void add_test_point(tf2::Vector3 p);
150 void clear_test_points();
ros::Subscriber sonar_sub
void reset(const std::string &_frame, const int _increment, const double &_min_range, const double &_max_range, const double &_min_angle, const double &_max_angle)
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
std::vector< PolarLine > lidar_points
std::pair< tf2::Vector3, tf2::Vector3 > Line
std::map< std::string, RangeSensor > sensors
tf2::Vector3 lidar_normal
tf2_ros::Buffer & tf_buffer
std::vector< float > sinLUT
tf2::Vector3 right_vertex
tf2::Vector3 lidar_origin
std::vector< tf2::Vector3 > test_points