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.
2 parents 70b9ca3 + 7f4f28f commit a7c68d6Copy full SHA for a7c68d6
src/baxter_interface/limb.py
@@ -126,7 +126,7 @@ def __init__(self, limb):
126
127
def _on_joint_states(self, msg):
128
for idx, name in enumerate(msg.name):
129
- if self.name in name:
+ if name in self._joint_names[self.name]:
130
self._joint_angle[name] = msg.position[idx]
131
self._joint_velocity[name] = msg.velocity[idx]
132
self._joint_effort[name] = msg.effort[idx]
0 commit comments