removed debug prints
This commit is contained in:
parent
67a42152cb
commit
01aae4cb24
|
@ -425,14 +425,14 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics()
|
||||||
{
|
{
|
||||||
sscanf(it->second->c_str() + j, "%" PRIu64 " ",
|
sscanf(it->second->c_str() + j, "%" PRIu64 " ",
|
||||||
¤t_int64);
|
¤t_int64);
|
||||||
std::cout << "received Frame:" << current_int64 << std::endl;
|
//std::cout << "received Frame:" << current_int64 << std::endl;
|
||||||
mavlink_msg.payload64.push_back(current_int64);
|
mavlink_msg.payload64.push_back(current_int64);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//std::cout << "one multi message published in topic with size :" <<mavlink_msg.payload64.size() << 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;
|
||||||
|
@ -547,7 +547,7 @@ inline void CommunicationManager::Send_Mavlink_Message_Callback(
|
||||||
converted_bytes += sprintf(
|
converted_bytes += sprintf(
|
||||||
temporary_buffer+converted_bytes, "%" PRIu64 " ",
|
temporary_buffer+converted_bytes, "%" PRIu64 " ",
|
||||||
(uint64_t)mavlink_msg->payload64.at(i));
|
(uint64_t)mavlink_msg->payload64.at(i));
|
||||||
std::cout << "Sent Frame in (uint64):"<<mavlink_msg->payload64.at(i) << std::endl;
|
//std::cout << "Sent Frame in (uint64):"<<mavlink_msg->payload64.at(i) << std::endl;
|
||||||
//std::cout << "Sent Frame in string"<<temporary_buffer<<std::endl;
|
//std::cout << "Sent Frame in string"<<temporary_buffer<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue