This commit is contained in:
vivek-shankar 2017-01-26 23:37:56 -05:00
parent b83ccc00ec
commit c74f6212f5
1 changed files with 3 additions and 1 deletions

View File

@ -414,13 +414,15 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics()
for(int i =1; i<=header[3];i++){
it = multi_msgs.find(i);
std::cout<<"Transfering to topic chunk no. :"<<i << "Size of current map" <<it->second->size();
for (int j = 1; j < it->second->size(); j++)
{
if (' ' == it->second->at(j) || 0 == j)
{
sscanf(it->second->c_str() + j, "%" PRIu64 " ",
&current_int64);
&current_int64);
mavlink_msg.payload64.push_back(current_int64);
}