Skip to content

Commit d60875d

Browse files
Fix return type of lambda (ros-controls#368)
1 parent 90fac3d commit d60875d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_14/hardware/rrbot_sensor_for_position_feedback.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ hardware_interface::CallbackReturn RRBotSensorPositionFeedback::on_init(
164164
bzero(buffer, reading_size_bytes);
165165
std::this_thread::sleep_for(std::chrono::nanoseconds(1000000000 / incoming_data_read_rate));
166166
}
167+
return hardware_interface::CallbackReturn::SUCCESS;
167168
});
168169
// END: This part here is for exemplary purposes - Please do not copy to your production code
169170

0 commit comments

Comments
 (0)