Browse Source

msg: rtps: improve verbosity when the the client is not capable of parsing a specific ID

release/1.12
TSC21 4 years ago committed by Lorenz Meier
parent
commit
06b733bb86
  1. 2
      msg/templates/uorb_microcdr/microRTPS_client.cpp.em

2
msg/templates/uorb_microcdr/microRTPS_client.cpp.em

@ -231,7 +231,7 @@ void micrortps_start_topics(struct timespec &begin, uint64_t &total_read, uint64 @@ -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;
}
}

Loading…
Cancel
Save