Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Waypoint Cache #259

Open
hhenry01 opened this issue Mar 1, 2024 · 0 comments
Open

Global Waypoint Cache #259

hhenry01 opened this issue Mar 1, 2024 · 0 comments
Labels
enhancement New feature or request local transceiver Pertaining to the Network Systems Local Transceiver net essential Network Systems item that must be resolved for launch net Network Systems team

Comments

@hhenry01
Copy link
Member

hhenry01 commented Mar 1, 2024

Purpose

Load last known global waypoints on start.

Description

  • Depends on Receive Global Path Flow #270
  • When we receive global waypoints, save the the data to a file global_waypoint_cache before de-serializing. If a file already exists, do not overwrite it immediately as we may lose power during an overwrite. If the file exists, then:
    1. Create a new file global_waypoint_cache_temp
    2. Write new global waypoint data to global_waypoint_cache_temp
    3. Move global_waypoint_cache_temp to global_waypoint_cache, overwriting it.
  • On startup, check if a global waypoints file exists. If it does, read it, de-serialize it, and immediately publish it to ROS.

Resources

@hhenry01 hhenry01 added enhancement New feature or request local transceiver Pertaining to the Network Systems Local Transceiver net essential Network Systems item that must be resolved for launch labels Mar 1, 2024
@hhenry01 hhenry01 added the net Network Systems team label Mar 9, 2024
@hhenry01 hhenry01 transferred this issue from UBCSailbot/network_systems Mar 9, 2024
@github-project-automation github-project-automation bot moved this to Backlog in SOFT Project Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request local transceiver Pertaining to the Network Systems Local Transceiver net essential Network Systems item that must be resolved for launch net Network Systems team
Projects
Status: Backlog
Development

No branches or pull requests

1 participant