Gazebo | Ignition | Community
Ask Your Question

interface gazebo camera with c++ program

asked 2016-04-22 08:03:39 -0500

g-emad gravatar image

how can i interface camera in gazebo which publish image topic , to non ros c++ program which take its input from usb web cam ?

can i make a node to convert the ros topic to fake usb cam or what please help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-27 12:51:34 -0500

pcdangio gravatar image

You can use the gazebo transport system. See this example. It will show you how to write an external C++ program that links against gazebo and can subscribe to gazebo transport topics. You can then write a gazebo plugin that publishes the camera data over a gazebo transport topic.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2016-04-22 08:03:39 -0500

Seen: 1,540 times

Last updated: Apr 27 '16