|
|
@ -17,7 +17,7 @@ class Callback { |
|
|
*pcl = *msg; |
|
|
*pcl = *msg; |
|
|
// filtrage
|
|
|
// filtrage
|
|
|
double zmax(0.); |
|
|
double zmax(0.); |
|
|
ros::param::getCached("zmax", zmax); |
|
|
ros::param::getCached("/filtre/zmax", zmax); |
|
|
ROS_INFO("zmax : %f", zmax); |
|
|
ROS_INFO("zmax : %f", zmax); |
|
|
z_filtre.setFilterLimits(0.0, zmax); |
|
|
z_filtre.setFilterLimits(0.0, zmax); |
|
|
z_filtre.setInputCloud(pcl); |
|
|
z_filtre.setInputCloud(pcl); |
|
|
|