Skip to content

Commit

Permalink
Fix bug for displaying all controllers (ros-controls#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmrico committed Aug 26, 2024
1 parent ce12694 commit 3be3fe9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,11 @@ def _update_jtc_list(self):
# for _all_ their joints
running_jtc = self._running_jtc_info()
if running_jtc and not self._robot_joint_limits:
self._robot_joint_limits = {}
for jtc_info in running_jtc:
self._robot_joint_limits = get_joint_limits(self._node, _jtc_joint_names(jtc_info))
self._robot_joint_limits.update(
get_joint_limits(self._node, _jtc_joint_names(jtc_info))
)
valid_jtc = []
if self._robot_joint_limits:
for jtc_info in running_jtc:
Expand Down

0 comments on commit 3be3fe9

Please sign in to comment.