VirtualCameraToROSImage

From UWSim
Jump to: navigation, search

VirtualCameraToROSImage interface is the publisher for virtualCamera inside rosInterfaces block. This interface publishes images of the virtual camera in different formats using ROS image transport.

XML syntax

In order to add this interface the name of the camera sensor and image /info topics are required.

  • cameraName: Name of the camera sensor.
  • imageTopic: Topic for image publishing.
  • infoTopic: Topic for image info publishing.
  • rate: Publishing rate.
  • depth: Sets/unset the coding 32FC1 for depth images.