We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd808c2 commit 65ab9b1Copy full SHA for 65ab9b1
src/compas_fab/robots/semantics.py
@@ -140,13 +140,9 @@ def get_base_link_name(self, group=None):
140
141
def get_all_configurable_joints(self):
142
joints = []
143
- names = []
144
- for group in self.group_names:
145
- for name in self._group_dict[group]["joints"]:
146
- joint = self.urdf_robot.get_joint_by_name(name)
147
- if joint and joint.is_configurable() and name not in (self.passive_joints + names):
148
- joints.append(joint)
149
- names.append(name)
+ for joint in self.urdf_robot.get_configurable_joints():
+ if joint.name not in self.passive_joints:
+ joints.append(joint)
150
return joints
151
152
def get_configurable_joints(self, group=None):
0 commit comments