You need to do some manual tuning before Auto Tune will complete. Try these:
ATC_ACCEL_P_MAX,25000
ATC_ACCEL_R_MAX,25000
ATC_ANG_PIT_P,7.0
ATC_ANG_RLL_P,7.0
ATC_RAT_PIT_D,0.01 (same for Roll)
ATC_RAT_PIT_I,0.20 (same for Roll)
ATC_RAT_PIT_P,0.20 (same for Roll)
ATC_THR_MIX_MAN,0.5
PSC_ACCZ_I,0.34
PSC_ACCZ_P,0.17
And read this and follow the guidelines Setting Motor Ranges (surely I have directed you to this before)
Then perform 3 flights none of which will be Auto Tune:
Hover flight in AltHold for a minute or so.
Flight to collect data for Magfit. Perform a few figure 8ās with some throttle changes
A flight in whatever mode you want with some significant pitch roll and Yaw movements.
Clearly identify these logs and post a link to them.
Thank you very much, kind person, for these comments, for these comments and for helping me do my work, itās very difficult for me to read anything now, we have the conditions of the Polar Night and we all walk around like sleepy flies. Yes, I completely forgot about this parameter, I installed it, there were two values 0.17 and 0.2. By the way, I noticed that some parameters were not set immediately. Perhaps this was an error in the flight controller. I had to reboot it, and only the second and third time they began to be installed. Before that, there was a failure error. Perhaps this was due to the fact that I was using USB power and not the main one
Guys, I was wondering. How can you make sure that the percentage of battery charge in the ardupilot is calculated by voltage, and not by its consumption?
I connected the laboratory power supply to my drone and changed the voltage. To my surprise, Mission Planner and qground Control did not issue any warning; the color of the indicator changed in Mission Planner; and nothing happened at all in qrone Control. Why canāt you set it separately for voltage and separately for flow?The main problem is that after rebooting the flight controller, if you need to make several flights, the battery will again show 100%
EDIT: yes, I looked at your log, it seems fine. BUT you dont have these set - they are extremely important!
BATT_FS_CRT_ACT,1
BATT_FS_LOW_ACT,2
People that believe they can monitor battery voltage or flight time better than the flight controller, and choose when to take appropriate action, are just wrong. Weāve seen it in logs many many times.
I suspect you wont see any change in a ground station unless you try to arm or are already armed - but please set those two actions and retest, let us know if that makes a difference.
If you are sure the current sensor is reasonably accurate then you can also set these:
BATT_CAPACITY
BATT_CRT_MAH
BATT_LOW_MAH
but for them to be effective you always need to start with a fully charged pack, and dont reboot the flight controller in between flights.
The correct voltage settings are still required when using the mah/capacity levels in case a battery has a bad day or capacity is not as you expect.
I tried to set up the temperature calibration, but it seems to me that I did something wrong. And by the way, before running this script, I had to tinker for a couple of hours on the Internet in order to find how to fix all the errors and they consisted of the lack of all sorts of different modules and also in the command line the line does not contain large capital letters. They are not copied because of this there was also an error
If you continue to struggle with the script for Offline Calibration forget about it and run it live. Itās not complicated and the docs are in the same link. Also, if you didnāt do so already you should review that parameter file you loaded from the tune guide and make sure the parameters are set for your Flight Controller. As with all those parameter files in the guide, and as itās stated, āedit it with a text editor to meet your needsā.
In general, what happened I took off in althold mode, it started to rock, I switched to the stabilized mode and landed, I thought it was the temperature compensation settings, I took a magazine, found it at a construction site that had changed, returned them to their original state and took off again, but in the stabilized mode I tried to turn them on althold mode, but the Drone also swayed after switching to the stabilized control mode, but the Drone also continued to sway. I landed it as soon as I managed to land it, but I didnāt have time to do so, and after swinging, it fell heavily, as a result, the chassis and battery mount were damaged. I hope the glue will help. Iām very upset, itās not so easy to leave. in order to make a flight I have to travel tens of kilometers and carry it all manually on myself, itās just a shame that it fell. To be honest, I thought that everything would be fine because after I turned on the auto-tuning last time, it flew very stably, but it was felt that there was a certain adjustment over a wide range I have equipment with a spring-loaded left throttle stick, so when I release the gas itās very inconvenient, the quadcopter immediately flies up, Iāll glue it for now.
Spring-centered throttle should be good, it is safest for a normal copter.
The copter needs to learn hover thrust in AltHold or Loiter, and you should have this set: PILOT_THR_BHV,1 (I use 7)
@dkemxr the off line script is better and safer than the on line code in the FW because it allows you the see the quality of the compensation and more importantly it allows you to see if the computer moved during the calibration process and the compensation is hence invalid
Iām afraid to adjust the pid manually, the drone is very large. During todayās takeoff, before the fall, the drone swayed just before landing, these vibrations were increasing with a frequency of about a couple of hertz.
OK. Then if thatās your perception the parameters in the attached are the only differences from that condition (log10) that will make any flight performance difference to what you have now. Oldparam.BIN.param (251 Bytes)
Yes, I know, you told me the wrong pid. I donāt blame you, it just seemed to me that you had enough experience to believe you. Now I need to fix the chassis.My frame has 6 motors, 12s, 30 inch propper. weight 23 kilograms. just reminded you, maybe you could tell me the pid for another drone