Massey 2017, Group 5, AGV control software.

Dependencies:   Commands charQueue esp8266-driver

Revision:
0:91703b1eb29e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Positioning/positioning.cpp	Wed Aug 23 02:10:36 2017 +0000
@@ -0,0 +1,26 @@
+#include "positioning.h"
+
+/*
+Initialise object.
+Call initators for any local objects.
+*/
+Positioning::Positioning(osPriority priority, int memory) {
+    positioning_thread = new Thread(priority, memory);
+    
+}
+
+/*
+Infinite loop that will be run. like a main loop.
+*/
+void Positioning::run() {
+    while (true) {
+        
+    }
+}
+
+/*
+Called by main at the start of operation to start the thread running.
+*/
+void Positioning::start() {
+    positioning_thread.start(callback(this, &Positioning::run));
+}
\ No newline at end of file