ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to execute a example in pcl tutorial

asked 2014-04-16 17:40:11 -0600

Ken_in_JAPAN gravatar image

updated 2014-04-17 05:23:21 -0600

I don't know how to execute an example in pcl tutorial( http://wiki.ros.org/pcl/Tutorials ). This question is same as this page ( http://answers.ros.org/question/48583... ), but the result was't shown on the page. Could anyone tell me how to execute it?

edit retag flag offensive close merge delete

Comments

This isn´t really a question asked to the community, but a question that gets answered immediately (?) It makes more sense to post an answer to the question you link above or edit the corresponding wiki page you link above with the additional info you provide.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-04-16 21:54:58 -0600 )edit

@Stefan Kohlbrecher: Thank you for your comments. Your comments is correct. If I answer your question, I gets an answer immediately and nobody check an article in 2012. Because some people post their question without checking same question. By the way, I may edit the corresponding wiki page?

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-17 05:20:47 -0600 )edit

Yes, after logging in you're free to edit the wiki page. Also, if someone finds the question from 2012 through search, you posting an answer to another place doesn't really help.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-04-17 08:09:20 -0600 )edit

Your comment is also right! I'll try to edit the wiki page. Thanks, @Stefan Kohlbrecher!

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-17 08:24:04 -0600 )edit

Speaking of raising an attention upon editing wiki, what I also like to do in order to get reviewed is to edit wiki, get a link for the diff (from `info` page on the particular wiki page), and post on issue tracker of the corresponding repository.

130s gravatar image 130s  ( 2014-04-17 09:05:05 -0600 )edit

Thanks, @IsaacSaito!

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-04-17 09:43:38 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-04-17 05:23:44 -0600

Ken_in_JAPAN gravatar image

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.

image description

This picture shows an environment in front of a kinect.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-04-16 17:40:11 -0600

Seen: 2,045 times

Last updated: Apr 17 '14