ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I understood it ,so I will describe here for anyone who have a trouble. In order to execute a example_voxelgrid.cpp, I had to input three command on three terminals. As an additional information, I use a kinect.
roslaunch openni_launch openni.launch rosrun my_pcl_tutorial example input:=/camera/depth/points rosrun rviz rviz
The Input on the second sentence means a topic that is shown with rostopic list
.
On Rviz, you have to change some parameters.
Fixed Frame: map -> camera_link PointCloud2/Topic: /output
This output on above means 37 line in example_voxelgrid.cpp. The results of executing the preceding statement are shown below.
This picture shows an environment in front of a kinect.