deviation from waypoint track

Hi forum,

I came along this beautiful flight analysis Wiki entry from Tridge.
But even by this help I can't resolve my current issue.

My plane is an EasyStar comparable plane without using ailerons.
APM2.5 with V2.73.

Testing waypoint flights without any wind I still got major
deviations. Here my rectangle running it three times. My
analysis is the 250m line between waypoints 41 to 48 on
the second loop. I did this flight several times by playing
with different PID values as proposed in the threads.

3691042969?profile=original

The pictures show the deviation to the track and the roll values.

3691042910?profile=original3691042850?profile=original2013-07-22%2021-48_1_start.log

It seems that Roll follows NavRoll quite well.

But NavRoll comes up somehow very late.

The deviation is switching at tick 15 (15*0.2s => 3s) to the negative side.
NavRoll is going much later at tick 89 (89*0.1s => 8.9s) to the negative side.
I would expect that this should be following somehow very much faster.

Attached the paramter setup from the beginning of the log.

Now I need a hint how to analyse further.

thanks in advance
Wolfgang R.

2013-07-22 21-48_1_start.log

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

Join diydrones

Email me when people reply –

Replies

  • As the weather wasn't nice to replay such flights I had time to look into

    the code first time.Fortunately my problem seems not to be related

    to GPS things or PID-controller setup but to my route and waypoints.

    The route is very short and the waypoints too close and the waypoint

    radius must be smaller as well. That should give the controller the chance

    to establish a better track.

    Now I understand the page 'Tuning the new L1 controller' better.

    I did not dig into the mathematics and the inner loop of the PID

    controller but one point seems a bit odd to me.

    The waypoint calculation is establishing a new angle to the next

    waypoint only once it is passing the current one. This nav_roll_cd

    value is feed in top level to all calculation cycles up to the next

    waypoint. Its impact is reduced by a smaller getting error angle

    but if it's catched in a 'bad' cycle it still might have too much impact.

    From my feeling this value should be re-sampled and smoothed

    somehow. But maybe the algo can deal with it.

    There is a remark in the code that this is a time consuming calculation

    (3.5ms). This might be as well a reason to do it only once.

    Wolfgang R.

    once it is passing a waypoint.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…