|Subject:||Re: [Paparazzi-devel] roll_trim|
|Date:||Thu, 22 Aug 2013 22:57:16 +0000|
There is a small spell error in main_ap.c and main_fbw.c:
* these are passed to fbw via inter_mcu.
I corrected it in my computer and checked the trim values. It takes the trim values from airframe file.
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|