mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[flight plans] revert rotorcraft_optitrack.xml
the changes introduced in #1539 were broken
This commit is contained in:
@@ -27,15 +27,6 @@
|
||||
<corner name="FA1"/>
|
||||
</sector>
|
||||
</sectors>
|
||||
|
||||
<exceptions>
|
||||
<!-- Check inside small flight area, then goto Center(Standby) -->
|
||||
<exception cond="Or(! InsideFlight_Area(GetPosX(), GetPosY()), GetPosAlt() > GetAltRef() + 50) && !(nav_block == BLOCK_Init) && !(nav_block == BLOCK_Geo_init) && !(nav_block == BLOCK_Landed)" deroute="Standby"/>
|
||||
<!-- Check if battery is empty, then Land Here -->
|
||||
<exception cond="electrical.bat_low && !(nav_block == BLOCK_Land) && !(nav_block == BLOCK_Flare) && !(nav_block == BLOCK_Landed)" deroute="Land_Here"/>
|
||||
<!-- Check if time is up(10 seconds range), then Land Here -->
|
||||
<exception cond="10 > time_until_end && !(nav_block == BLOCK_Land) && !(nav_block == BLOCK_Flare) && !(nav_block == BLOCK_Landed)" deroute="Land_Here"/>
|
||||
</exceptions>
|
||||
<blocks>
|
||||
<block name="Wait GPS">
|
||||
<call fun="NavKillThrottle()"/>
|
||||
|
||||
Reference in New Issue
Block a user