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

Revision history [back]

I believe there is no pre-made plugin that does exactly what you´re asking for. You basically have two practical options:

  • Write your own Gazebo plugin, possibly based on a existing one like gazebo_ros_camera. This gives you most control over what is actually done in Gazebo (short of diving into Gazebo´s sources themselves)
  • Create a ROS node that subscribes to (stream) data from a existing camera plugin and just forward data selectively.

The latter option certainly is the easier one to implement and would be preferred if you can live with a few wasted CPU cycles.