RangeSensor

From UWSim
Jump to: navigation, search

Range sensors provide vehicle distance measures to the nearest obstacle along the X axis. The output of the sensor can be published in a RangeSensorToROSRange ROS interface.

XML syntax

range sensors just require a name, relativeTo and range parameters.

  • name: This parameters sets the device name that will identify it.
  • relativeTo: The name of the vehicle's link where the device is attached.
  • range: Maximum distance of the range sensor. In case there is no object between the sensor and maximum distance the device will return maximum distance.
  • visible: Activates or deactivates the debug line that shows the range sensor pose in the main view of UWSim.
  • position: Initial position of the device with respect to the vehicle's link.
  • orientation: Initial rotation of the device with respect to the vehicle's link, stated in RPY.