RayOZ
Well-Known Member
Isn't it at ~7.5, there was a full reverse (rc_elevator) that explains it going backwards? The loss of GPS at 10s is when it's in the bush?
Ok, I'm still learning about compass errors and diagnosing them, so this is going to be my first real stab at it. All you experts feel free to jump in and correct and destroy this graph. I'm practicing (sorry OP ) so here we go.
The Mavic's yaw aligned on a heading of approximately 140 degrees or facing SE. In actuality, the heading was approximately 35 degrees or NE (measured on Google Earth). This caused the flight controller to be confused upon take off because its inputs resulted in completely different results than it intended. That's about as "techy" as I can get in my explanation, so here is the graph.View attachment 37090
Again, experts feel free to tear this apart! -CF
Cool! I'll have to try the lat/long compared to IMU, looks useful. Glad I'm finally figuring out his whole compass thing!You spotted the problem, and several observations corroborate the incorrectly initialized yaw. Adding the rudder inputs we see:
View attachment 37093
So not only was the initialized yaw (135°) significantly off from the estimated initial NW orientation, but at 8.3 s, with no rudder input, the yaw value starts to spin CCW.
Another test is to compare the recorded position (lat/long) converted to meters north and east of the takeoff point with the result of integrating the recorded IMU velocities north and east with respect to time.
View attachment 37094
That comparison illustrates that the initial motion of the aircraft was not in the direction that the FC expected. Positive pitch and negative roll (see first graph) on a heading of NW should have resulted in the aircraft moving south(ish) as the IMU data with the wrong yaw value (green trace) indicates. Instead it starts moving to the north as shown by the red trace. After that it's not the classic 90° yaw error toilet bowl because the initial error was nearer 180°.
Anyway - the cause was probably magnetic interference at the takeoff point. The GPS count declined simply because the aircraft ended up upside down - that was after the crash.
Were ther lots of metal around the build site? Just thinking of reasons for compass issues. I also thought that if there is a discrepancy in the sensors and "actual", the Mavic drops into ATTI. I cannot see that in the logs, but that would make the Mavic drift.Per earlier suggestions did a Compass, IMU and RC calibration this morning. Ran some test flights near my home and all went well. Took the MPP to a home building site about 5 miles away to take some video. All looked good at takeoff. As it was rising it got to about 2m and then suddenly began going backwards and crashed in to some brush. I found it upside down in dirt.
Airdata indicates good GPS at start and then declining as it went backwards.
View attachment 37072
I assume vacuum off good (dirt in vents) and do a visual check? Turn on and see what Go4 says?
I'd really like to know what happened. I don't think I pulled back on the right stick but may have. Download .DAT files from it and post here?
Thanks all,
Re-bar in the concrete where you launched from?Video of a very short flight:
This was likely caused by magnetic interference from the rebar then? Or something else? Combination? Mavic and RC are likely OK and safe to fly?
If rebar. How far away do I likely need to be? I've flown from that exact same spot several times without incident (other than the left yaw problem posted elsewhere) though prior there have been concrete forms (steel? alum?) up. Is the problem likely just takeoff/landing (horizontal interference) and so move a bit away for that but then flyovers (as I've been doing) should likely be OK? E.G., is the issue interference between the Mavic and magnetic north so once it's in the air it's ok?
Thanks for everyones help on this. Not the way I'd wanted to learn but quite interesting nonetheless.
Thank you. And for the tip on checking the arrow direction for mag interference (wish I'd had screen record on). If aircraft direction and arrow are in agreement then can I be relatively assured that there is no interference?
Also, am I correct that it was attempting to keep itself in the same spot (over the landing pad in this case) but that since it thought it was facing a different direction that its actions had the opposite effect so it attempted more of the action in order to correct what it thought was happening?
Would the rear facing obstacle avoidance in the P4 have likely prevented it from going in to the brush? It would likely have stopped and hovered? Or at least long enough to go in to ATTI mode?
Would it be possible for DJI to do a better job of trapping errors like this and reacting quicker or quite difficult? I'd think that the down facing camera could be used to give it a bit more info on what's happening?
GPS had 15 sats. I assume it would not have been affected? How quickly can it process GPS data and determine that what it thinks its doing is not reality and so stop doing it? From the log we know that the information was available at some point because we have a quite accurate flight path.
Would the rear facing obstacle avoidance in the P4 have likely prevented it from going in to the brush? It would likely have stopped and hovered? Or at least long enough to go in to ATTI mode?
Would it be possible for DJI to do a better job of trapping errors like this and reacting quicker or quite difficult? I'd think that the down facing camera could be used to give it a bit more info on what's happening?
GPS had 15 sats. I assume it would not have been affected? How quickly can it process GPS data and determine that what it thinks its doing is not reality and so stop doing it? From the log we know that the information was available at some point because we have a quite accurate flight path.
So in this case would OA have made it worse? It would try to brake but would end up just agrevating the problem? Interesting to think about.The flight control system is unstable at that point. Obstacle avoidance is not going to help.
Now if it had been a Toyota...Looks like a typical liftoff from very close to a big ol' Ford truck with a metal box bed 5' away. Happens every time.
So in this case would OA have made it worse? It would try to brake but would end up just agrevating the problem? Interesting to think about.