-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove underscored objects from rosbag_py tutorial (backport #4976) #4978
Conversation
remove underscore methods that are imported into rosbag2_py in __init__.py Signed-off-by: Joe Rickwalder <[email protected]> (cherry picked from commit 9f4a25f) # Conflicts: # source/Tutorials/Advanced/Recording-A-Bag-From-Your-Own-Node-Py.rst
Cherry-pick of 9f4a25f has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Signed-off-by: Tomoya Fujita <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@christophebedard can you also merge this?
@@ -87,10 +87,10 @@ Inside the ``ros2_ws/src/bag_reader_node_py/bag_reader_node_py`` directory, crea | |||
def __init__(self): | |||
super().__init__('simple_bag_reader') | |||
self.reader = rosbag2_py.SequentialReader() | |||
storage_options = rosbag2_py._storage.StorageOptions( | |||
storage_options = rosbag2_py.StorageOptions( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file only needs to be changed for rolling, but all changes are aligned with original fix to remove internal module for examples.
HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/13042702526/artifacts/2507717862. To view the resulting site:
|
Some objects that are available directly from the rosbag2_py root module are imported from the underscored modules they live in. This change removes the underscore modules and uses the objects from the root module.
This is an automatic backport of pull request #4976 done by Mergify.