[Top][All Lists]

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

[Paparazzi-devel] YNT: roll_trim

From: Refik Sever
Subject: [Paparazzi-devel] YNT: roll_trim
Date: Thu, 22 Aug 2013 14:19:14 +0000

Hi Felix,

I have a simple question.
We have changed some files in 5.1_devel-126-g1757e2e-dirty branch (common_nav.c etc.). What do I need to type to get  v5.1_devel-148-ga18a74f without affecting our changed files?


Kimden: Felix Ruess address@hidden adına paparazzi-devel-bounces+address@hidden [paparazzi-devel-bounces+address@hidden
Gönderildi: 22 Ağustos 2013 Perşembe 15:49
Kime: Paparazzi devel list
Konu: Re: [Paparazzi-devel] roll_trim

Hi Refik,

Thanks for noticing and reporting this!
Seems the trim commands were not properly initialized.
The values set in the airframe file were directly written to command_x_trim in fbw, only to be overwritten later from the ap_state->command_x_trim values (which are not explicitly initialzed and hence zero). So when you change the trim commands in settings, only then they are actually applied.

Now the command_x_trim values are initialized in ap_state instead of fbw (and the yaw trim is also set from the airframe file, which was apparently missing before).

Should be fixed in v5.1_devel-148-ga18a74f

Please test and report back.

Thanks, Felix

On Thu, Aug 22, 2013 at 2:19 PM, Refik Sever <address@hidden> wrote:

I set the roll trim and pitch trim in the airframe file like that:

     <define name="COMMAND_PITCH_TRIM" value="350"/>
      <define name="COMMAND_ROLL_TRIM" value="900"/>

I put the plane on a flat table and powered on. Then I set the roll trim from GCS which is same with airframe (900), then the ailerons move. Same situation for pitch trim. Since the setting value is same, I don't expext them to move. Our paparazzi version is v5.1_devel-126-g1757e2e-dirty.

We are using energy control loops, which updates the aircraft characteristics below. Although there is no variable about roll, can this situation be due to this?

By the way, we want to add the ac_characteristics to the telemetry. Did somebody add it before?

// Automatically found airplane characteristics
162 float ac_char_climb_max = 0.0f;


Paparazzi-devel mailing list

reply via email to

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