mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 21:37:24 +08:00
allows to use '-' instead of '0-' for minus; bound values after a 'fit'
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
|
||||
<message class="datalink" name="RC_4CH" send_always="true">
|
||||
<field name="mode" value="mode + 1"/> <!-- only AUTO1 and AUTO2 available -->
|
||||
<field name="throttle" value="Fit(throttle,0-100,100,0,127)"/>
|
||||
<field name="roll" value="roll"/>
|
||||
<field name="pitch" value="pitch"/>
|
||||
<field name="yaw" value="yaw"/>
|
||||
<field name="throttle" value="Fit(throttle,-100,100,0,127)"/>
|
||||
<field name="roll" value="Fit(roll,-100,100,-127,127)"/>
|
||||
<field name="pitch" value="Fit(pitch,-100,100,-127,127)"/>
|
||||
<field name="yaw" value="Fit(yaw,-100,100,-127,127)"/>
|
||||
</message>
|
||||
|
||||
</messages>
|
||||
|
||||
Reference in New Issue
Block a user