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

Copter: Throw mode's NextMode and Drop feature #4592

Closed
wants to merge 9 commits into from

Conversation

rmackay9
Copy link
Contributor

@rmackay9 rmackay9 commented Aug 2, 2016

This PR adds two new features to Throw mode:

  1. a new parameter THROW_NEXTMODE allows the vehicle to switch into a specified mode (like AUTO) after the throw is completed.
  2. new parameter THROW_TYPE allows detecting a throw by looking for the vehicle being dropped (as opposed to being thrown up in the air).

This PR also removes the use of the interlock and instead uses the motor spool logic. This resolves a problem with being unable to arm if the THROW_MOT_SPIN was set to "1" (the arming checks complained that the motor interlock was on) and it generally simplifies (I think) how the motors are turned on/off without interfering with the interlock.

This PR includes the changes from these two (now closed) PRs:
#4410
#4585

@rmackay9 rmackay9 changed the title Throw nextmode1 Copter: Throw mode's NextMode and Drop feature Aug 2, 2016
@rmackay9
Copy link
Contributor Author

rmackay9 commented Aug 2, 2016

Merged!

@rmackay9 rmackay9 closed this Aug 2, 2016
@rmackay9 rmackay9 deleted the throw-nextmode1 branch August 16, 2016 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants