ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can use openni_launch package for obtaining the kinect pointcloud. Then write a node that subscribes to the topic with a callback pcl::PointCloud<pcl::pointxyz>. ROS will do the conversion for you. Then just access the Z values to get your minimal distance. One of the ways to implement this is shown here http://wiki.ros.org/pcl_ros
2 | No.2 Revision |
You can use openni_launch package for obtaining the kinect pointcloud. Then write a node that subscribes to the topic with a callback pcl::PointCloud<pcl::pointxyz>. pcl::PointCloud < pcl::PointXYZ>. ROS will do the conversion for you. Then just access the Z values to get your minimal distance. One of the ways to implement this is shown here http://wiki.ros.org/pcl_ros