readdition of sleep to reduce corrupt packets
This commit is contained in:
parent
01e9dfe147
commit
9911faf6e0
|
@ -556,7 +556,7 @@ inline void CommunicationManager::Send_Mavlink_Message_Callback(
|
|||
Generate_Transmit_Request_Frame(temporary_buffer, &frame);
|
||||
serial_device_.Send_Frame(frame);
|
||||
/*Sleep for some time in order not to confuse Xbee, a try to reduce errors*/
|
||||
//usleep(1000);
|
||||
usleep(1000);
|
||||
//std::cout << "Frame:"<<frame << std::endl;
|
||||
//std::cout << "size of frame:"<<std::strlen(temporary_buffer)<< std::endl;
|
||||
number++;
|
||||
|
|
Reference in New Issue