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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def __init__(self, context):
'joint_trajectory_controller.ui')
loadUi(ui_file, self._widget)
self._widget.setObjectName('JointTrajectoryControllerUi')
ns = rospy.get_namespace()[1:-1]
self._widget.controller_group.setTitle('ns: ' + ns)

# Setup speed scaler
speed_scaling = DoubleEditor(1.0, 100.0)
Expand Down Expand Up @@ -360,6 +362,7 @@ def _unload_jtc(self):
# Clear joint widgets
# NOTE: Implementation is a workaround for:
# https://bugreports.qt-project.org/browse/QTBUG-15990 :(

layout = self._widget.joint_group.layout()
if layout is not None:
while layout.count():
Expand Down