The Stonefish library implements a wide range of sensor simulations. Each of the sensors produces a specific output, that can be retrieved. The stonefish_ros package implements automatic allocation of publishers and generation of appropriate messages, published when the new sensor data is available. The only definition that the user has to add to the standard definiton of a sensor, to use this functionality, is the name of the topic used by the publisher:
<sensor name="..." type="...">
<!-- standard sensor definitions -->
<ros_publisher topic="/topic_name"/>
</sensor>
For each sensor type a different message type is published. Some of the sensors need to publish on multiple topics. Specific information on all supported sensors is presented below.
Message type: sensor_msgs::JointState
Message type: geometry_msgs::WrenchStamped
Message type: nav_msgs::Odometry
Message type: sensor_msgs::Imu
Message type: sensor_msgs::NavSatFix
Message type: cola2_msgs::DVL
Second message type: sensor_msgs::Range
Message type: sensor_msgs::FluidPressure
Message type: sensor_msgs::LaserScan
Message type: sensor_msgs::Image
Second message type: sensor_msgs::CameraInfo
Message type: sensor_msgs::Image
Second message type: sensor_msgs::CameraInfo
Message type: sensor_msgs::Image
Second message type: sensor_msgs::Image
Message type: sensor_msgs::Image
Second message type: sensor_msgs::Image
Message type: sensor_msgs::Image
Second message type: sensor_msgs::Image