mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
363dec8693
* [autopilot] refactor autopilot API for both firmwares With this, fixedwing and rotorcraft are mostly using the same interface for the autopilot. Some specific code and messages handling are still firmware dependent. A large part of the autopilot logic of the fixedwing is moved from main_ap to autopilot_static. More getter/setter functions are provided. * [autopilot] update the rest of the system and the conf for using the refactored autopilot API * [autopilot] fix some errors from CI servers * [actuators] use dummy actuators module to prevent autoloading * Rename Bart_heliDD_INDI.xml to tudelft_bs_helidd_indi.xml * Rename Bart_heliDD_pid.xml to tudelft_bs_helidd_pid.xml * Delete tudelft_course2016_bebop_colorfilter.xml * Delete tudelft_course2016_bebop_avoider.xml * [actuators] don't autoload actuators when set to 'none' * [gcs] autodetect firmware for strip mode button
23 lines
1.5 KiB
XML
23 lines
1.5 KiB
XML
<!DOCTYPE settings SYSTEM "settings.dtd">
|
|
|
|
<settings target="ap|nps">
|
|
<dl_settings>
|
|
|
|
<dl_settings NAME="System">
|
|
<dl_setting var="autopilot_mode_auto2" min="0" step="1" max="19" module="autopilot" shortname="auto2" values="KILL|Fail|HOME|Rate|Att|Rate_rcC|Att_rcC|Att_C|Rate_Z|Att_Z|Hover|Hover_C|Hover_Z|Nav|RC_D|CareFree|Forward|Module|Flip|Guided"/>
|
|
<dl_setting var="autopilot.kill_throttle" min="0" step="1" max="1" module="autopilot" values="Resurrect|Kill" handler="KillThrottle"/>
|
|
<dl_setting var="autopilot.power_switch" min="0" step="1" max="1" module="autopilot" values="OFF|ON" handler="SetPowerSwitch">
|
|
<strip_button name="POWER ON" icon="on.png" value="1" group="power_switch"/>
|
|
<strip_button name="POWER OFF" icon="off.png" value="0" group="power_switch"/>
|
|
</dl_setting>
|
|
<dl_setting var="autopilot.mode" min="0" step="1" max="19" module="autopilot" shortname="mode" values="KILL|Fail|HOME|Rate|Att|Rate_rcC|Att_rcC|Att_C|Rate_Z|Att_Z|Hover|Hover_C|Hover_Z|Nav|RC_D|CareFree|Forward|Module|Flip|Guided" handler="SetModeHandler"/>
|
|
<dl_setting var="multi_gps_mode" min="0" step="1" max="2" module="subsystems/gps" shortname="gpsmode" values="AUTO|PRIMARY|SECONDARY">
|
|
<strip_button name="AUTO" icon="gps.png" value="0" group="gps_mode"/>
|
|
<strip_button name="PRIMARY" icon="gps1.png" value="1" group="gps_mode_setting"/>
|
|
<strip_button name="SECONDARY" icon="gps2.png" value="2" group="gps_mode_setting"/>
|
|
</dl_setting>
|
|
</dl_settings>
|
|
|
|
</dl_settings>
|
|
</settings>
|