Put check_and_set_gripper_state back in