Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added robot namespace to gui of rqt_joint_trajectory_controller #452

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

etsiogas
Copy link
Contributor

@etsiogas etsiogas commented Feb 5, 2020

Mainly useful in multi-robot situations where multiple instances of rqt_joint_trajectory_controller run in different namespaces. Prevents confusion by showing the correct robot namespace to choose from the "controller manager ns" dropdown menu in the controller's window.

@bmagyar bmagyar mentioned this pull request Feb 12, 2020
@bmagyar
Copy link
Member

bmagyar commented Feb 21, 2020

I've tested this with the following:

<launch>
  <group ns="hola">
    <node name="rqt_jtc1" type="rqt_joint_trajectory_controller" pkg="rqt_joint_trajectory_controller"/>
  </group>
  <node name="rqt_jtc2" type="rqt_joint_trajectory_controller" pkg="rqt_joint_trajectory_controller"/>
</launch>

When using a dummy single robot setup, copy the robot description over to the namespace as well like so:

$ rosparam get /hola/robot_description

Proof by screenshot:
Screenshot from 2020-02-21 08 12 47

@bmagyar bmagyar merged commit 2d5ba07 into ros-controls:melodic-devel Feb 21, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants