paparazzi/paparazzi — pull request #238 by flixr (2012-07-15 17:26:11+00:00)
Title: fix unit-conversions when saving settings back to airframe file

@gautierhattenberger could you please cross-check this fix?

Settings are now correctly converted to the unit specified in the airframe file when they are saved.
BUT only if the _unit_ in the settings file is set correctly: needs to be the same as code_unit in the airframe file (for unit="deg" in airframe file, the code_unit defaults to "rad").

In the "Save Settings" dialog the values are now displayed in the alt_unit (same unit as slider).

The upload (button) of values is not clear to me.
I'm not sure if this breaks the send_value when you press upload. I could not find where this is defined, or how it sends these values....
If we want to display the values in the slider alt_unit (so e.g. degrees instead of rad) we probably need to add another column for the value in the real units to use that to upload?