-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
const&
signature for read-only sub callbacks (#2297)
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 documentation. Signed-off-by: Abrar Rahman Protyasha <[email protected]> (cherry picked from commit e4cd3cb) # Conflicts: # source/Tutorials/Custom-ROS2-Interfaces.rst # source/Tutorials/FastDDS-Configuration/FastDDS-Configuration.rst # source/Tutorials/Tf2/Writing-A-Tf2-Broadcaster-Cpp.rst # source/Tutorials/Writing-A-Simple-Cpp-Publisher-And-Subscriber.rst
- Loading branch information
Showing
4 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters