Homero Silva / Mbed 2 deprecated PRGP_Pi_Swarm_ground_search_algorithm

Dependencies:   mbed

Fork of Pi_Swarm_Blank by James Hilder

Revision:
9:ef0907fda2f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PiSwarmControllerFunctions.h	Wed Jul 22 15:49:52 2015 +0000
@@ -0,0 +1,23 @@
+/*******************************************************************************************
+ *
+ * University of York PRGP 2015
+ *
+ * Robert Evans, Dept. Electronics & Computer Science, University of York
+ * 
+ * Version 1  17 July 2015
+ *
+ * Ground controller version 1 for Pi Swarm as part of PRGP
+ *
+ ******************************************************************************************/
+#include "main.h"
+#ifndef PISWARMCONTROLLERFUNCTIONS_H
+#define PISWARMCONTROLLERFUNCTIONS_H
+
+void changeState(uint8_t newState);
+float randToLevy(uint16_t randomNumber);
+uint32_t levyDistToTime(float distance);
+void turnDegrees(int16_t degrees);
+void calculateNewHeading();
+int16_t mod16 (int16_t a,int16_t b);
+int8_t mod8 (int8_t a,int8_t b);
+#endif //PISWARMCONTROLLERFUNCTIONS_H
\ No newline at end of file