Arduplane 4.2.0dev Autotune

  Рет қаралды 3,702

bonafidepirate

bonafidepirate

Күн бұрын

Re-doing the autotune with the AR Pro running Arduplane 4.2.0dev on a Matek F405-Wing. I put this short video together for those interested in how it works, pretty quick and easy! I'll edit the rest of the flight in HD and upload it soon. Thanks for watching!
__
Patreon: / bonafidepirate
Huge thanks to my current Patrons:
Brayton T.
Christopher S.
Werner B.
Douglas M.
Peter W.
Robin B.
Andy M.
John M.
Robert J.
Lauren R.
Rick M.
Alexander B.
Kevin W.
David H.
Steven B.
Keith S.
A.J. S.
Josh Z.
Steven H.
Silvio F.
Kevin W.
nadieselgirl
Alfred M.
Reindale H.
Henning K.
Anders B.
Adi
Channel Members:
Doug McPheters
100SteveB
AtomicFrawg
Spartan 329
Todd Loomis
J.
Christian Stewart
burre fpv
Silvio Franco
mrreddog
Werner Berry
jdmkramer
PoolNoodleFPV
Martin keilloh
Return to Home FPV
Join this channel to get access to perks:
/ @bonafidepirate
You can help to support my channel by using the affiliate links below when making a purchase:
Banggood - bit.ly/2EAo4XZ
eBay - ebay.to/2r7k3mb
Amazon - amzn.to/2AptzV2
Foxeer - www.foxeer.com/...
You can also make a donation if you wish to do so at the following link:
Support my channel and my efforts to bring you better content, every little bit helps! paypal.me/keith...

Пікірлер: 41
@bomberaustychunksbruv4119
@bomberaustychunksbruv4119 2 жыл бұрын
They have nailed the AHI haven't they!, it was dead on the whole flight.
@bonafidepirate
@bonafidepirate 2 жыл бұрын
Yeah I'm always impressed with that! lol
@yojazdayo
@yojazdayo 2 жыл бұрын
wow, video is crystal clear
@MCsCreations
@MCsCreations 2 жыл бұрын
Fantastic flying, Keith! 😃 Pretty interesting the autotune process! Thanks for sharing it! Stay safe there with your family! 🖖😊
@iforce2d
@iforce2d 2 жыл бұрын
Excuse me sir.... no sweet landing?!?!?! This is unacceptable!
@bonafidepirate
@bonafidepirate 2 жыл бұрын
Gotta watch the second half in HD! lol I'll upload it soon, probably later today.
@MarcFPV
@MarcFPV 2 жыл бұрын
Nice showcase for the Autotune. The pitch on a glide is very likely restricted by the stall protection. I guess this is on by default. It prevents you from pitching up and also limits the bank angle when the airspeed is too low. so the plane won't stall.
@bonafidepirate
@bonafidepirate 2 жыл бұрын
STAB_PITCH_DOWN is the only thing that should affect the pitch in FBWA, it's explained here. ardupilot.org/plane/docs/parameters.html#stab-pitch-down It's only lowering the nose 2 degrees at zero throttle. My max pitch angle is at the default 20 degrees, so in theory I should still be able to raise the nose 18 degrees above level while gliding in FBWA. I think I'll play with MIXING_OFFSET to balance the pitch and roll response which may help a bit. Maybe raise the max pitch angle a bit too.
@MarcFPV
@MarcFPV 2 жыл бұрын
@@bonafidepirate makes sense. Good to know. So I guess the stall protection then only limits the bank angle? Have to look into the description again.
@SILVIOFRANCO1
@SILVIOFRANCO1 2 жыл бұрын
Very nice the autotune process. What is your preference? Ardupilot or Inav? Good flights
@AerialWaviator
@AerialWaviator 2 жыл бұрын
You may not have an answer for this ... I'm curious if one should have a target A/S in mind when doing an autotune process? Only asking as noticed you did roll tuning at ~50-55 mph and pitch tuning at 35-42 mph. Maybe it doesn't matter. Naturally the control surfaces will be more responsive at higher speeds for same amount of defection, less so at lower speeds. Not sure how this is accounted for in FC autotune process. ie: should we tune at typical flight speed, or should be varied to get better results of a wider speed range. (question is not specific to Ardupilot, or INAV, just curious) ArdupilotTKOFF_THR_MINSPD param for throttle-off minimum speed. It may explain the running out of up elevator authority on landing, depending how it compares to the stall speed.
@bonafidepirate
@bonafidepirate 2 жыл бұрын
Ardupilot scales the PIDs according to airspeed to account for the effectiveness of the surfaces changing. It does need to know roughly what the intended cruise speed is, which is set by the "SCALING_SPEED" parameter. I don't think it's super critical to tune at a specific airspeed because of this, but typically I tune at the cruise throttle I'm shooting for. (not that throttle was 35% for both roll and pitch tuning) Normally I don't have an airspeed sensor so that target throttle plays a bigger role, but even without a sensor it uses estimated airspeed to scale the PIDs. The TKOFF_THR_MINSPD parameter only works to suppress throttle until the plane is above the set speed during an auto takeoff, useful for a catapult launch from what I gather reading about the parameter and what it does. It shouldn't be active during landing.
@AerialWaviator
@AerialWaviator 2 жыл бұрын
​@@bonafidepirate Did notice you set throttle at 35%, a number seen used on previous flights. Guess not to critical as flying reasonable level and good enough for most flying circumstances. :) Thanks for taking time to answer questions and providing context.
@cgwclimber
@cgwclimber 2 жыл бұрын
Nice video! Wondered if the autotune automatically saved the changes, and if there were any reasons you altered parts of the PIDs on your own?
@siogana
@siogana Жыл бұрын
Hi.. Im using 4.3.2 on matek f405 std. When i did autotune....flight mode still on fbwa... N message stopped autotune came out.. Any sugestion?
@stephencarlson6297
@stephencarlson6297 2 жыл бұрын
Just checking for clarity: Is this actually 4.0.1dev, or 4.1.0dev? 4.0.1 is over a year old at this moment.
@bonafidepirate
@bonafidepirate 2 жыл бұрын
It's 4.2.0dev, or the "latest" branch. I'll fix the titles. ;) Thanks for the heads up!
@sarahdaviscc
@sarahdaviscc 2 жыл бұрын
Love your AR Wing Pro videos. How do you digitise the analogue video so clearly?
@bonafidepirate
@bonafidepirate 2 жыл бұрын
I think it's a combination of a few things. A decent FPV cam to start, a well matched vtx and receivers, a good capture device to get the video into my PC, and capturing it with relatively high bitrate in OBS so it doesn't get demolished when I edit and re-encode before uploading to KZbin.
@sarahdaviscc
@sarahdaviscc 2 жыл бұрын
@@bonafidepirate what VTX and VRX do you use? Also, what analogue capture card?
@bonafidepirate
@bonafidepirate 2 жыл бұрын
@@sarahdaviscc 800mW Partom transmitter with a Racewood receiver that's no longer sold, but the RMRC ones use a similar RF module and should work as good. For capture I'm using a GV-USB2 from IO Data
@sarahdaviscc
@sarahdaviscc 2 жыл бұрын
@@bonafidepirate thank you so much!
@nicfpv9969
@nicfpv9969 Жыл бұрын
Hello bona, is this the same procedure to tuned a vtol?
@jhughes2286
@jhughes2286 2 жыл бұрын
Hello Keith, Are you still flying this Ar Pro with the Li Ion 4s3p or are you using the Turnigy 4s 5200? Also your efficiency is amazing, with a 5.5 mph headwind you were sitting at a steady 110 mah/m.
@bonafidepirate
@bonafidepirate 2 жыл бұрын
Yeah, still the 4S3P 18650 pack. That's pretty much what I'm averaging is about 110 mAh/mile with this one. It's the stock motor and ESC (Sunnysky 2216 1400kV) with a APC-E 7x6 prop.
@SamStack
@SamStack 2 жыл бұрын
I've never noticed the messages during auto tune before. Is that a new feature of 4.2?
@bonafidepirate
@bonafidepirate 2 жыл бұрын
I think it's there in 4.1 and later.
@mrreddog
@mrreddog 2 жыл бұрын
I know Autotune Confirmation has been in older firmware from long ago using pixhawk 1 & 3dr radio to Mission Planner on a laptop, but cant remember if it displayed the pid values. But it would definitely say "Autotune successful" on MP hud screen when completed..
@flyingrock6381
@flyingrock6381 2 жыл бұрын
Good stuff! What autotune level was that? Default 6? Cheers!
@bonafidepirate
@bonafidepirate 2 жыл бұрын
Level 7
@mrreddog
@mrreddog 2 жыл бұрын
Your LIM_PITCH_MAX & LIM_PITCH_MIN are at defaults of 2000 & -2500. If you raise these, you should get more pitch authority, I think? I don't have any wing experience, but its helped me on other planes....
@bonafidepirate
@bonafidepirate 2 жыл бұрын
Yes, 20º up and 25º down. I could try raising them, but I'd think 18º (considering 2º down added by STAB_PITCH_DOWN) would be enough for a flare at landing. It's barely able to hold the nose up level at full stick once the wing slows down. The log shows it's "requesting" more pitch up angle than what's achieved. Asking for more may or may not help... lol In manual mode it will easily pull the nose up until it stalls. I'll play around with it and see if I can figure it out.
@mrreddog
@mrreddog 2 жыл бұрын
​@@bonafidepirate HUH? Try adding 10 more degrees to LIM_PITCH_MAX as a test. Thats all I can think of??, I'm no pro, but it really helped my Stratosurfer. But it could of been due to motor thrust pushing from above??
@jimmytheriot8978
@jimmytheriot8978 2 жыл бұрын
Have you tried the fatshark HD system
@bonafidepirate
@bonafidepirate 2 жыл бұрын
I have not
@jimmytheriot8978
@jimmytheriot8978 2 жыл бұрын
Could you do a video on how to set the two switches you need for mode switches
@rakinye8843
@rakinye8843 2 жыл бұрын
how to put video in QGC windows
@bonafidepirate
@bonafidepirate 2 жыл бұрын
That's only done during editing. When I fly I have my video up on one screen, normal QGC on another, and OBS running to blend to two into what you see here for recording. I wish there were an option to do it within QGC, I'd free up an extra screen... lol
@Tyler-qz9uc
@Tyler-qz9uc Жыл бұрын
How are you estimating Wind speed?
@bonafidepirate
@bonafidepirate Жыл бұрын
Ardupilot estimates it based on changes in GPS ground speed vs. direction. It's even more accurate with an airspeed sensor. There's some explanation here, it's in the copter docs, but the principles are the same for planes ardupilot.org/copter/docs/airspeed-estimation.html
@Tyler-qz9uc
@Tyler-qz9uc Жыл бұрын
@bonafidepirate thanks! I appreciate the quick response!
Arduplane Fixed Wing Autotune Overview
12:05
Painless360
Рет қаралды 18 М.
Arducopter  Autotune mode
13:49
RCSchoolmodels
Рет қаралды 50 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 118 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 33 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 6 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 56 МЛН
A quick narrated flight with the Penguin.
13:49
bonafidepirate
Рет қаралды 1,9 М.
How Small Can an Autonomous, Long Range, HD UAV Be?
13:25
Think Flight
Рет қаралды 127 М.
AC3.1 AutoTune Setup
9:29
Randy Mackay
Рет қаралды 111 М.
Penguin, Walksnail, ELRS
7:57
bonafidepirate
Рет қаралды 3,3 М.
Plane 4.1.0beta4 autotune demonstration
3:40
Andrew Tridgell
Рет қаралды 1,2 М.
Arduplane Autolanding with LIDAR: Setup tips
16:38
Painless360
Рет қаралды 5 М.
AR Wing Pro FPV / Arduplane Config Uploaded
13:04
bonafidepirate
Рет қаралды 2,4 М.
Fixed Wing Flight Controllers - Do I need a Compass?
7:42
Painless360
Рет қаралды 15 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 118 МЛН