-
Notifications
You must be signed in to change notification settings - Fork 283
rosbag2_storage: add type description hash to topic metadata #1272
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
rosbag2_storage: add type description hash to topic metadata #1272
Conversation
a9479fc
to
b55434f
Compare
Gist: https://gist.githubusercontent.com/james-rms/0f3cca8fa197c87ba9e3bdb15cf55c3d/raw/c11aae907ae19932cdffcefbe11c930ff3d890bc/ros2.repos |
74894dc
to
b3caa30
Compare
Gist: https://gist.githubusercontent.com/james-rms/ff8241cdc1abf5fd3359098ddff54941/raw/c11aae907ae19932cdffcefbe11c930ff3d890bc/ros2.repos |
Gist: https://gist.githubusercontent.com/james-rms/fab2a65dd9c9a9677e8d9fc0481d9042/raw/c11aae907ae19932cdffcefbe11c930ff3d890bc/ros2.repos |
rosbag2_storage_sqlite3/src/rosbag2_storage_sqlite3/sqlite_storage.cpp
Outdated
Show resolved
Hide resolved
b3fe1ab
to
fb8b047
Compare
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.
@james-rms Thanks for PR.
Overall changes make sense to me.
I am curious about when implementation of storing type_hash in sqlite3_storage and mcap_storage will be implemented?
I saw some place holders in sqlite3_storage but nothing in mcap_storage plugin.
- Since we are changing metadata version need to increment it in one more place
pybind11::arg("version") = 6,
Also I found some missing variable declarations (see details in code comments) - seems code not compiles after your recent changes.
Please note that we will have feature freeze at April 17 and it will be nice to merge this PR before then.
rosbag2_storage_sqlite3/src/rosbag2_storage_sqlite3/sqlite_storage.cpp
Outdated
Show resolved
Hide resolved
a2d6e26
to
fc8fbfd
Compare
Signed-off-by: James Smith <[email protected]>
Signed-off-by: James Smith <[email protected]>
Signed-off-by: Emerson Knapp <[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.
@james-rms Overall already looks good, although I think it would be great to add test coverage.
I've made some exercise in #1288. Feel free to merge or cherry pick it.
Signed-off-by: James Smith <[email protected]>
547859d
to
833918b
Compare
Signed-off-by: Michael Orlov <[email protected]>
@MichaelOrlov cherry-picked, also added more detailed coverage into |
42667ae
to
71ba37f
Compare
@james-rms May I ask you to rename newly added function parameters |
Signed-off-by: James Smith <[email protected]>
Signed-off-by: James Smith <[email protected]>
rosbag2_storage_mcap/test/rosbag2_storage_mcap/test_mcap_storage.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: James Smith <[email protected]>
2472472
to
5a72fdf
Compare
Signed-off-by: James Smith <[email protected]>
5a72fdf
to
434bbb3
Compare
Gist: https://gist.githubusercontent.com/james-rms/46185d994e5da2f8702c59149550830d/raw/a510a74b328f208ffbc7608cad10504606c7ab89/ros2.repos |
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.
Approving
@james-rms I am curious how CI build passing green on Linux if
Which is looks reasonable to fail since we don't have |
@MichaelOrlov RPR is failing because that's a recent addition to |
It's all been released now, it is still rebuilding. In theory the Rpr jobs should all work again in about 12 hours. |
Note: CI was all green, updated the comment - somebody had removed something from the build queue, changing the pending ID, so we found the actual build and it was green. Action CI |
@clalancette Thanks for heads up and letting us know. 👍 |
This pull request has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-4-20-2023/31087/1 |
Adds a type description hash to topic metadata.
Depends on ros2/rclcpp#2137