Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Adding More Data From AIS #13

Merged
merged 12 commits into from
Oct 31, 2023
2 changes: 2 additions & 0 deletions CMakeLists.txt
SPDonaghy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ set(common_msg
"msg/HelperHeading.msg"
"msg/HelperLatLon.msg"
"msg/HelperSpeed.msg"
"msg/HelperDimension.msg"
"msg/HelperROT.msg"
)

# Boat simulator custom messages
Expand Down
2 changes: 2 additions & 0 deletions README.md
SPDonaghy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ ROS messages and services used across many ROS packages in the project.
| HelperHeading | DesiredHeading, GPS, HelperAISShip |
| HelperLatLon | GlobalPath, GPS, HelperAISShip |
| HelperSpeed | GPS, HelperAISShip, WindSensor |
| HelperROT | HelperAISShip |
| HelperDimension | HelperAISShip |

## Boat Simulator Interfaces

Expand Down
14 changes: 11 additions & 3 deletions msg/HelperAISShip.msg
SPDonaghy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# AIS identifier
# AIS identifier (MMSI)
int32 id
HelperLatLon lat_lon
HelperSpeed speed
HelperHeading heading
# course over ground in degrees from CW from true north (float)
HelperHeading cog
# speed over ground in kmph (float)
HelperSpeed sog
# rate of turn in degrees per hour, positive for CW, negative for CCW (float)
HelperROT rot
# width of the ship in meters (float)
HelperDimension width
# length of the ship in meters (float)
HelperDimension length
2 changes: 2 additions & 0 deletions msg/HelperDimension.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Unit: meters
float32 dimension
3 changes: 3 additions & 0 deletions msg/HelperROT.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Rate of turn of the ship, negative for CCW turning and positive for CW turning.
# Unit: degrees/hour
float32 rot