From 4ec347e0c43bd9b7f56dc41489c7a3c2a69dbde7 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Mon, 17 Apr 2023 15:04:17 +0200 Subject: [PATCH] change position of starting reading --- src/beacon_positioning/src/tracker_position.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beacon_positioning/src/tracker_position.cpp b/src/beacon_positioning/src/tracker_position.cpp index 1fef3a83..6b5d13ad 100644 --- a/src/beacon_positioning/src/tracker_position.cpp +++ b/src/beacon_positioning/src/tracker_position.cpp @@ -125,8 +125,8 @@ int main(int argc, char **argv) RCLCPP_ERROR(node->get_logger(), "invalid tracker position"); } }); - executor.spin(); rtls_device.startReadingStream(); + executor.spin(); rclcpp::shutdown(); rtls_device.stopReadingStream();