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