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

Fix division by 0 in generateThrottleCurve() #3502

Conversation

Projects
None yet
2 participants
@shellixyz
Copy link
Collaborator

commented Jul 2, 2018

When thr_mid is set to 100 a division by 0 is done in generateThrottleCurve()

@shellixyz shellixyz force-pushed the shellixyz:fix_division_by_0_in_generateThrottleCurve branch 2 times, most recently from 7a6e1a2 to da93d77 Jul 2, 2018

@fiam fiam added this to the 2.0 milestone Jul 3, 2018

@shellixyz shellixyz force-pushed the shellixyz:fix_division_by_0_in_generateThrottleCurve branch 4 times, most recently from 5d1d6e5 to 566a8bf Jul 3, 2018

Fix division by 0 in generateThrottleCurve()
When `thr_mid` is set to 100 a division by 0 is done in `generateThrottleCurve()`

@shellixyz shellixyz force-pushed the shellixyz:fix_division_by_0_in_generateThrottleCurve branch from 566a8bf to 8fd2af3 Jul 7, 2018

@fiam fiam merged commit 34eed40 into iNavFlight:development Jul 8, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.