How to publish the virtual gazebo camera feed to a ROS topic in SITL?

I want to publish the Gazebo’s virtual camera stream to a ROS topic. The documentation page says that this is done using the “ros_gazebo_camera” package. However, I can’t find this package anywhere. Hence, I think this info. is outdated or false.

doc link: http://ardupilot.org/dev/docs/using-gazebo-simulator-with-sitl.html

Is there any workaround to publish the virtual camera feed to a ROS topic?

I’m trying this with the default SITL “iris_demo” model.

I’m looking into it too, did you find anything?

No, I migrated to PX4 and MAVSDK which were much easier and better documented tbh. I also didn’t have to use ROS in order to use the virtual camera feed.

I’ve used it to do the following project: https://www.youtube.com/watch?v=lc4bMRS7228

1 Like