mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 06:53:34 +08:00
microRTPS: agent: publish timesync status
This commit is contained in:
@@ -84,6 +84,8 @@ bool RtpsTopics::init(std::condition_variable *t_send_queue_cv, std::mutex *t_se
|
||||
std::cout << "- @(topic) publisher started" << std::endl;
|
||||
@[ if topic == 'Timesync' or topic == 'timesync']@
|
||||
_timesync->start(&_@(topic)_pub);
|
||||
@[ elif topic == 'TimesyncStatus' or topic == 'timesync_status']@
|
||||
_timesync->init_status_pub(&_@(topic)_pub);
|
||||
@[ end if]@
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user