sleep time increase
This commit is contained in:
parent
122c2888eb
commit
fdb83c4226
|
@ -556,7 +556,7 @@ inline void CommunicationManager::Send_Mavlink_Message_Callback(
|
||||||
Generate_Transmit_Request_Frame(temporary_buffer, &frame);
|
Generate_Transmit_Request_Frame(temporary_buffer, &frame);
|
||||||
serial_device_.Send_Frame(frame);
|
serial_device_.Send_Frame(frame);
|
||||||
/*Sleep for some time in order not to confuse Xbee, a try to reduce errors*/
|
/*Sleep for some time in order not to confuse Xbee, a try to reduce errors*/
|
||||||
usleep(10);
|
usleep(100);
|
||||||
//std::cout << "Frame:"<<frame << std::endl;
|
//std::cout << "Frame:"<<frame << std::endl;
|
||||||
//std::cout << "size of frame:"<<std::strlen(temporary_buffer)<< std::endl;
|
//std::cout << "size of frame:"<<std::strlen(temporary_buffer)<< std::endl;
|
||||||
number++;
|
number++;
|
||||||
|
|
Loading…
Reference in New Issue