mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 12:24:57 +00:00
testing my own file
This commit is contained in:
@@ -7,7 +7,7 @@ find_package( OpenCV REQUIRED )
|
||||
set(SOURCE_FILES
|
||||
src/CKobuki.cpp
|
||||
src/CKobuki.h
|
||||
src/main.cpp)
|
||||
src/test.cpp)
|
||||
|
||||
add_executable(kobuki_control ${SOURCE_FILES})
|
||||
#target_link_libraries(kobuki_control )
|
@@ -20,9 +20,9 @@ int main()
|
||||
robot.startCommunication("/dev/ttyUSB0", true, null_ptr);
|
||||
usleep(1 * 1000 * 1000);
|
||||
cout << "Enter commando";
|
||||
thread mv(command);
|
||||
// thread mv(command);
|
||||
usleep(30 * 1000 * 1000);
|
||||
mv.join(); //only exit once thread one is done running
|
||||
// mv.join(); //only exit once thread one is done running
|
||||
}
|
||||
|
||||
int command(){
|
||||
|
Reference in New Issue
Block a user