Added type of robot(Romeo or Nao) and check type in robot.open()