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

Add deadzones and command clamp #73

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bsutherland333
Copy link
Collaborator

After our last flight test, we realized that the input mapper could really use some deadzones to avoid gradual drift in high-level control. I also am concerned about rates moving faster than the vehicle can manage, so I added command clamping to avoid letting the altitude, course, or airspeed command get too far away from the current state of the vehicle.

Both of these are working well, with the exception of the course clamping. There is a steady state difference between the commanded course and the estimated course, making moving in one direction slow because it is being clamped to a state that is further away than it should be. @iandareid do you know why this might be?

@bsutherland333
Copy link
Collaborator Author

screenshot-2024-08-16-22-44-23

This is an example of what I'm seeing.

@bsutherland333 bsutherland333 marked this pull request as ready for review September 4, 2024 19:16
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

Successfully merging this pull request may close these issues.

1 participant