changing from robot id to type in command