| 61 | |
| 62 | namespace roborts_costmap { |
| 63 | ObservationBuffer::ObservationBuffer(string topic_name, double observation_keep_time, double expected_update_rate, |
| 64 | double min_obstacle_height, double max_obstacle_height, double obstacle_range, |
| 65 | double raytrace_range, TransformListener& tf, string global_frame, |
| 66 | string sensor_frame, double tf_tolerance) : |
| 67 | tf_(tf), observation_keep_time_(observation_keep_time), expected_update_rate_(expected_update_rate), |
| 68 | last_updated_(ros::Time::now()), global_frame_(global_frame), sensor_frame_(sensor_frame), topic_name_(topic_name), |
| 69 | min_obstacle_height_(min_obstacle_height), max_obstacle_height_(max_obstacle_height), |
| 70 | obstacle_range_(obstacle_range), raytrace_range_(raytrace_range), tf_tolerance_(tf_tolerance) |
| 71 | { |
| 72 | } |
| 73 | |
| 74 | ObservationBuffer::~ObservationBuffer() |
| 75 | { |
nothing calls this directly
no outgoing calls
no test coverage detected