-
Notifications
You must be signed in to change notification settings - Fork 205
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
Add a tf_buffer_cache_time_ns to tf_wrapper #792
Conversation
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
rviz_default_plugins/src/rviz_default_plugins/transformation/tf_wrapper.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
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.
Passing a parameter override doesn't seem to be working for me. I'm trying:
rviz2 --ros-args -p tf_buffer_cache_time_msg:=7
however the parameter appears unchanged:
$ ros2 param get /rviz tf_buffer_cache_time_ms
Integer value is: 10000
Also, if there's a display already added in my rviz config, I see the following error on startup:
[ERROR] [1635957603.774472100] [rviz2]: Could not load display config: parameter 'tf_buffer_cache_time_ms' has already been declared
I've tried with the CameraDisplay and OdometryDisplay, both cause the error.
@jacobperron try:
that works for me (you seem to have written
Nice, I will take a look |
🙃 yeah, that was it. Working now... |
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
b0001fa fixed the issue to me |
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
Here's another fun one I just noticed: if you have the "add display" dialog open it must block the executor thread since ros2 param get
hangs until the dialog is closed.
I don't think this needs to be fixed; certainly not for this PR.
Yuck. Agreed that we don't have to solve it here, but do you mind opening a separate issue to track that? |
Interesting ... |
Yeah, I can open an issue. I suppose it's affecting subscriptions too (e.g. I guess displays do not update if we have a dialog open). Maybe this is desired? I don't know what the behavior is in ROS 1. |
Here's a ticket: #793 |
Alternative to #780