I’m currently trying to get a new board working, the Mamba F405 Mk2. So far everything (except analog current input, needs work) seems to be ok. I calibrated everything, artificial horizon and heading is ok. However I have the problem that I get “EKF attitude bad” and the groundspeed/GPS is jumping around like hell. Even if it says 3D dgps fix (with HDOP < 1). I can wait for half an hour, doesn’t help.
So far I’ve only used M8Ns in my other copters. Is it the BN-880 or what can I check to get this working? If nothing helps I think I can try a M8N from another one.
No barometer, no compass on board. Compass is external in the BN-880 and I want to add a BMP280.
Since there is no firmware yet for the Mamba F405 Mk2 I compiled it myself based on https://github.com/ArduPilot/ardupilot/pull/15392 with some fixes in the hwdef.dat
Looking through the other hwdef it seems the other cominbations are 2/8MHz or 1/4 MHz. Maybe I try 1/4MHz. If that doesn’t help, I test with a M8N GPS.
@Hamstersocke how do you cope with no baro? what‘s your GPA.delta saying? do you get stable attitude readings without your GPS attached?
got a flash log for us to look at?
on a sidenote i’m using BN180s with astonishingly good results. don‘t have an actual BN880, but imho, while it isn‘t exactly a high end hardware choice, it should just do the job. QC might be an issue though
I’m going to switch the GPS module. While the first two flights in stabilize mode were fine, the third one in loiter was short and it landed without my intervention quite fast. Nothing broken but I think the cause was the GPS.
I see many GPS glitches. Here are the last messages before it “landed”
|12:22:22|GPS Glitch|,
|12:22:22|Vibration compensation ON|
|12:22:34|EKF3 IMU0 in-flight yaw alignment complete|
|12:22:41|EKF variance|
|12:22:41|16|2|EKF CHECK: EKF CHECK BAD VARIANCE|
|12:22:41|17|1|EKFINAV FAILSAFE: OCCURED OR FAILED TO INITILIASE|
Thank you, didn’t see that. I’ll try changing the pins. The version is the MK2 one.
The link should now work. I’ve changed the BN-880 against a M8N. One LiPo in Loiter and no GPS glitches or any errors at all. The compass also calibrated better I think.
With the M8N I get 10 satellites, the BN-880 showed 17. Is it possible the glitches were coming from the BN switching between GPS and Galileo or something?
there’s your current pin working well. seems more like a setup / connection issue.
other than that i’m having issues to read something significant from your log, actually i don’t really think a short period of indoor hovering is a good basis for an indepth analysis. maybe someone more familiar with copter logs can chime in. that being said, i can’t spot anything pointing to a substantial malfunction of your GPS receiver.
I’ve been using the BN880 for a long time with good result together with iNav on a 5” quad. Moved to arducopter and a bigger bird and started to see problems. My view of the problem is that the compass together with vibrations in the bigger frame doesn’t match.
Have switched to a M9n gps with another compass and the problem seems to be solved.
The BN880 has moved back to the iNav 5” and works there without issues.
Did not see one problem while flying. Maybe I try the BN-880 one day again.
@vierfuffzig Still trying to set/calibrate the current monitoring correctly. I’ve now the right pin, need to calculate the factor. Can’t do that on the bench, because without props I can’t really get a high current.