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

Drop Waypoint Handling #15

Open
tjuav opened this issue Dec 2, 2023 · 0 comments
Open

Drop Waypoint Handling #15

tjuav opened this issue Dec 2, 2023 · 0 comments

Comments

@tjuav
Copy link
Contributor

tjuav commented Dec 2, 2023

Handle drop waypoints.

  • Store a list of drop waypoints from Drop Waypoints GroundStation#150, with file backups for safety
    • Each waypoint contains a waypoint number (correlating with the PixHawk) and the bottle number to drop
  • Create an async thread that checks whether the plane is going towards a drop waypoint, and save this as a flag
  • When the plane switches waypoints (and is now going towards the waypoint after a drop waypoint), drop
    • Actuate the drop mechanism corresponding to the specified bottle, as soon as possible
  • An additional feature would be sending the drop command a bit earlier, to account for processing and mechanical delays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant