Gazebo | Ignition | Community
Ask Your Question
0

interface gazebo camera with c++ program

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

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
1

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

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

Question Tools

3 followers

Stats

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

Seen: 1,586 times

Last updated: Apr 27 '16