|
From: | Christophe De Wagter |
Subject: | Re: [Paparazzi-devel] Flightplan call settings handlers |
Date: | Sun, 18 May 2014 14:03:25 +0200 |
<set var="nav_heading" value="ANGLE_BFP_OF_REAL(RadOfDeg(180))"/>
a bit long but no dummy variables, nor changes.
Since the return value of the settings handler is not important, we could also change them to return FALSE so they can be used in flight plan call instruction as well.
Gautier
Le 18/05/2014 09:43, Christophe De Wagter a écrit :
How can the flightplan call "handlers" as used in settings?
E.g. navigation_SetNavHeading(x)
<set var="dummy" value="navigation_SetNavHeading(180)" /> needs an ugly dummy.
<call fun="navigation_SetNavHeading(180)" /> does never return as the settings handler does not return FALSE when ready.
<call fun="{navigation_SetNavHeading(180); FALSE; }" /> seems to work, but feels like a weird hack.
Is there another solution that I missed?
-Christophe
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |