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 @SmallpixelCar: First time at @wsraceways. After tuning @HokuyoUsa lidar signal and camera sensor on @NVIDIAEmbedded, my car was able to…
Sunday
DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
Friday
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
Friday
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
DIY Robocars via Twitter
May 26
DIY Robocars via Twitter
RT @a1k0n: Here was my car's POV. Man this track is confusing in first-person! After the incident my camera was all scuffed up and I was af…
May 23
DIY Robocars via Twitter
RT @circuitlaunch: Loved seeing so many familiar (masked) faces at Circuit Launch today for our first in person @diyrobocars in over a year…
May 22
DIY Robocars via Twitter
RT @circuitlaunch: Last but not least, mystery guest @BostonDynamics Spot took to the track @diyrobocars He enjoyed the #brazilianbbq too 😂…
May 22
More…