Commit graph

6 commits

Author SHA1 Message Date
Michael Hope c8e216bd08 Switch to the GPS tick using status so other things like the switch position can be checked. 2014-02-16 17:04:53 +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 abcd0a2b88 Switch the PID controller to error based to push the heading wrap
around up into the heading controller.
Let the deadband apply in positive and negative directions.
Apply the drive limit after all calculations.
2014-01-21 22:04:44 +01:00
Michael Hope da2790c647 Add a system identification controller that sets the speed based on
the dial.
Pull the PID parameters out into command line flags.
Change the speed setpoint to 17.5 km/h as 10 is too slow to control.
2014-01-19 10:18:44 -08:00
Michael Hope afa24fb872 Added mathex and testex packages.
Added a test target.
Switched the PID and anything else possible float32.
Changed TiLimit to be the total contribution.
Added a deadband.
2014-01-14 20:56:42 +01:00
Michael Hope 9c97294431 Implemented the speed controller. 2014-01-12 15:57:55 +01:00