#include "lfr.h" int main(void) { LFR lfr; //todo: Future will block leaving the scope of startLoop(). You will have to think of a way to break the loop properly. lfr.startLoop(); std::cout<<"AutonomousMode: Loop started\n"; lfr.endLoop(); std::cout<<"AutonomousMode: Loop ended\n"; }