lkaino / Triflight

Triflight flight controller firmware for tricopters
http://rcexplorer.se
GNU General Public License v3.0
50 stars 19 forks source link

Use servo configuration angles #37

Closed lkaino closed 8 years ago

lkaino commented 8 years ago

Instead of specific CLI parameter, use the servo 5 configured max angles (-45, 45 by default). Change the defaults to -40,40.

These parameters were not available when the CLI parameter was implemented.

Bengt-M commented 8 years ago

I've been thinking the same way so couldn't resist to make a PR See if you like it. The servo configured values are not (-45, 45). They are positive in both directions. I'm not sure this is correct. Vaguely remember some issue in the first manual version of tailtune where the configurator seemed to have a different idea. In the PR I still depend on symmetry in the same way as before. If that is still OK the negative is no issue.

lkaino commented 8 years ago

Fixed in #38