ros2_data_collection icon indicating copy to clipboard operation
ros2_data_collection copied to clipboard

Init collect is not working: publisher not yet activated when publishing

Open Minipada opened this issue 2 years ago • 0 comments
trafficstars

Init collect is not working because the publisher is not yet activated when publishing first data. Additionally, i realized we also need to make sure the destination server is also started and activated (with all subscribers from Fluent Bit activated) Because of that, we need to wait the destination server is activated before starting the measurement one. For that, we should use the lifecycle nodes, start the Destination,configure and activate. Then start the measurement server, configure and activate.

This means removing the nav2 lifecycle manager and add the pure lifecycle. This also means no more bond

Finally, to ensure the publisher is activated before publishing, we need a subscription to the transition even, checking the state, then publish

Minipada avatar Jun 02 '23 08:06 Minipada