From b2891e02dd96b8ca20fdc807b10e21fada7a1b0a Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Fri, 29 Sep 2023 07:14:17 +0000 Subject: [PATCH] Fix return type of lambda --- 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