-
Notifications
You must be signed in to change notification settings - Fork 348
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
diff_drive_controller generates wrong odom and robot base frame names #482
Comments
@lukicdarkoo you are right. I don't know how I missed this "/" issue with frames. I think we should use "_" as separator between prefix and frame name and use it only if there is controller namespace provided. @delihus maybe you would like to open another PR 😉 |
@lukicdarkoo sorry, this change slipped through into humble unfortunately… |
@destogl I don't think the namespace should affect frame names. So far I haven't seen any package doing it in ROS 2. Instead, there should be a parameter, like For example in Nav2, a namespace adds a prefix to every topic, including In short, I believe #461 should be reverted. |
Hi, I also agree that #461 should be reverted. |
hi, anyone following this problem? I applied a namsapce on the node. But /tf publishes frame id with namespace as a prefix. All I need is just remove the namespace on frame id for TF. |
I think this was solved with #533 |
Since the last sync (https://discourse.ros.org/t/new-packages-for-ros-2-humble-hawksbill-2022-12-16/28806) there are two issues:
odom
. This used to bebase_link
and it was a meaningful name. I don't think we should change defaults within the single ROS distro. I guess the problem is here:ros2_controllers/diff_drive_controller/src/diff_drive_controller_parameter.yaml
Line 49 in 42f6c14
Even adding a leading slash to the frame names didn't make prefixes go away. My temporary solution is to use the snapshot version:
It looks like the changes are made on purpose in #461. I am not sure whether it is a good decision, especially considering that the change breaks the previous behavior.
The text was updated successfully, but these errors were encountered: