-
Notifications
You must be signed in to change notification settings - Fork 261
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
Expose topic filter to command line (addresses #342) #363
Expose topic filter to command line (addresses #342) #363
Conversation
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
rosbag2_transport/src/rosbag2_transport/rosbag2_transport_python.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Mabel Zhang <[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.
One more request, but overall LGTM pending green CI (ament_export warning is fine...)
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[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.
lgtm with green CI
rosbag2_tests/test/rosbag2_tests/test_rosbag2_play_end_to_end.cpp
Outdated
Show resolved
Hide resolved
// Topic names to whitelist when playing a bag. Only messages matching these | ||
// specified topics will be played. If list is empty, the filter is ignored | ||
// and all messages are played. | ||
std::vector<std::string> topics_to_filter = std::vector<std::string>(); |
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.
std::vector<std::string> topics_to_filter = std::vector<std::string>(); | |
std::vector<std::string> topics_to_filter ={}; |
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.
std::vector<std::string> topics_to_filter{}
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.
Or just std::vector<std::string> topics_to_filter{};
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.
just adapting to the style below for the std::unordered_map
;-)
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.
Heh, so I already changed to {}
without the =
so now they're inconsistent. Do we prefer changing the line below too, or change back to ={}
?
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
My local workspace is very broken. I need to fix it before I can compile locally before trying CI again. |
Signed-off-by: Mabel Zhang <[email protected]>
I recommend a docker-based workflow. Here's the Dockerfile I personally use https://github.com/emersonknapp/ros2containerbuild/blob/master/Dockerfile and use via
Workspace always clean and portable :) |
Yeah... I do develop in Docker containers normally, but the one I've been using is built from eloquent source, and with the recent volume of changes, I'm not able to just pull a few packages from master branch and compile. So I'm making a new Docker image, probably not unlike yours, that pulls ros2.repos from the master branch instead. |
I did not intend to close this... no idea how i did |
Darn. I thought there was no more work for me ;) |
Signed-off-by: Mabel Zhang <[email protected]>
Signed-off-by: Mabel Zhang <[email protected]>
There are two CI test failures on Linux that I don't understand, |
macOS has the same test failures as Linux, and Windows has some record test failures. |
See #376 (comment) - my current hypothesis is that there is a bug in Fast-RTPS right now... |
Windows tests look okay too. Only the known record split bag failures. |
Signed-off-by: Mabel Zhang <[email protected]>
Addresses #342. Exposes reader topic filter to command line playback.
The test added in
test_rosbag2_play_end_to_end.cpp
depends on #362.Usage: