DJI Mavic, Air and Mini Drones
Friendly, Helpful & Knowledgeable Community
Join Us Now

What happened?

Yep ... you had a uncommanded horizontal movement which reached 7,3mph (3,3m/s) at max up on 292ft (89m) height. HP was properly recorded & both GPS lock & GPSLevel was good.

The movement is clearly seen here ... have placed the chart marker at 30,1sec where the uncommanded movement is fastest. No horizontal stick inputs where made (aileron=roll=value 1024 neutral & elevator=pitch=value 1024=neutral)

(Click on the pictures below to make them larger)
1638128916195.png

But going in and comparing the GPS velocity with the IMU velocity in direction North & East shows a large deviation there (should be very near to 0 mph) ... this usually indicate a yaw error coming from powering on the craft in a magnetic interfered location ... or a IMU error.

1638129166499.png

This velocity difference is also seen in below sat.picture where the red path is from the GPS & the green is what the IMU thought. You can also see that the craft was recorded to be pointing in a south easterly direction just at take off ... was that the case ... or did it point into another direction in reality?

1638129274737.png
 
Yep ... you had a uncommanded horizontal movement which reached 7,3mph (3,3m/s) at max up on 292ft (89m) height. HP was properly recorded & both GPS lock & GPSLevel was good.

The movement is clearly seen here ... have placed the chart marker at 30,1sec where the uncommanded movement is fastest. No horizontal stick inputs where made (aileron=roll=value 1024 neutral & elevator=pitch=value 1024=neutral)

(Click on the pictures below to make them larger)
View attachment 139211

But going in and comparing the GPS velocity with the IMU velocity in direction North & East shows a large deviation there (should be very near to 0 mph) ... this usually indicate a yaw error coming from powering on the craft in a magnetic interfered location ... or a IMU error.

View attachment 139212

This velocity difference is also seen in below sat.picture where the red path is from the GPS & the green is what the IMU thought. You can also see that the craft was recorded to be pointing in a south easterly direction just at take off ... was that the case ... or did it point into another direction in reality?

View attachment 139213


thank you for taking the time to look into this for me, it was a scary moment when no input is given and the drone does stuff on its own, here is a video of what happened I will be calling DJI tomorrow to see if they can replace the drone since still has warranty and DJI refresh .


just uploaded the video so the quality might be bad.
 
Try to recalibrate the IMU and Compass.
Then try again in an open location
This is often recommended by people in forums, but usually when neither would make any difference.
This is another of those occasions.
Recalibrating the compass and IMU are not needed and won't make any difference.
 
This is often recommended by people in forums, but usually when neither would make any difference.
This is another of those occasions.
Recalibrating the compass and IMU are not needed and won't make any difference.
Well, it doesn't hurt to try.
Especially if it wasn't done before the first flight.
 
thank you for taking the time to look into this for me, it was a scary moment when no input is given and the drone does stuff on its own, here is a video of what happened I will be calling DJI tomorrow to see if they can replace the drone since still has warranty and DJI refresh .


just uploaded the video so the quality might be bad.
Yeah ... your clip pretty much confirms a yaw error.

This was the view & the direction your craft was pointing in reality at take off ...

1638175286664.png

In below pic. the black arrow shows the real heading direction ... the red the direction the IMU thought.

1638175373425.png

The yaw error is way over 90 degrees ... & that would create a kind of circular "drift" path as shown in the log.

1638175535419.png

Without access to any decrypted .DAT log it will be impossible for us to reveal the root cause here unfortunately.

Try to recalibrate the IMU and Compass.
Then try again in an open location

Calibrating the compass & IMU will not fix a yaw error ...
 
Well, it doesn't hurt to try.
Especially if it wasn't done before the first flight.
There's no need to do it before the first flight.
That would be mentioned in the manual if it was important.
And it's always better to identify the cause of the issue and address that rather than just doing things because "it doesn't hurt to try".
Would you think it was a good idea if your mechanic or doctor tried that approach?
 
Checking the actual drone orientation on the ground to what is shown on the map is one of the most important pre flight checks you can do.
If that is out, you move take off point somewhere nearby, where metal type compass interference is not present (or hand launch might fix it).
At least it didn't go full steam ahead 90 degrees and crash into a building . . . this time.
 
Could this be caused by the Obstacle Avoidance? Is yours set to bypass or break? I believe I read on another thread setting it to break instead of bypass helped stop some of the movement. But I think those comments were during low light situations.
 
  • Like
Reactions: mmoguls
Could this be caused by the Obstacle Avoidance?
No ... obstacle avoidance doesn't cause yaw errors.

In this case the AC was pointing in a Northerly direction in reality confirmed by the clip the OP shared. The IMU though ... thought the AC was pointing in a south easterly direction, confirmed by the log... you have it all in post #7.

All this is fine as long the flight controller doesn't need to counteract anything (like the wind) in order to hold position. But as soon as it's a need to correct the position the flight controller will increase the thrust with the wrong motors (due to not having the correct heading direction) ... this will instead of getting back to the correct position, increase the positional error ... & the loop continues with more & more thrust applied with the wrong motors until the AC flyaway in full uncontrollable speed.

This time the OP were lucky & could descend down before the full consequences of the yaw error set off ...
 
No ... obstacle avoidance doesn't cause yaw errors.

In this case the AC was pointing in a Northerly direction in reality confirmed by the clip the OP shared. The IMU though ... thought the AC was pointing in a south easterly direction, confirmed by the log... you have it all in post #7.

All this is fine as long the flight controller doesn't need to counteract anything (like the wind) in order to hold position. But as soon as it's a need to correct the position the flight controller will increase the thrust with the wrong motors (due to not having the correct heading direction) ... this will instead of getting back to the correct position, increase the positional error ... & the loop continues with more & more thrust applied with the wrong motors until the AC flyaway in full uncontrollable speed.

This time the OP were lucky & could descend down before the full consequences of the yaw error set off ...

should i return it?
 
should i return it?
Based on the flight records that you posted there is nothing wrong with the aircraft - you simply powered it up in the presence of an external interfering magnetic field and didn't do the basic check to see if the heading indication agreed with the direction that it was pointing on the ground before takeoff.

If you want a more detailed description of that problem:

 
  • Like
Reactions: PaulNH
Based on the flight records that you posted there is nothing wrong with the aircraft - you simply powered it up in the presence of an external interfering magnetic field and didn't do the basic check to see if the heading indication agreed with the direction that it was pointing on the ground before takeoff.

If you want a more detailed description of that problem:



the reason I am more concerned is cause where i live as i was going forward and pulling up at the same time the drone started drifting to the left no obstacle around it.
 
should i return it?
As said, a yaw error isn't anything permanent if it's due to a power on in a magnetic interfered location ... & isn't then a sign of a faulty craft.

When you power up your craft the IMU heading direction is initialized by the compass ... if this happens in a magnetic interfered location the compass will be deflected & by that the IMU will get the wrong information regarding how the craft is pointing.

As soon as the craft ascends away from the magnetic interfered location the compass will correct it self but not the IMU, which mainly is what tells the flight controller in what direction the craft points during the flight.

All this with a wrongly initialized IMU is easy to see before getting airborne ... just look at the map view in the FLY app & the drone icon there ... if that icon is pointing equal there in relation to other map object as the drone does in reality ... all is good. If not ... you need to power the craft down, move away to another take-off location & power up & repeat.
 
Last edited:
As said, a yaw error isn't anything permanent ... & isn't a sign of a faulty craft.

When you power up your craft the IMU heading direction is initialized by the compass ... if this happens in a magnetic interfered location the compass will be deflected & by that the IMU will get the wrong information regarding how the craft is pointing.

As soon as the craft ascends away from the magnetic interfered location the compass will correct it self but not the IMU, which mainly is what tells the flight controller in what direction the craft points during the flight.

All this with a wrongly initialized IMU is easy to see before getting airborne ... just look at the map view in the FLY app & the drone icon there ... if that icon is pointing equal there in relation to other map object as the drone does in reality ... all is good. If not ... you need to power the craft down, move away to another take-off location & power up & repeat.


before that flight I did take off from a park away from that area and the drone perform really well.

here is the flight information before I took off from the downtown area.

 
the reason I am more concerned is cause where i live as i was going forward and pulling up at the same time the drone started drifting to the left no obstacle around it.
Might add in this ...

As the .DAT logs from a M3 can't be decrypted & read by us we can't say if this yaw error was due to a magnetic interfered power on location (can be handled by the pilot) ... or a IMU error.

If you follow the pre-take off check on the map as I proposed in my previous post & everything looks good but the craft behaves anyway ... it CAN be due to a faulty IMU.

before that flight I did take off from a park away from that area and the drone perform really well.

here is the flight information before I took off from the downtown area.


If your craft was pointing in this direction at take-off ... you didn't have a yaw error then.

1638198955908.png
 
Lycus Tech Mavic Air 3 Case

DJI Drone Deals

New Threads

Forum statistics

Threads
131,078
Messages
1,559,613
Members
160,060
Latest member
Jarrodwp1