2014-02-09 19:33:29 +01:00
|
|
|
<xml>
|
|
|
|
<object name="FlightModeSettings" singleinstance="true" settings="true" category="Control">
|
|
|
|
<description>Settings to control arming and flight mode</description>
|
|
|
|
|
|
|
|
<field name="Arming" units="" type="enum" elements="1" options="Always Disarmed,Always Armed,Roll Left,Roll Right,Pitch Forward,Pitch Aft,Yaw Left,Yaw Right,Accessory 0,Accessory 1,Accessory 2" defaultvalue="Always Disarmed"/>
|
|
|
|
|
|
|
|
<!-- Note these options should be identical to those in StabilizationDesired.StabilizationMode -->
|
|
|
|
<field name="Stabilization1Settings" units="" type="enum"
|
2014-04-26 15:14:40 +02:00
|
|
|
elementnames="Roll,Pitch,Yaw,Thrust"
|
|
|
|
options="None,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Rattitude,RelayRate,RelayAttitude,Altitude,VerticalVelocity,CruiseControl"
|
|
|
|
defaultvalue="Attitude,Attitude,AxisLock,CruiseControl"
|
|
|
|
limits="%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude,\
|
|
|
|
%0401NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude:Altitude:VerticalVelocity,\
|
|
|
|
%0402NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude:Altitude:VerticalVelocity;"
|
|
|
|
/>
|
2014-02-09 19:33:29 +01:00
|
|
|
<field name="Stabilization2Settings" units="" type="enum"
|
2014-04-26 15:14:40 +02:00
|
|
|
elementnames="Roll,Pitch,Yaw,Thrust"
|
|
|
|
options="None,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Rattitude,RelayRate,RelayAttitude,Altitude,VerticalVelocity,CruiseControl"
|
|
|
|
defaultvalue="Attitude,Attitude,Rate,CruiseControl"
|
|
|
|
limits="%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude,\
|
|
|
|
%0401NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude:Altitude:VerticalVelocity,\
|
|
|
|
%0402NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude:Altitude:VerticalVelocity;"
|
|
|
|
/>
|
2014-02-09 19:33:29 +01:00
|
|
|
<field name="Stabilization3Settings" units="" type="enum"
|
2014-04-26 15:14:40 +02:00
|
|
|
elementnames="Roll,Pitch,Yaw,Thrust"
|
|
|
|
options="None,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Rattitude,RelayRate,RelayAttitude,Altitude,VerticalVelocity,CruiseControl"
|
|
|
|
defaultvalue="Rate,Rate,Rate,None"
|
|
|
|
limits="%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:RelayRate:RelayAttitude:Altitude:VerticalVelocity:CruiseControl; \
|
|
|
|
%NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude,\
|
|
|
|
%0401NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude:Altitude:VerticalVelocity,\
|
|
|
|
%0402NE:Rate:Attitude:AxisLock:WeakLeveling:VirtualBar:Rattitude:RelayRate:RelayAttitude:Altitude:VerticalVelocity;"
|
|
|
|
/>
|
2014-02-09 19:33:29 +01:00
|
|
|
|
|
|
|
<!-- Note these options values should be identical to those defined in FlightMode -->
|
|
|
|
<!-- Currently only some modes are enabled for UI using limits attribute per board. Update when more modes will be operational -->
|
|
|
|
<field name="FlightModePosition"
|
|
|
|
units=""
|
|
|
|
type="enum"
|
|
|
|
elements="6"
|
2014-04-26 15:14:40 +02:00
|
|
|
options="Manual,Stabilized1,Stabilized2,Stabilized3,Autotune,PositionHold,ReturnToBase,Land,PathPlanner,POI"
|
|
|
|
defaultvalue="Stabilized1,Stabilized2,Stabilized3,Manual,Manual,Manual"
|
2014-02-09 19:33:29 +01:00
|
|
|
limits="\
|
2014-04-26 15:14:40 +02:00
|
|
|
%0401NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0402NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0903NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI;\
|
2014-02-09 19:33:29 +01:00
|
|
|
\
|
2014-04-26 15:14:40 +02:00
|
|
|
%0401NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0402NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0903NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI;\
|
2014-02-09 19:33:29 +01:00
|
|
|
\
|
2014-04-26 15:14:40 +02:00
|
|
|
%0401NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0402NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0903NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI;\
|
2014-02-09 19:33:29 +01:00
|
|
|
\
|
2014-04-26 15:14:40 +02:00
|
|
|
%0401NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0402NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0903NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI;\
|
2014-02-09 19:33:29 +01:00
|
|
|
\
|
2014-04-26 15:14:40 +02:00
|
|
|
%0401NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0402NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0903NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI;\
|
2014-02-09 19:33:29 +01:00
|
|
|
\
|
2014-04-26 15:14:40 +02:00
|
|
|
%0401NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0402NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI,\
|
|
|
|
%0903NE:Autotune:PositionHold:ReturnToBase:Land:PathPlanner:POI"/>
|
2014-02-09 19:33:29 +01:00
|
|
|
|
|
|
|
<field name="ArmedTimeout" units="ms" type="uint16" elements="1" defaultvalue="30000"/>
|
|
|
|
<field name="ArmingSequenceTime" units="ms" type="uint16" elements="1" defaultvalue="1000"/>
|
|
|
|
<field name="DisarmingSequenceTime" units="ms" type="uint16" elements="1" defaultvalue="1000"/>
|
|
|
|
<field name="ReturnToHomeAltitudeOffset" units="m" type="float" elements="1" defaultvalue="10"/>
|
|
|
|
<access gcs="readwrite" flight="readwrite"/>
|
|
|
|
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
|
|
|
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
|
|
|
<logging updatemode="manual" period="0"/>
|
|
|
|
</object>
|
|
|
|
</xml>
|