From d60875d9eea0e25f972e40a0431097ded405a74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Fri, 29 Sep 2023 14:54:57 +0200 Subject: [PATCH] Fix return type of lambda (#368) --- example_14/hardware/rrbot_sensor_for_position_feedback.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/example_14/hardware/rrbot_sensor_for_position_feedback.cpp b/example_14/hardware/rrbot_sensor_for_position_feedback.cpp index 532e49112..7eee23593 100644 --- a/example_14/hardware/rrbot_sensor_for_position_feedback.cpp +++ b/example_14/hardware/rrbot_sensor_for_position_feedback.cpp @@ -164,6 +164,7 @@ hardware_interface::CallbackReturn RRBotSensorPositionFeedback::on_init( bzero(buffer, reading_size_bytes); std::this_thread::sleep_for(std::chrono::nanoseconds(1000000000 / incoming_data_read_rate)); } + return hardware_interface::CallbackReturn::SUCCESS; }); // END: This part here is for exemplary purposes - Please do not copy to your production code