Moderator

Auto Mode Success?

Has anybody had good results from using auto mode in conjuction with the mission planner?

and what pid`s are you using? it appears to me that there are a vast range of PID`s being used for auto mode, where as some of the other fuctions such as loiter or stabilise, there is not too much difference in settings? please post your opinions here..

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Yes, well, what do I say...? Have just returned form my first auto run and it looked like everything was going along swimmingly - but now I will be out of action while I wait for new parts...

    I took off manually, then switched to auto. I set 4 waypoints at 20m altitude. The quad crept along to each quite smoothly and I dont recall any real issues apart from maybe one or two slight wobbles.

    However, what happened next has set me back a couple of weeks. I had programmed in 3 turns around waypoint 4 using LOITER_TURNS before RETURN_TO_LAUNCH and then LAND. That was the plan. But as soon as it attempted to start the turns it totally lost control, swooped off at high speed and then i had to quickly switch to manual mode and kill the throttle before it headed off onto the road.

    So, LOITER_TURNS is off my list unless it is executed above 50m and in a massive paddock a long way from civilization.

  • Moderator

    I have my Nav P set to 1.200 any higher and it goes out of control with the slightest of error.. Like Crispin I have set out a mission over a football pitch so as to see if it does what it is supposed to do using goal post and lines e.t.c. At worst it is probably 30m out on the waypoints but always come to a finish more or less where I set it to. Looking at the logs it shows that there isn`t much response to error, but in reality if it is not in position for whatever reson it can be very aggresive to correct, nearly to the point of losing control the angles are so steep..

    Having watched various youtube missions with people using apm, I cant understand how they can get it to move so quick and stop dead on the waypoint and then shoot off to the next with great precision? they were using a much older firmware, but surely the firmware being used now should be better?

    Another thing worth noting is the gps, the longer you leave it the more accurate the waypoints are

  • one thing i have noticed that really makes some difference is STAB D.  i recently set this to zero whilst tuning the RATE values and for stabilize mode was very happy with the results.  trying to fly in auto like this however (at least in some wind) is like a rollercoaster ride!  my hexa dives from side to side trying to hit the waypoints and is generally far too aggressive in its movements.  adding some STAB D back in smooths things out a lot, though i dont remember now if i have it set at 0.1 or the default 0.15 - i might even try with this value higher for smoother auto flight.

     

    apart from that i have increased NAV P slightly (3.5 i think) to make headway against the wind (its nearly always windy here), and increased ALT HOLD P to 0.6 in an attempt to make it a bit more aggressive climbing and descending.

     

    ive spent a lot of time recently tuning RATE but have never really dedicated much time to tuning auto - for me it has always worked pretty well with default values.

     

    james 

  • Nope :( My quad is happy flying around (with me driving) and on calm days, loiter ALT-Hold etc are all ok (for me) but every time I tried an auto option it does not work. Always seems to be different things though, fly-aways, clearly deviating from the original plan (always the same square in a football field) and the occasional crashes.

    To be fair, I've always set a plan, tried it, failed and not bothered trying it again. Maybe I need to spend more time tuning it? I just want to have fun....

This reply was deleted.

Activity

DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
7 hours ago
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Saturday
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Thursday
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Wednesday
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
More…