Projektarbeit Line Following Robot bei Prof. Chowanetz im WS22/23
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lfr.h 557B

1234567891011121314151617181920212223242526272829303132333435
  1. #include <iostream>
  2. #include <future>
  3. #include <thread>
  4. #include <opencv2/opencv.hpp>
  5. #include <input.h>
  6. #include <processing.h>
  7. #include <control_module.h>
  8. #include <interpreter.h>
  9. #include <intersection_handler.h>
  10. using namespace cv;
  11. class LFR
  12. {
  13. Input input;
  14. Processing processing;
  15. ControlModule controlModule;
  16. Interpreter interpreter;
  17. IntersectionHandler intersectionHandler;
  18. volatile bool iAmLooping;
  19. void loop();
  20. thread loopThread;
  21. public:
  22. LFR();
  23. ~LFR();
  24. void startLoop();
  25. void endLoop();
  26. };