Commit 425e0980 authored by Kevin Fischer Rios's avatar Kevin Fischer Rios
Browse files

min_range_z is now -1.0 if exploration is running, this is necessary for the...

min_range_z is now -1.0 if exploration is running, this is necessary for the floor to be shown in /projected_map
parent 6b9a4b2f
......@@ -157,7 +157,7 @@ void depth_occupancy_map::updateDepthData(const sensor_msgs::PointCloud2::ConstP
float min_distance = 0.45;
ros::param::getCached("/depth_mapping/min_distance", min_distance);
const float max_range_z = 1.6;
const float min_range_z = 0.2;
float min_range_z = 0.2;
if(m_exploration){
min_range_z = -1.0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment