2022-11-03 09:38:28 +01:00
|
|
|
#include "lfr.h"
|
2022-11-03 11:18:18 +01:00
|
|
|
|
2022-11-03 09:38:28 +01:00
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
LFR lfr;
|
2022-11-03 11:18:18 +01:00
|
|
|
//todo: Future will block leaving the scope of startLoop(). You will have to think of a way to break the loop properly.
|
2022-11-03 09:38:28 +01:00
|
|
|
lfr.startLoop();
|
2022-11-03 11:18:18 +01:00
|
|
|
std::cout<<"AutonomousMode: Loop started\n";
|
|
|
|
lfr.endLoop();
|
|
|
|
std::cout<<"AutonomousMode: Loop ended\n";
|
2022-11-03 09:38:28 +01:00
|
|
|
}
|