I'm having fun today incorporating my changes to the uBlox, NMEA and EM406 code to better manage the blue blinking light as well as the output for Remzibi's OSD in the AP 2.7.1 code. I re-wrote the trajectory function in my Emulator because there was a bit of an offset in my old code. Here's what I'm finding with the new code
Does anyone know what changes I need to make to the gain settings (or something like that) to cut down on this pattern?
Thanks!!!
Comments
No matter the GPS refresh rate, there can be time lag in the heading info much longer than the resfresh rate. For example the Locosys LS20031 has 5Hz report out rate, but based on measurements I did with IMU as a relatively lag-free heading reference the GPS heading has a lag of approx 1.4 to 1.6 seconds.
The solution in the non-INS thermopile AttoPilot is to apply a counter-roll depending on heading change rate. This is nothing more than standard Kd rate dampening. The result is that the UAV comes out of a turn slightly early - but in reality once the GPS heading catches up things are well sync'd and heading overshoot is limited or kept in check.
It's a control-loop gain of some sort, but I don't know which.
Still waiting for the 2.8 release to use the real GPS libraries, so I'm standing by.
I'll have to do a bit of trial and error.....