Dear all,
My name is Anh
I am assembling a new quadcopter using 3DR PX4 micro controller,on this morning I have tested my Drone and I saw that it flied and spins around itself, so I have to turn it off and, my quadcopter crashed
This is log info I get from Mission planner:
Size (kb) 10070.0341796875
No of lines 136430
Duration 2 days, 1:09:52
Vehicletype ArduCopter
Firmware Version V3.2.1
Firmware Hash 36b405fb
Hardware Type
Free Mem 0
Skipped Lines 0
Test: Autotune = UNKNOWN - No ATUN log data
Test: Balance/Twist = GOOD -
Test: Brownout = GOOD -
Test: Compass = FAIL - Large change in mag_field (429.15%)
Max mag field length (1346.02) > recommended (550.00)
Test: Dupe Log Data = GOOD -
Test: Empty = GOOD -
Test: Event/Failsafe = FAIL - ERRs found: CRASH FLT_MODE GPS FENCE
Test: GPS = FAIL - Min satellites: 0, Max HDop: 99.99
Test: IMU Mismatch = WARN - Check vibration or accelerometer calibration. (Mismatch: 1.16, WARN: 0.75, FAIL: 1.50)
Test: Parameters = GOOD -
Test: PM = FAIL - 55 slow loop lines found, max 9.98% on line 85540
Test: Pitch/Roll = FAIL - Roll (165.26, line 135281) > maximum lean angle (45.00)
Test: Thrust = GOOD -
Test: VCC = GOOD -
And, I also attached kmz log, if anyone know about my problem, please explain what happened with my drone and give me some advice
Thank you very much,
Anh
Replies
Attached log
2015-09-01 11-02-00 113.bin.rar
Thanks Phillip,
Can I ask you a question.
Do you think PID values can be a reason for my problem
Because today I tested with different PID values and I saw that my quadcopter can take off vertically, although it still spins a little bit
Spiral flight paths are almost always caused by a bad magnetometer calibration, so that combined with the fact that your log above clearly shows that your magnetometer is out of calibration, it is the obvious problem.
Bad PID might cause the copter to oscillate or wander slightly, but it is extremely unlikely they will cause spin unless nonsensical numbers are used.
Hello,
As you see in the log:
Test: Compass = FAIL - Large change in mag_field (429.15%)
Max mag field length (1346.02) > recommended (550.00)
This could be the reason lead to spiral flight path of my drone, so I refer this link: (http://copter.ardupilot.com/wiki/prearm_safety_check/) -> the recommended magfield is 530 for PX4
Recently, I have tried many times to calibrate compass again,and also do compassMot, but this magfield value only changes from 426 to 430, it cannot reach to ~530
Besides, after calibration, I receive different values of compass offset (you can see in attached files)
They are the value of COMPASS_OFS_X/Y/Z and COMPASS_OFS2_X/Y/Z, I don't understand, I only use an external compass+GPS module for my drone, so what is COMPASS_OFS2_X/Y/Z?
Could you show me how to correct the magnetometer?
Thank you very much
Anh
-
1
-
2
of 2 Next