Skip to content

Commit

Permalink
Still have some wrong coordinate issue but much better now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benteng Ma committed Jul 1, 2024
1 parent 880bd74 commit e0cb3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skills/src/lasr_skills/adjust_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def execute(self, userdata):
rospy.logwarn(f"very middle {very_middle}")
# if y at upper 1/3 for eyes: do nothing,
# otherwise move up 1 step
if eyes_middle[1] >= 4/5:
if eyes_middle[1] <= 1/3:
position[0] += 1
print('if y at upper 1/3 for eyes: do nothing, otherwise move up 1 step')
# if x at left 1/3, move left 1 step
Expand Down

0 comments on commit e0cb3a3

Please sign in to comment.