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

Arm Switch State Machine #422

Open
bsutherland333 opened this issue Feb 26, 2024 · 2 comments
Open

Arm Switch State Machine #422

bsutherland333 opened this issue Feb 26, 2024 · 2 comments
Assignees

Comments

@bsutherland333
Copy link
Contributor

During a flight test, we found that we had issues trying to get the firmware to arm, as it would give an error that throttle override needed to be active to arm regardless of switch position. This was only an issue when arm was set to channel 5 & and both overrides were set to channel 6 (0 indexed). Making sure the unit tests include non-typical switch conditions, and fix any issues that those might bring up.

Adding some additional documentation on this may also be useful.

@bsutherland333 bsutherland333 moved this to Todo in v2.0 Release Feb 26, 2024
@melayton melayton moved this from Todo to In Progress in v2.0 Release Mar 4, 2024
@bsutherland333
Copy link
Contributor Author

I've realized that there is a parameter that sets the maximum number of channel, which defaults to 6 channels. This may explain the issue we're seeing but it would be good to confirm this. We may also consider setting the default of that to the max number of channels, which is 8. Or remove the parameter altogether and let it be a fixed 8 channels as I'm not sure it would ever be beneficial to restrict the number of channels.

@melayton
Copy link

That would make sense! I can test to make sure the default channel number is the issue and then remove the parameter if that's the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants