ethz-asl / grid_map_geo

Geolocalization for grid map using GDAL.
BSD 3-Clause "New" or "Revised" License
141 stars 19 forks source link

Switch from bind to lambda for timer callback #43

Closed Ryanf55 closed 9 months ago

Ryanf55 commented 9 months ago

Purpose

This switches from using bind to lambda for setting up a timer callback. In the past month, ROS 2 tutorials have been all migrated to lambda. Why? Placeholders are hard to read, and disables some compile time checks. And: https://github.com/ros2/rclcpp/issues/1701

Risk

None

Ryanf55 commented 9 months ago

Looks great, Thanks!

Would you be able to rebase?

Done.