debug
This commit is contained in:
parent
48c89fe77c
commit
270a48df0e
|
@ -412,7 +412,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics()
|
||||||
/*If the total size of msg reached transfer to topic*/
|
/*If the total size of msg reached transfer to topic*/
|
||||||
if(counter==header[3]){
|
if(counter==header[3]){
|
||||||
|
|
||||||
for(uint16_t i =1; i<=header[3]+1;i++){
|
for(uint16_t i =1; i<=header[3];i++){
|
||||||
it = multi_msgs.find(i);
|
it = multi_msgs.find(i);
|
||||||
std::cout<<"Transfering to topic chunk no. :"<<it->first << "Size of current map" <<it->second->size()<< std::endl;
|
std::cout<<"Transfering to topic chunk no. :"<<it->first << "Size of current map" <<it->second->size()<< std::endl;
|
||||||
std::cout<<"Size of map : "<< multi_msgs.size()<< std::endl;
|
std::cout<<"Size of map : "<< multi_msgs.size()<< std::endl;
|
||||||
|
@ -430,7 +430,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << "one multi message published in topic" << std::endl;
|
std::cout << "one multi message published in topic with size :" <<mavlink_msg.payload64.size() << std::endl;
|
||||||
mavlink_publisher_.publish(mavlink_msg);
|
mavlink_publisher_.publish(mavlink_msg);
|
||||||
multi_msgs.clear();
|
multi_msgs.clear();
|
||||||
cur_checksum=0;
|
cur_checksum=0;
|
||||||
|
|
Reference in New Issue