paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Flightplan call settings handlers


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] Flightplan call settings handlers
Date: Sun, 18 May 2014 10:36:40 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

<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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]