-
Notifications
You must be signed in to change notification settings - Fork 251
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
Override QoS Profiles in CLI - Playback #356
Override QoS Profiles in CLI - Playback #356
Conversation
8cdcc30
to
d5b1deb
Compare
21d08e4
to
2b6d924
Compare
There's a Cyclone DDS failure in the CI
Seems to come from downstream. Might need to compile with the flag as specified in the warning. |
@ros2/aws-oncall - please run this CI job |
rosbag2_transport/src/rosbag2_transport/rosbag2_transport_python.cpp
Outdated
Show resolved
Hide resolved
rosbag2_transport/src/rosbag2_transport/rosbag2_transport_python.cpp
Outdated
Show resolved
Hide resolved
topic_qos_overrides.insert(std::pair<std::string, rclcpp::QoS>(topic_name, qos_profile)); | ||
} | ||
} else { | ||
throw std::runtime_error{"QoS profile overrides object is not a Python dictionary."}; |
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 if-else block could have been written as:
rcpputils::require_true(PyDict_Check(object), "QoS profile overrides object must be a Python dictionary.");
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.
I'd need to add rcpputils
as a dependency to this package. I'd prefer to f/u that up in a refactor PR.
rosbag2_transport/src/rosbag2_transport/rosbag2_transport_python.cpp
Outdated
Show resolved
Hide resolved
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 LGTM on addressing Zach's comments and green CI
Signed-off-by: Anas Abou Allaban <aabouallaban@pm.me>
Signed-off-by: Anas Abou Allaban <aabouallaban@pm.me>
Signed-off-by: Anas Abou Allaban <aabouallaban@pm.me>
febadb0
to
1407e5f
Compare
--qos-profile-overrides-path
to theplay
verb.Should go after #358
Part of #125
Related to ros-tooling/aws-roadmap#218
Signed-off-by: Anas Abou Allaban aabouallaban@pm.me