paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Tunable constants in control laws?


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Tunable constants in control laws?
Date: Thu, 13 Jan 2011 18:51:08 +0100

Hi Andreas,

assume I have a control law like e.g. the following:
<section name="MIXER">
 <define name="RUDDER_OF_ROLL" value="0.5"/>
</section>

<command_laws>
 <set servo="RUDDER" value="@YAW + @ROLL*RUDDER_OF_ROLL"/>
</command_laws>

Is there a way to convert the RUDDER_OF_ROLL into a global C variable to
make it tunable during flight time via a datalink setting?

Not in the airframe file if that is what you mean. You would have to add a new variable an appropriate c file.

Cheers, Felix 

reply via email to

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