From 9911faf6e026cc0fbd6d0fc80413fcbf056bad8a Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Sat, 28 Jan 2017 06:53:32 -0500 Subject: [PATCH] readdition of sleep to reduce corrupt packets --- src/CommunicationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommunicationManager.cpp b/src/CommunicationManager.cpp index e87729d..19f4262 100644 --- a/src/CommunicationManager.cpp +++ b/src/CommunicationManager.cpp @@ -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:"<