This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Patch to add PID modes for holding altitude and hovering in place.
This operates on the principle that when a switch is toggled or command otherwise set, the drone will hover in at the altitude / state that it is in when the toggle occurs.
Altitude Hold
Position Hold
Include the Asana link, or relevant issue.
Best thing I can do is link to the discord, was a quick patch.
https://discord.com/channels/776618956638388305/895818568065757184/969037598871937054
Testing
Safety builds. Will need to be tested on drone.
Builds of existing PID tuned code.
Documentation
Merge Checklist:
Screenshot: