diff --git a/teleop/teleop_hand_and_arm.py b/teleop/teleop_hand_and_arm.py index 09c13de..de325c8 100644 --- a/teleop/teleop_hand_and_arm.py +++ b/teleop/teleop_hand_and_arm.py @@ -154,7 +154,7 @@ if __name__ == '__main__': # record data if args.record: # dex hand or gripper - if args.dex: + if args.hand == "dex3": with dual_hand_data_lock: left_hand_state = dual_hand_state_array[:7] right_hand_state = dual_hand_state_array[-7:]