ContactSensorToROS

From UWSim
Jump to: navigation, search

ContactSensorToROS interface is a contact publisher inside rosInterfaces block. This interface publishes if the vehicle is colliding or not using a simple ROS bool message.

XML syntax

In order to add this interface the name of the sensor and a topic name are required.

  • name: Name of the vehicle.
  • topic: Topic for publishing the sensor readings.
  • rate: Publishing rate.