From 44cac04abe70c928135822ae6e55af7d45e5b644 Mon Sep 17 00:00:00 2001 From: stmoon Date: Mon, 20 Jan 2020 11:10:58 +0000 Subject: [PATCH] fix the bug for none of recv_topics --- msg/templates/urtps/microRTPS_agent.cpp.em | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msg/templates/urtps/microRTPS_agent.cpp.em b/msg/templates/urtps/microRTPS_agent.cpp.em index be819d0a73..8ced730e96 100644 --- a/msg/templates/urtps/microRTPS_agent.cpp.em +++ b/msg/templates/urtps/microRTPS_agent.cpp.em @@ -253,7 +253,9 @@ int main(int argc, char** argv) std::chrono::time_point start, end; @[end if]@ +@[if recv_topics]@ topics.init(&t_send_queue_cv, &t_send_queue_mutex, &t_send_queue); +@[end if]@ running = true; @[if recv_topics]@