Ojassy / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

RC_TRIM doesnt' save #792

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Setting RC_TRIM to 1500 works fine
2. Reboot of APM 2.0 will get back to default 1200
3.

What version of the product are you using? On what operating system?
APM 2.0. MP 1.2.15 ArduPlane 2.66 (same with 2.65).

Please provide any additional information below.
Now with some tune work with RC_MAX, RC_MIN and RC_TRIM I can make joystick 
work perfect. But only before APM reboot. TRIM gets back to default 1200 (is 
this default or auto trim function is messing up?).

BTW: what is RC_DZ (dead zone) doing at all? Few ch are set to 30, others to 3 
and 0? 
Thanks

Original issue reported on code.google.com by virgi...@gmail.com on 31 Oct 2012 at 8:42

GoogleCodeExporter commented 8 years ago
Had the same problem with RC6. Deleted and reflashed 2.65 resolves it for me. 
But there seems to be still problems with setting and storing different 
parameters. No one seems to test AP versions before they get final.Or is there 
a general storing problem?

Original comment by Gregm...@gmail.com on 31 Oct 2012 at 10:15

GoogleCodeExporter commented 8 years ago
And I don't like the way RC_xxx works. IF i change TRIM value, then endpoints 
are moved regarding TRIM change.
My vision using just Joystick (data modems) without regular RC link, so far it 
works. But can't disconnect power to APM of that TRIM not saving issue.

Virgis

Original comment by virgi...@gmail.com on 31 Oct 2012 at 11:34

GoogleCodeExporter commented 8 years ago
Had the issue again today:
It seems to be that the APM got the Trim Values on every boot from RC.
First switch on RC, than power on APM, and it will work.
Silly solution if you don´t wan´t to use the RC, either it is not documented 
:-(

Original comment by Gregm...@gmail.com on 31 Oct 2012 at 6:45

GoogleCodeExporter commented 8 years ago
The radio_trim function is overwriting the PIDs:

In system.pde:

// read the radio to set trims
// ---------------------------
trim_radio(); // This was commented out as a HACK. Why? I don't find a problem.

Original comment by slynx.ch3@gmail.com on 11 Nov 2012 at 11:30