-
Notifications
You must be signed in to change notification settings - Fork 4
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
Recording A Bag From Your Own Node Py #1091
Comments
This tutorial is broken, the following error is detected. root@51cdd59e1f3e:~/ros2_ws# ros2 run bag_recorder_nodes_py simple_bag_recorder
Traceback (most recent call last):
File "/root/ros2_ws/install/bag_recorder_nodes_py/lib/bag_recorder_nodes_py/simple_bag_recorder", line 33, in <module>
sys.exit(load_entry_point('bag-recorder-nodes-py==0.0.0', 'console_scripts', 'simple_bag_recorder')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ros2_ws/install/bag_recorder_nodes_py/lib/python3.12/site-packages/bag_recorder_nodes_py/simple_bag_recorder.py", line 41, in main
sbr = SimpleBagRecorder()
^^^^^^^^^^^^^^^^^^^
File "/root/ros2_ws/install/bag_recorder_nodes_py/lib/python3.12/site-packages/bag_recorder_nodes_py/simple_bag_recorder.py", line 19, in __init__
topic_info = rosbag2_py._storage.TopicMetadata(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: __init__(): incompatible constructor arguments. The following argument types are supported:
1. rosbag2_py._storage.TopicMetadata(id: int, name: str, type: str, serialization_format: str, offered_qos_profiles: List[rosbag2_py._storage.QoS] = [], type_description_hash: str = '')
Invoked with: kwargs: name='chatter', type='std_msgs/msg/String', serialization_format='cdr'
[ros2run]: Process exited with failure 1 this is generated by ros2/rosbag2#1569. |
fujitatomoya
added a commit
to ros2/ros2_documentation
that referenced
this issue
May 4, 2024
Ref: osrf/ros2_test_cases#1091 Signed-off-by: Tomoya.Fujita <[email protected]>
with ros2/ros2_documentation#4357 fix for the documentation, this entire procedure works fine. @marcoag after ros2/ros2_documentation#4357 is merged, we can close this one. |
Thanks! |
ahcorde
pushed a commit
to ros2/ros2_documentation
that referenced
this issue
May 6, 2024
Ref: osrf/ros2_test_cases#1091 Signed-off-by: Tomoya.Fujita <[email protected]>
mergify bot
pushed a commit
to ros2/ros2_documentation
that referenced
this issue
May 6, 2024
Ref: osrf/ros2_test_cases#1091 Signed-off-by: Tomoya.Fujita <[email protected]> (cherry picked from commit fe9928f)
ahcorde
pushed a commit
to ros2/ros2_documentation
that referenced
this issue
May 6, 2024
Ref: osrf/ros2_test_cases#1091 Signed-off-by: Tomoya.Fujita <[email protected]> (cherry picked from commit fe9928f) Co-authored-by: Tomoya Fujita <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Check the documentation for the 'Recording A Bag From Your Own Node Py' page
Configuration
Links
Process
Step 1 - I was able to follow the documentation.
Step 2 - The documentation seemed clear to me.
Step 3 - The documentation didn't have any obvious errors.
The text was updated successfully, but these errors were encountered: