For me is ok!
It would be interesting to be able to activate this calibration with a switch, to make comparisons without having to land all the time for all the attempts.
For example in the Copter with CH7/8/9/10…
thanks for testing!
Unfortunately I can’t properly see the results in your log as you don’t have the compass logged (LOG_BITMASK=930, which doesn’t include the MAG msg)
yes, sounds like a good idea, although at the moment you can only use the learning feature once per boot
Cheers, Tridge
thanks! those look good, and are useful as you have the 1st and 3rd compass enabled, and it correctly calibrated those two, while leaving the 2nd (disabled) compass alone
I’ve now implemented this in the PR as RCn_OPTION=62. I think this will be a great way to enable it.
I’ve also changed it so you can run it more than once without rebooting
I’ve put an updated release with the new RCn_OPTION=62 method of triggering learning here: http://uav.tridgell.net/MagLearn/test2/
It includes CubeBlack, Pixracer, Pixhawk1 and OmnibusF4pro binaries
I can’t wait to test this tomorrow. I have a 60" zero turn lawn mower running Ardurover on a Pixhawk 1. The biggest issues I have had with decent decent tracking has been that I can’t really calibrate the compass. This is terrific!
Nice, In the same folder that I shared now you can find a complete log (bitmask 655358) of various compass calibrations in flight.
I’ve telemetry on my Taranis, so I can see the messages that would also be sent to the Planner, so in the variuos attempts I could see when the calibration was complete, but it would be nice if there was an acoustic warning at the beginning and end of the procedure, as well as a warning changing color on the LEDs, for the users without the telemetry, maybe not useful for the plane, but for the copter and the rover absolutely yes.
Let me know, if you can do these changes today I try it at the airfield and I do a video demonstration.
Thanks Andrew, excellent feature!
I found a bit of time this evening and I’ve added buzzer/LED support, re-using the same notify patterns we use for normal on-board compass cal. It isn’t tested, but I have made a test3 build for you to try: http://uav.tridgell.net/MagLearn/test3/
(it’s still building at the moment, that folder should populate in the next 15 mins or so)