-
Notifications
You must be signed in to change notification settings - Fork 180
Fix 'ros2 topic hz' #1003
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
base: jazzy
Are you sure you want to change the base?
Fix 'ros2 topic hz' #1003
Conversation
Signed-off-by: Christophe Bedard <[email protected]>
i was wondering why we could not detect this failure, turns out CI parameter is wrong, |
Yeah, I looked into that. Just a simple mistake. Some of the CI jobs listed here in the original PR were unrelated to the PR: #998 (review). Only the ci_linux-aarch64 and ci_windows jobs tested the PR. The |
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.
Pulls: #1003 |
Signed-off-by: Christophe Bedard <[email protected]>
There were linter issues :/ I'll abort and re-trigger the CI jobs |
It doesn't like the ros2cli/ros2topic/test/test_cli.py Line 827 in f037c19
Does this mean that the "safe evaluation" will reject most expressions that try to access a message's fields? I'll have to pick this back up this weekend. |
Reverting the original change for now: #1004 |
We'll probably end up addressing these issues in the new Rolling PR (#1001) and then backport it to Jazzy. |
Fixes #1002
Follow-up to #998, which backported a commit from Rolling to Jazzy that included unrelated changes that Jazzy doesn't have:
_rostopic_hz()
does not expect theqos_args
arg, since Jazzy doesn't have Add support for topic QOS for ros2topic bw, delay and hz #935_rostopic_hz() got an unexpected keyword argument 'qos_args'
#1002args.topic_name
contains a single topic name, since Jazzy doesn't have Support multiple topics via ros2 topic hz. #929, which also means that_rostopic_hz()
only expects a single topic name, and not a listRun a node:
$ ros2 run examples_rclcpp_minimal_publisher publisher_member_function
Before:
If I only fix (1) and not (2), the topic name string gets split into single characters:
After: