We removed the 10-second timer when waiting for arming after the /takeoff command. Now /takeoff will immediately fail if the drone is not already armed, and immediately take off if drone is armed.
Resolves #61
Type of change
What types of changes does your code introduce to this project?
Put an x in the boxes that apply
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Ran manual test via Postman Endpoints
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. This is simply a reminder of what we are going to look for before merging your code.
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
We removed the 10-second timer when waiting for arming after the /takeoff command. Now /takeoff will immediately fail if the drone is not already armed, and immediately take off if drone is armed.
Resolves #61
Type of change
What types of changes does your code introduce to this project? Put an
x
in the boxes that applyHow Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. This is simply a reminder of what we are going to look for before merging your code.