From 06b733bb86371b53c0ef6b8c655a6806783e1a49 Mon Sep 17 00:00:00 2001 From: TSC21 Date: Thu, 29 Oct 2020 19:17:11 +0100 Subject: [PATCH] msg: rtps: improve verbosity when the the client is not capable of parsing a specific ID --- msg/templates/uorb_microcdr/microRTPS_client.cpp.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg/templates/uorb_microcdr/microRTPS_client.cpp.em b/msg/templates/uorb_microcdr/microRTPS_client.cpp.em index fcd5c305db..d6cff18527 100644 --- a/msg/templates/uorb_microcdr/microRTPS_client.cpp.em +++ b/msg/templates/uorb_microcdr/microRTPS_client.cpp.em @@ -231,7 +231,7 @@ void micrortps_start_topics(struct timespec &begin, uint64_t &total_read, uint64 break; @[end for]@ default: - PX4_WARN("Unexpected topic ID\n"); + PX4_WARN("Unexpected topic ID '%hhu' to getMsg. Please make sure the client is capable of parsing the message associated to the topic ID '%hhu'", topic_ID, topic_ID); break; } }