First problem, write or read parameter in the board:

I am using APM 1.0.84.  noticed that when I set parameters (PID rate for example), then I fly, then I whant to modify them a little bit,.

I do not get the parameter I set in the copter , for example I set 0.11, and I get 0.109. Theyr might be a rounding probleme either when writing parameters in the Board, or when reading them  with APM.

 

Second problem:

I noticed in APM 1.0.82 (maybe corrected now), when I save a parameters file and later I load it again Some parameters are completely different.

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

Join diydrones

Email me when people reply –

Replies

  • After much testing (especially in high wind simulations) I realized that one of the biggest issues with proper path following is not the PIDs themselves, but the fact that Ardupilot waits until it reaches the waypoint before it makes a turn, resulting in the flight path "bulging" out past the waypoint and the plane having to work its way back to the intended track.

     

    This "bulge" is where many of the problems start to arise, snaking, overshoot, and in high wind scenarios it often results in missing the next waypoint completely as the plane can be blown several hundred meters off track before it has a chance to even finish its turn.

     

    Here is a blog post that seems to have a great solution to the problem, with examples and source code:

    http://diydrones.com/profiles/blogs/orbiting-and-turn-prediction

     

    Although the above solution seems relatively complex, although arguably an ultimate long-term goal, wouldn't it be quite simple to implement some sort of basic "turning radius" setting that Ardupilot than took into consideration when making its turns? If the turning radius is set to 60m in its most basic implementation it could just start turning 60m before the waypoint. Slightly more advanced would be to calculate the exit angle and start turning 60m before a180degree turn, 30m before a 90degree turn, 15m before a 45degree turn, etc...

     

    I believe having the plane leave the waypoint turn at least near the intended track would go a long way to  making PID tuning much easier and "accurate" path following an actual reality, while both improving efficiency and flight time.

     

     

  • Developer

    there was ithink one version where the param files got messed around. make sure you use the latest, as this was fixed quite a while ago.

     

  • I also have the second Problem on .82, I now have .84, but don´t test it again to load the parameter.

    The problem was what if it saved 0.4 and load again it was 40.00 or 400.00 I can´t remind me, but not all parameter.

     

    If I connect nextone, I will test it on .84

     

    And I also have the first problem. But I think it´s not so importen to fix this

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Monday
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Monday
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Monday
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
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
Nov 28, 2021
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…
Nov 26, 2021
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…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
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
Nov 23, 2021
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…
Nov 23, 2021
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, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
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, 2021
More…