diff --git a/example_5.md b/example_5.md index 495cba7..558670e 100644 --- a/example_5.md +++ b/example_5.md @@ -62,7 +62,7 @@ class JointStatePublisher(): :param joints: A list of string values of joint names. """ joint_positions = [] - for joint in joints: + for joint in joints: if joint == "wrist_extension": index = self.joint_states.name.index('joint_arm_l0') joint_positions.append(4*self.joint_states.position[index])