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
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ set(common_msg
# internal
"msg/HelperAISShip.msg"
"msg/HelperBattery.msg"
"msg/HelperDimension.msg"
"msg/HelperGenericSensor.msg"
"msg/HelperHeading.msg"
"msg/HelperLatLon.msg"
"msg/HelperROT.msg"
"msg/HelperSpeed.msg"
)

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ ROS messages and services used across many ROS packages in the project.
| ------------------- | ---------------------------------- |
| HelperAISShip | AISShips |
| HelperBattery | Batteries |
| HelperDimension | HelperAISShip |
| HelperGenericSensor | GenericSensors |
| HelperHeading | DesiredHeading, GPS, HelperAISShip |
| HelperLatLon | Path, GPS, HelperAISShip |
| HelperLatLon | GPS, HelperAISShip, Path |
| HelperROT | HelperAISShip |
| HelperSpeed | GPS, HelperAISShip, WindSensor |

## Boat Simulator Interfaces
Expand Down
11 changes: 8 additions & 3 deletions msg/HelperAISShip.msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# AIS identifier
# AIS identifier (MMSI)
int32 id
HelperLatLon lat_lon
HelperSpeed speed
HelperHeading heading
# The ship's course over ground
HelperHeading cog
# The ship's speed over ground
HelperSpeed sog
HelperROT rot
HelperDimension width
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