Skip to content
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

TF Prefix Bug #876

Merged
merged 1 commit into from
Apr 16, 2024
Merged

TF Prefix Bug #876

merged 1 commit into from
Apr 16, 2024

Conversation

rafal-gorecki
Copy link
Contributor

The value of tf_prefix parameter is stored in unused variable tf_prefix_path. Please fix this.

The value of `tf_prefix` parameter is stored in unused variable `tf_prefix_path`. Please fix this.
@ayrton04
Copy link
Collaborator

Ah, this is because in ROS 1, we were searching for the parameter key before loading it:

if (nhLocal_.searchParam("tf_prefix", tfPrefixPath))

But ROS 2 has no support for that. Technically, tf2 does not support tf_prefix, but r_l manages this in a tf2-friendly way.

@ayrton04 ayrton04 merged commit fb076a9 into cra-ros-pkg:humble-devel Apr 16, 2024
1 check failed
@ayrton04
Copy link
Collaborator

Thanks for the PR!

ayrton04 pushed a commit that referenced this pull request Apr 16, 2024
The value of `tf_prefix` parameter is stored in unused variable `tf_prefix_path`. Please fix this.
ayrton04 pushed a commit that referenced this pull request Apr 16, 2024
The value of `tf_prefix` parameter is stored in unused variable `tf_prefix_path`. Please fix this.
@rafal-gorecki rafal-gorecki deleted the patch-1 branch April 17, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants