Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Commands charQueue esp8266-driver
PathFinding/pathfinding.cpp
- Committer:
- williampeers
- Date:
- 2017-08-23
- Revision:
- 0:91703b1eb29e
File content as of revision 0:91703b1eb29e:
#include "pathfinding.h"
/*
Initialise object.
Call initators for any local objects.
*/
Pathfinding::Pathfinding(osPriority priority, int memory){
pathfinding_thread = new Thread(priority, memory);
}
/*
Infinite loop that will be run. like a main loop.
*/
void Pathfinding::run() {
while (true) {
}
}
/*
Called by main at the start of operation to start the thread running.
*/
void Pathfinding::start() {
pathfinding_thread.start(callback(this, &Pathfinding::run));
}
