mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
[nav] add an option for takeoff height (#3462)
Add a parameter to the takeoff function to specify the height at which the takeoff is considered finished. A negative value tells that the default value (configurable from airframe file) should be used. Update demo FP
This commit is contained in:
committed by
GitHub
parent
12586a6811
commit
06a0542090
@@ -36,7 +36,7 @@
|
||||
</block>
|
||||
<block name="Takeoff (Here)" strip_button="Takeoff (Here)" group="takeoff">
|
||||
<set value="0" var="autopilot.flight_time"/>
|
||||
<call fun="nav_takeoff_from_here()"/>
|
||||
<call fun="nav_takeoff_from_here(-1.)"/>
|
||||
<deroute block="Standby"/>
|
||||
</block>
|
||||
<block key="Ctrl+a" name="Standby" strip_button="Standby" strip_icon="home.png" group="home">
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<deroute block="Standby"/>
|
||||
</block>
|
||||
<block name="Takeoff (Here)" strip_button="Takeoff (Here)" group="takeoff">
|
||||
<call fun="nav_takeoff_from_here()"/>
|
||||
<call fun="nav_takeoff_from_here(-1.)"/>
|
||||
<deroute block="Standby"/>
|
||||
</block>
|
||||
<block name="Standby" strip_button="Standby" strip_icon="home.png">
|
||||
|
||||
Reference in New Issue
Block a user