Difference between pages "ROSImageToHUD" and "ContactSensorToROS"

From UWSim
(Difference between pages)
Jump to: navigation, search
(Created page with "ROSImageToHUD interface is part of the rosInterfaces block. This subscriber reads ROS image from [http://wiki.ros.org/image_transport ROS image transport], and creates a...")
 
(Created page with "ContactSensorToROS interface is a contact publisher inside rosInterfaces block. This interface publishes if the vehicle is colliding or not using a simple [http://docs.ros...")
 
Line 1: Line 1:
ROSImageToHUD interface is part of the [[rosInterfaces]] block. This subscriber reads ROS image from  [http://wiki.ros.org/image_transport ROS image transport], and creates a widget with the images received. This is useful when monitoring an underwater intervention.
+
ContactSensorToROS interface is a contact publisher inside [[rosInterfaces]] block. This interface publishes if the vehicle is colliding or not using a simple [http://docs.ros.org/jade/api/std_msgs/html/msg/Bool.html ROS bool message].
  
 
== XML syntax ==
 
== XML syntax ==
  
This interface requires width, height and topic name of the image.
+
In order to add this interface the name of the sensor and a topic name are required.
  
* '''width:''' Image width.
+
* '''name:''' Name of the vehicle.
* '''height:''' Image height.
+
* '''topic:''' Topic for publishing the sensor readings.
* '''posx:''' X Position of the image.
+
* '''rate:''' Publishing rate.
* '''posy:''' Y Position of the image.
+
* '''scale:''' Image scale.
+
* '''blackWhite:''' Set it to true if the input image is a grayscale image.
+
* '''imageTopic:''' Name of the topic.
+
* '''infoTopic:''' Name of the info topic.
+

Latest revision as of 14:01, 11 January 2017

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.