Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use const& signature for read-only sub callbacks #337

Merged
merged 1 commit into from
Feb 16, 2022

Commits on Feb 9, 2022

  1. Use const& signature for read-only sub callbacks

    The constant reference message signatures should be preferred over the
    shared pointer to constant message signatures for read-only subscriber
    callbacks, as discussed in ros2/rclcpp#1598.
    
    As such, it makes sense to migrate to said signatures in the examples.
    
    Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
    aprotyas committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    3c8098b View commit details
    Browse the repository at this point in the history