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 7eace0e commit 8d21fcaCopy full SHA for 8d21fca
src/compas_fab/robots/semantics.py
@@ -140,10 +140,9 @@ def get_all_configurable_joints(self):
140
for group in self.group_names:
141
for name in self._group_dict[group]["joints"]:
142
joint = self.urdf_robot.get_joint_by_name(name)
143
- if joint:
144
- if joint.is_configurable() and name not in (self.passive_joints + names):
145
- joints.append(joint)
146
- names.append(name)
+ if joint and joint.is_configurable() and name not in (self.passive_joints + names):
+ joints.append(joint)
+ names.append(name)
147
return joints
148
149
def get_configurable_joints(self, group=None):
0 commit comments