so I just flew it in complementary. very stable, no problems. I set it up to have altitude hold and vario. altitude hold doesn't "hold" it doesn't maintain enough altitude and drops when mildly turning. I'm sure there is an adjustment for this?
Vario, responded a bit better in holding an altitude but not much. again, an adjustment?
Yes by adjusting Stabilization->Altitude Hold settings. What I am using now is Proportional Altitude 70, Proportional Vertical Velocity 30, Integral Vertical Velocity 70, Derivative Vertical Velocity 20 and Beta Vert Velocity 90. You have to tune those settings.
Please check here
https://librepilot.atlassian.net/wiki/display/LPDOC/Altitude+Holdthe magnetometer is the one on the board. it is mounted centrally on the quad on an 1/8" piece of foam.
First mistake, get mast, check my photo in attachment.
Indeed looks wired on a racer, but it seems to be the only way on my quad.
I calibrated in the house. when I set it in the center of the room the magnetometer is always green.
Second mistake, never in house, believe me or not, Mag is enough sensitive for any calibration indoors to be useless.
I will take your advice and use the oplink to calibrate it outdoors.
Good
I am not quite sure what you mean by pressing save 5 times? at the end of the calibration? and then moving the copter in all directions?
When you are in the calibration tab, there is Start button and then you click Save when bar completes. Among other sensors there is a bar for Mag.
Calibration of Mag is a bit different, when you start calibration actually magnetometer samples ALL the time, not just when you press Save. So if you put your quad on the car between calibration steps for Mag, it will be wrong. Best is to start, keep it in the air, click 5 times save, and then rotate it in all directions to cover sphere (Mag measurements are x,y,z points which lay on a sphere). Then when you press 6-th time Save, it saves calibration and you're done.
wires are tightly twisted
Good, here I pasted pictures found on Google how twisting wires affects magnetic field
https://forum.librepilot.org/index.php?topic=396.msg10422#msg10422There is not such thing as isolating magnetic field, you can only redirect it, and hence make it weaker in one direction.
it responds in gcs model view (complementary) exactly as it should but in ins31 it isn't as stable and is evident on the model view.
the lines for the gyro are not flat whether It's sitting still or I'm moving it by hand.
any other suggestions?
Correct, that is most likely Mag problem. Use AuxMag on a 14-16cm mast and calibrate it outdoors. After calibration mast must not rotate. Also you have to make sure that AuxMag is in the same orientation as one on Revo, or use GCS to rotate Mag virtually. Each GPS can have that mag oriented differently.
Also fix your altitude hold/altitude vario such that it is able to maintain altitude when you let the sticks for 1-2 sec. The INS31 (EKF) required for GPS uses
ALL sensors.