Replies

    • Developer

      Hi Patrick,

      Sorry about your crash. I can see from your logs that at the time of the crash the copter was using the normal stabilized pids and was not doing any tests. This means the copter crashed in the equivalent of stabilized mode. Unfortunately you don't have output logging turned on so I can't get any more information from the logs. However based on your desired and measured roll pitch and yaw angles it looks like you lost your front right prop, motor, or esc.

      Sorry for your crash!!

      • Hi Leonardhall,

        Thanks a lot for your answer. Props were still attached to their motors, undamaged (damage was restricted to 2 broken arms and their respective frame clamps). I could even arm the copter and throttle-up the motors again after the crash.

        I can see at the logs that autotune was interrupted by roll and pitch inputs, and after that both Pitch and Roll start diverting from their respective desired values - which at that moment were close to 0. In other words, motors an ESC were almost in hovering effort - far from the demands of autotune.

        One question: during the roll tuning, autotune increases RDGain up to 0.02, and the same thing happens during the pitch tuning. Is this value the top of RDGain range, meaning a limitation for larger copters?

        Thanks,
        Patrick

        • Developer

          Hi Patrick,

          Yeh, we want to minimise the danger in the case that someone gets a poor tune. As we become more confident that autotune is doing all the right things and that we understand how it fails we relax these limits.

          • Hi Leonardthall,

            I found the logs from the previous occurrence of the same issue. 

            There is also a video from the moment  the copter went crazy during auto-tune. I was lucky that day and could regain control of it.


            https://youtu.be/DD-y6ltJGAs

  • leonardthall

    getting back to autotune overshooting on tricopters,  

    attached is a smallish tri log I tried to autotune today in the morning.

    the resulted PIDs are really off. I would greatly appreciate you figuring out why autotune seems to miss tricopters.

    On my side I will do whatever it is necessary to help you. 

    Thank you. 

  • Conveniently in the post above your post shows where those values go.  RPGain goes in the P and I values for the Rate box for either roll or pitch depending which axis it was working on (take the final values before it switched to the next axis).  I know - identical values for P and I but that's just how autotune does it.

    The RDGain value goes in the D term.

    The SPGain you want to copy to the "Stabilize (roll or pitch) P" value higher up on the screen (top row of boxes).

    That's it.  Those are the only values that autotune messes with.  So if you copy those values in now it should get you closer to "tuned".  Also it should tune the first axis much faster.  Be aware that many people want a less twitchy, less reactive, less responsive result than autotune provides.  So you might want to lower your P and I values a bit manually if you don't like the responsiveness.

  • Is there a handout for reducing autotuned values for Coaxial copters (Y6B). Mabe reduce some values to xx percent do get near to the optimum?

  • I have APM but connected to 6 channel receiver.  Radio 9XR.

    I want to use the autotune but mission planner only access on channel 7/8.

    Currently have Channel 5 for the flight modes.

    Any way to setup APM connections, 6 channel receiver and the mixers on the 9XR to temporarily use the autotune feature from channel 7?  

    Thanks

    • Can't you take the connection from your receiver's ch6 and put it to the APM's ch7 input?

      • Which connection spot is the Channel 7 input.  I am actually using a Crius AIOP which has Aux 1-4 inputs.

        Normally, channel 5 for the flight modes are connected to the aux 1 and the channel 6 to the aux 2.  I guess it would be aux 3.

        Thanks

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…