Commit graph

6 commits

Author SHA1 Message Date
Michael Hope 9d96112bd4 Switch the heading controller to derrive off the GPS tick.
Add in differential control.
2014-02-16 17:04:11 +01:00
Michael Hope ed899fe947 Add logging to all of the inputs and outputs.
Changed to a struct style for all logging.  Gives easier post processing.
Changed the heading controller to dump state all the time for checking.
Added watchdogs to everything.
2014-02-02 15:13:39 +01:00
Michael Hope dc7be912cb Add GPS and Event hooks into all controllers.
Fix a bug in converting 0-360 headings into -Pi to Pi radians.
Bind in the rest of the waypoint controller.
2014-01-26 16:06:52 +01:00
Michael Hope d21216390b Added the position/waypoint controller. 2014-01-23 21:44:25 +01:00
Michael Hope 1d731aacaa Change the heading controller to allow jogging by 90 degrees or 180
degrees based on the steering input.  Should allow doing squares as a
test.
2014-01-21 22:03:32 +01:00
Michael Hope ae71751509 Pulled the other PID parameters out so they can be used in heading
mode.
Added a heading controller.
Changed the PID controller to work on error so the heading controller
can handle the wrap around.
Support deadbands in both directions.
2014-01-19 11:28:33 -08:00