[Top][All Lists]

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

Re: [Paparazzi-devel] one crash today, reach MAX_DIST_FROM_HOME, PID pro

From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] one crash today, reach MAX_DIST_FROM_HOME, PID problem ?
Date: Thu, 24 Jul 2014 14:47:22 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


I have added the exponentiation operator to the papgets, allowing to do sqrt (and more). You can find an example in conf/gcs/papgets.xml file:
      <papget type="expression" display="text" x="600" y="422">
        <property name="expr" value="NAVIGATION.dist2_home ** 0.5"/>
        <property name="size" value="15."/>
        <property name="format" value="HOME dist: %.1fm"/>
        <property name="color" value="white"/>

Update to master to use it.


Le 24/07/2014 04:56, afishindouban a écrit :
by the way, Mr. Gautier

I know you are the OCaml geek here, I want to ask you a question, can we use
something like this in papget ?

sqrt expressoin can be handle by ?  or how can we have it works ?

       <papget type="message_field" display="text" x="40" y="150">
         <property name="field" value="sqrt(NAVIGATION.dist2_home)"/>
         <property name="scale" value="1"/>
         <property name="format" value="Dist2H: %.0f m2"/>
         <property name="size" value="20."/>
         <property name="color" value="pink"/>


Gautier Hattenberger-3 wrote

The GCS shows an estimated wind of 7m/s, which is almost half of your
flight speed, so the evolution of the desired roll looks normal to me on
the first plot.
On the second one, everything is normal, except the part where the
desired roll stays constant a few seconds after entering home mode.
Unfortunately, I don't have an explanation for this right now. Could you
try to make a simulation of your flight to see if the behavior is the
same or not (it is working as expected for me) ?


View this message in context:
Sent from the paparazzi-devel mailing list archive at

Paparazzi-devel mailing list

reply via email to

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