mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 04:14:58 +00:00
removed thread
This commit is contained in:
@@ -69,7 +69,6 @@ int CKobuki::connect(char *comportT) {
|
|||||||
|
|
||||||
if (HCom == -1) {
|
if (HCom == -1) {
|
||||||
std::cerr <<"unable to connect. retry in 1 second" << std::endl;
|
std::cerr <<"unable to connect. retry in 1 second" << std::endl;
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
|
||||||
return HCom;
|
return HCom;
|
||||||
} else {
|
} else {
|
||||||
set_interface_attribs2(HCom, B115200,0); // set speed to 115,200 bps, 8n1 (no parity)
|
set_interface_attribs2(HCom, B115200,0); // set speed to 115,200 bps, 8n1 (no parity)
|
||||||
|
Reference in New Issue
Block a user