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
Merged

Conversation

SPDonaghy
Copy link
Contributor

@SPDonaghy SPDonaghy commented Oct 17, 2023

Description

I modified HelperAISShip.msg by removing:

  • speed
  • heading

And adding:

  • Course over ground (COG)
  • Speed over ground (SOG)
  • Rate of turn (ROT)
  • Dimensions (length and width)

I also added helper msg files for COG, SOG, Dimensions, and ROT and included them in the cmake file.

Aside from general feedback, I will need to know the units this data will come in.

Question for NET: what will be published if the requested data is not available? (ex. if the sog sensor is not working properly on some ship)

Verification

I was able to successfully create a HelperAISShip object, with the new data attributes, for use in test_obstacles.py in the local_pathfinding repository.

Resources

PR for the Issue #29 in local_pathfinding
UBCSailbot/local_pathfinding#34

I determined what data is available from AIS from this webpage

Information regarding ROT specifically, is from here

@DFriend01
Copy link
Contributor

I think @hhenry01 and @patrick-5546 are the main stakeholders here

Copy link
Member

@patrick-5546 patrick-5546 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the comments below, can you link the resource you used to verify that the added information is provided by AIS in the PR description?

msg/HelperCOG.msg Outdated Show resolved Hide resolved
msg/HelperSOG.msg Outdated Show resolved Hide resolved
msg/HelperROT.msg Outdated Show resolved Hide resolved
@jahn18
Copy link
Member

jahn18 commented Oct 17, 2023

I think @hhenry01 and @patrick-5546 are the main stakeholders here

@DFriend01 Website depends on these interfaces as well

Reusing HelperSpeed and HelperHeading messages
instead they will be used for cog and sog
added comments to describe the data in HelperAISSHIP
@SPDonaghy SPDonaghy requested a review from a team as a code owner October 17, 2023 21:53
Copy link
Member

@patrick-5546 patrick-5546 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the comment below, please update the README accordingly.

You can also resolve the comments above that don't need additional feedback

msg/HelperDimensions.msg Outdated Show resolved Hide resolved
msg/HelperAISShip.msg Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member

@patrick-5546 patrick-5546 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@patrick-5546
Copy link
Member

You can merge once your local pathfinding PR is ready to merge, as this change will break CI for everything else

@SPDonaghy SPDonaghy merged commit dd0c9ed into main Oct 31, 2023
10 checks passed
@SPDonaghy SPDonaghy deleted the user/SPDonaghy/add-more-data-from-AIS branch October 31, 2023 19:10
@hhenry01 hhenry01 mentioned this pull request Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants