Library for thread to determine AGV location
positioning.cpp
- Committer:
- williampeers
- Date:
- 2017-08-23
- Revision:
- 0:6a51b6fe2114
File content as of revision 0:6a51b6fe2114:
#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)); }