Implementing state transition simulator of robot_hand