Ask Your Question
0

how to write c++ codes in ros, for analysing kinect depth datas?

asked 2016-05-12 13:37:17 -0600

dinesh gravatar image

im trying to write 3d computer vision in ros in c++, but it looks like c++ in ros is little different, so what is the important neceasary lines to add in c++ code for this, or what is basic format of ros c++, for kinect?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-12 16:36:25 -0600

curranw gravatar image

updated 2016-05-12 17:02:40 -0600

It's conceptually the same as in Python, just syntactically different. Include your message headers and parse the data using a c++ subscriber.

edit flag offensive delete link more

Comments

1

The answer from @curranw is correct... a PointCloud2 message is just like any other message. Subscribe to the data and work with it. However I will point out that it seems a huge majority of people working with C++ and point clouds tend to use PCL and pcl_ros

jarvisschultz gravatar imagejarvisschultz ( 2016-05-12 16:46:26 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-05-12 13:37:17 -0600

Seen: 123 times

Last updated: May 12 '16