Move main method in own file instead of lfr.cpp
This commit is contained in:
parent
d952629b39
commit
36b65fdf07
@ -33,7 +33,7 @@ target_include_directories(ControlModule PRIVATE .)
|
||||
target_include_directories(Interpreter PRIVATE .)
|
||||
target_include_directories(IntersectionHandler PRIVATE .)
|
||||
|
||||
add_executable(lfr_image_processing lfr.cpp)
|
||||
add_executable(lfr_image_processing lfr.cpp autonomous_mode_main.cpp)
|
||||
|
||||
target_link_libraries( lfr_image_processing ${OpenCV_LIBS} Input Processing ControlModule Interpreter IntersectionHandler )
|
||||
|
||||
|
9
autonomous_mode_main.cpp
Normal file
9
autonomous_mode_main.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include "lfr.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
//Mat image1 = input.readFile("C:\\Line-Following-Robot\\Test_data\\*.jpeg");
|
||||
|
||||
LFR lfr;
|
||||
lfr.startLoop();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user