From 3b7b3db6276f8eb5e30555b76a8b6e4f7199f579 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:07:50 +0200 Subject: [PATCH] Fix return type of lambda (#368) (#369) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit d60875d9eea0e25f972e40a0431097ded405a74f) Co-authored-by: Christoph Fröhlich --- 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