Hi
I’m having problems with the compass on my Pixhawk. I have tried an external and the internal compass, done the compass dance, and the heading looks correct, next time I check the heading it can be 90deg out.
Trying to do the compassmot check, all goes OK except the motor will not start up.
The terminal restarts the board. I then enter SETUP, then compassmot, and it says motor will start to do the test. I’ve tried the safety switch, arming, to no avail.
Can anybody point me in the right direction, to cure these problems?
Hello,
I did a compassmot calibration this week-end with the Piwhawk with and without the external compass (ADR GPS+compass). and firmware release 3.1.1. I encountered no problem with it, just think of arming the copter.
With the external compass the result was “Nan” which I replaced by 0. (no interference) in the parmameter list.
The flights were OK.
BR
Are you using it on a heli or a quad? If on a heli how did you get the motor to run on compassmot?
Wot no answers, Is this the 3DR support?
This was on a quad.
BR
That might be because you didn’t tell anything about your setup and the software you use.
OK StefanG here is my setup
I am using a Pixhawk on a 450 helicopter. programed with auducoptor V3.1.1 and using Mission Planner 2.95 Build 1.1.5150. 11972.
External compass CJMCU-GPS-HMC5883l. with U-BLOX Neo 6M
Compass mounted 400mm away from pixhawk on rear boom. GPS picks up to 9 sats. outside, and about 5 indoors. As I stated in my first post the compass was giving me varied readings. So I removed the cable from the Pixhawk and tried the internal compass, and that gives me varied readings. I them tried CompassMOT to see if I was getting interference. When I entered Setup, then CompassMOT it states that the motor will start up. This does not happen.
I’ve just booted up the Pixhawk, which at the moment is showing the compass reading I would expect, but HUD is saying “Check Mag Field”
Not knowing the length of your arms on the copter I would venture a guess that 400mm puts the magnetometer very near a motor. That would also be very bad for magnetic interference. It needs to be in closer to the Pixhawk but mounted more up and away from the power cabling. Mine is on a 4 inch long “stick” with a square platform on the end. They are available on flea-bay and look much like what DJI has for their GPS/Compass. Hope you get it solved.
Thanks for your concern, but its on a 450 Flybar less Helicopter, and its mounted on the tail boom.
I get these variations on the desk without the motor running.
I have been trying to do compassMOT to check for interference, but I can’t get help as to how to get the motor running when in terminal setup.
Compassmot with pixhawk is bugged. It produces NAN values which are non nu erical values. Known bug and already in the issue list.
In the meantime , you can replace the man values by 0.