I openned Bug to get help !
It looks like it could be a motor failure of the front right motor.
The reason I think so is that we see two symptoms of a motor failure:
- the desired and actual roll and pitch are tracking OK and then suddenly diverge. In this case the roll becomes positive (vehicle rolls right) and pitch becomes negative (vehicle pitches forward). This is towards motor 1.
- the presumably failed motor (1) goes high and it’s opposite motor (2) goes low.
I’ll continue to have a look though… there are a lot of features enabled including TCAL, bendy ruler, etc.
I build multicopter drone fo the first time and i did everything in the book about the setting
and when i am trying to fly the thing it want take off it will sake around and turn upside down
can someone help me to findout what is the problem?
You’ll need to start your own thread for your problem.
But with a multirotor trying to flip on takeoff is ALWAYS motor order, and the 2nd issue some have is pitch channel reversed.
thank you @rmackay9 !
Your indication was analyse, but other errors got observated before, EK3-YAW-RESET and GPS-2 ERROR.
obs: This same crash did 2 times in same conditions but in different flight board and battery ! Same frame, motors, GPS module, see below logs of first crash (first_crash_00000014.BIN), the battery connector AS150u was hot and kill the anti-spark !
After EK3 IMU1 MAG0 ground mag anomaly, see last message sequency just before to do crash:
07/02/2022 18:27:13 : PreArm: Compasses inconsistent
07/02/2022 18:26:37 : GPS Glitch cleared
07/02/2022 18:26:34 : PreArm: Compasses inconsistent
07/02/2022 18:26:29 : EKF primary changed:0
07/02/2022 18:26:24 : EKF3 IMU0 emergency yaw reset
07/02/2022 18:26:24 : EKF primary changed:1
07/02/2022 18:26:24 : EKF3 lane switch 1
07/02/2022 18:26:24 : EKF3 IMU1 emergency yaw reset
07/02/2022 18:26:21 : GPS Glitch
07/02/2022 18:26:20 : Mission: 1 Takeoff
07/02/2022 18:26:17 : EKF3 IMU1 MAG0 ground mag anomaly, yaw re-aligned
07/02/2022 18:26:17 : EKF3 IMU0 MAG0 ground mag anomaly, yaw re-aligned
I tried replay this condiction in frame without propellers, no got “emergency yaw reset” message ! And I did see message CRASH DISARMED: AngleErr: 40>30, and confirmed in parameters: ANGLE_MAX=3000 (30g), cutoff motors. I changed to 4000.
other curisity about parameter is about EXTERNAL COMPASS, because in CAUV v5Nano the COMPASS_ORIENT0 = 0 but in this actually flight board CUAV X7+ external compass is same and after calibration this COMPASS_ORIENT0 was automatically changed to 6 YAW 270, and same CUAV boards internal compass was Orientantion to 0.
I think this is a bug. But I will change the motor 1 and go to new flight test !
I thing this motor inconsistent fail is probality, but it worked for 2 flights, and work well on the table.
If I had motor fail, why not going to Crash event when angle was >30 ? Why didn’t see Pontential Thrust Loss message ?
This messages I did see after in simulation test.
This message is usually announced when a motor is consistently commanded to a set PWM (usually max) with no response. In the log its looks like the PWM out fluctuates between max and some other value. Maybe the motor/ESC was cutting in and out intermittently?
I was tested this and all motors cables and pwm cables and pins, no inconsistent working.
When I do indoor test without propellers in arming mode, the drone work perfectly, I tested all situation, but never have return YAW RESET before, after this message, YAW orientation was change !!!
This graphic can see Motor1 going to max PWM in same time to touch down on the floor.
see next graphic, YAW variation is bigger after YAW reset message. I thing the YAW was change of Compass 0 to Compass 1 and they were different values and orientation !
I will try new flight with changes:
- change motor 1;
- change GPS Module (compass 0);
- Change AngleMax to 4000 (40);
- change disable internal compass, to EK3 no change on the flight !
I hope no get more crash ! Oh my God !!!
After that why not perform the usual, Pre-maiden flight, Configuration?
Initial Parameters Setup in Mission Planner.
Configure the Dynamic Notch Filter.
Do some tuning (Auto Tune or Manual).
this drones did some excellents flight before !!! I am not setting for first flight !
Most parameters are at Default and the Tuning looks poor. This is not the best place to start.
At a minimum go here and set these:
Yesterday I did good fligh again !!! 14 minutes on the fligh, no problems, no glitch, no EKF errors !
I did change of Motor1 like you review, and, change GPS/Compass module too !
I did see first flight was a spark and less energy power on the flight, why ? I discovery one screw in below battery connector AS150 !!! After that spark, the GPS module is not working propely, can see GPS Error and Compass Errors in secund flight ! I feel that is instable, I’ll try in little drone soons.
I will analize the function EK3_YAW_RESET, because, if have a bad return of compass and GPS, need a workaround function to stop and land drone, or change to ALTHOLD mode.
Thank you guys for quick return,
Have a nice flight !