Skip to content

Commit

Permalink
Get rid of a bogus explanation of the subscriber member variable. (#3563
Browse files Browse the repository at this point in the history
)

The explanation is no longer valid.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette authored May 9, 2023
1 parent 882713f commit 09c2be5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ This is why we pass in the topic name and the topic type.
The class contains two member variables.

1. The subscription object.
Note that the template parameter is the type of the callback, not the type of the topic.
In this case the callback receives a ``rclcpp::SerializedMessage`` shared pointer, so this is what the template parameter must be.
2. A managed pointer to the writer object used to write to the bag.
Note the type of writer used here is the ``rosbag2_cpp::Writer``, the generic writer interface.
Other writers may be available with different behaviours.
Expand Down

0 comments on commit 09c2be5

Please sign in to comment.