Add tolerance parameter

This commit is contained in:
Paul Bovbel
2015-01-18 11:43:24 -05:00
committed by Paul Bovbel
parent b9e0b5d213
commit fb5c47982c
3 changed files with 15 additions and 2 deletions
@@ -70,6 +70,8 @@ namespace pointcloud_to_laserscan
virtual void onInit();
void cloudCb(const sensor_msgs::PointCloud2ConstPtr &cloud_msg);
void failureCb(const sensor_msgs::PointCloud2ConstPtr &cloud_msg,
tf2_ros::filter_failure_reasons::FilterFailureReason reason);
void connectCb();
@@ -87,6 +89,7 @@ namespace pointcloud_to_laserscan
// ROS Parameters
unsigned int input_queue_size_;
std::string target_frame_;
double tolerance_;
double min_height_, max_height_, angle_min_, angle_max_, angle_increment_, scan_time_, range_min_, range_max_;
bool use_inf_;
};