-
Notifications
You must be signed in to change notification settings - Fork 466
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 TF Prefix to effort plugin #1213
Add TF Prefix to effort plugin #1213
Conversation
Thanks for the patch, @ahoarau @tfoote I have read that the tf prefix was causing headaches in tf1, and I've seen errors before about e.g. |
You are absolutely right, we should not add leading slash if no tf_prefix is present. std::string tf_prefix = tf_prefix_property_->getStdString();
std::string parent_link_name = (tf_prefix.empty() ? "" : tf_prefix + "/" ) + joint->child_link_name; Very glad to hear that tf_prefix is meant to disappear, but I'm not sure how I will spawn multiple robots in the same master. Multimaster is quite a big overhead :) |
That change looks reasonable, but for clarity the variable should now be named btw this change will be held for ROS Melodic since it will cause an ABI change |
I broke out the non-abi breaking change into #1229 so it can be released into indigo/kinetic |
@ros-pull-request-builder retest this please. |
@dhood merge or comment |
thanks for iterating @ahoarau |
Simple PR to add a TF Prefix property to the Effort Plugin.
Use case :
/robot1/robot_description
+tf_prefix
set torobot1
Also fixes #892.