Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.

Dependencies:   mbed Watchdog SDFileSystem DigoleSerialDisp

Revision:
2:fbc6e3cf3ed8
Parent:
0:a6a169de725f
Child:
15:01fb4916a5cd
diff -r cb84b477886c -r fbc6e3cf3ed8 Actuators/Steering/Steering.h
--- a/Actuators/Steering/Steering.h	Tue May 28 13:58:35 2013 +0000
+++ b/Actuators/Steering/Steering.h	Thu Jun 06 13:40:23 2013 +0000
@@ -1,5 +1,7 @@
+#ifndef __STEERING_H
+#define __STEERING_H
 
-#define PI 3.141592653589
+#include "globals.h"
 
 /** A class for managing steering angle calculations based on current and desired heading
  *  and specified intercept distance along the new path.  
@@ -67,4 +69,6 @@
     float _wheelbase;
     float _track;
     float _intercept;
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file