MRC/WallfollowerCode: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
The link below contains a zip-file with the wall follower code as discussed during the lecture. | The link below contains a zip-file with the wall follower code as discussed during the lecture. | ||
The aim of the code is to provide an example of a software architecture including an event loop, event queue and state machine. | The aim of the code is to provide an example of a software architecture including an event loop, event queue and state machine. | ||
The code is meant as an example, and as such is not functioning | The code is meant as an example, and as such is not functioning flawlessly. | ||
Compiling the code is done by going to the folder containing the toplevel CMakeLists.txt and executing: | |||
<pre> | |||
mkdir build | |||
cd build | |||
cmake .. | |||
make | |||
cd ../bin | |||
</pre> | |||
[[Media:Wallfollowing_example.zip]] | [[Media:Wallfollowing_example.zip]] |
Latest revision as of 11:13, 27 March 2020
The link below contains a zip-file with the wall follower code as discussed during the lecture. The aim of the code is to provide an example of a software architecture including an event loop, event queue and state machine. The code is meant as an example, and as such is not functioning flawlessly.
Compiling the code is done by going to the folder containing the toplevel CMakeLists.txt and executing:
mkdir build cd build cmake .. make cd ../bin