fixed gripper node to correctly check the gripper command