Bot Bloopers

Tuning the PID parameters can be a frustrating experience.

In all of the plots below I'm trying to make the bot step through a series of four waypoints describing a square: {(0,4), (4,4), (4,0), (0,0)} (in feet).


Click on images for bigger ones

jed/run-10.png

I believe the integration is dominating. Looks like a drunken sailer who left the bar, went back for a couple more drinks, then got lost and finally passed out.

jed/run-11.png

Honey, I'm home!

jed/run-12.png

Doing better, but still losing its brains temporarily between WP2 and WP3

jed/run-14.png

Daydreaming on the second turn.

jed/run-16.png

I figured out that I need to use a leaky integrator on the error. But why does it keep turning clockwise at WP2? And not WP1 or WP3? Very curious.

jed/run-17.png

Here it minimizes the radius of the turn, but still goes clockwise 270 degrees instead of counter-clockwise 90.

jed/run-23.png

Whoops - gone off the wagon again. I've added too much leakage it seems.

jed/run-24.png

It's late — I have no idea

jed/run-25.png

Looks like automata

jed/run-27.png

Crash and burn

jed/run-43.png

Much better. You can see the ringing due to too much integration.

jed/run-55.png

Getting much better - still some turn bias though.