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.

intersection_handler.cpp 366B

12345678910111213141516171819
  1. #include "intersection_handler.h"
  2. IntersectionHandler::IntersectionHandler(/* args */)
  3. {
  4. }
  5. IntersectionHandler::~IntersectionHandler()
  6. {
  7. }
  8. const bool IntersectionHandler::foundLane(const FrameData& data)
  9. {
  10. return data.boundingBoxes.size();
  11. }
  12. const bool IntersectionHandler::foundIntersection(const FrameData& data)
  13. {
  14. return data.boundingBoxes.size()>1;
  15. }