ros2_controllers
ros2_controllers copied to clipboard
Improved tf_prefix based on namespace
Solves #1048.
When using robot namespace as tf_prefix, it now removes any starting '/' and only adds an ending '/' if not present already.
Starting with '/' is not common in TF2 and showed compatibility issues with for instance robot_localization.