[conf][airframes] joystick axis as mode in nps

This commit is contained in:
Felix Ruess
2013-08-13 17:36:57 +02:00
parent 03c4527290
commit 0a3507496d
2 changed files with 3 additions and 0 deletions
@@ -202,6 +202,8 @@
<define name="ACTUATOR_NAMES" value="{&quot;front_motor&quot;, &quot;back_motor&quot;, &quot;right_motor&quot;, &quot;left_motor&quot;}"/>
<define name="INITIAL_CONDITITONS" value="&quot;reset00&quot;"/>
<define name="SENSORS_PARAMS" value="&quot;nps_sensors_params_default.h&quot;"/>
<!-- mode switch on joystick channel 5 (axis numbering starting at zero) -->
<define name="JS_MODE_AXIS" value="4"/>
</section>
<section name="AUTOPILOT">
@@ -239,6 +239,7 @@
<define name="ACTUATOR_NAMES" value="{&quot;front_motor&quot;, &quot;back_motor&quot;, &quot;right_motor&quot;, &quot;left_motor&quot;}"/>
<define name="INITIAL_CONDITITONS" value="&quot;reset00&quot;"/>
<define name="SENSORS_PARAMS" value="&quot;nps_sensors_params_default.h&quot;"/>
<!-- mode switch on joystick channel 5 (axis numbering starting at zero) -->
<define name="JS_MODE_AXIS" value="4"/>
</section>