An open API service indexing awesome lists of open source software.

https://github.com/yracnet/marsrovercodingproblem

Mars Rover Coding Problem
https://github.com/yracnet/marsrovercodingproblem

Last synced: 8 months ago
JSON representation

Mars Rover Coding Problem

Awesome Lists containing this project

README

          

MarsRoverCodingProblem
======================

Mars Rover Coding Problem

Obj: Reconocer los comandos introducidos por consola


  1. Linea uno: Leer em MAX_X y MAX_Y del ambiente (rectangulo previstro) (maxX, maxY)

  2. Linea dos: Leer la posicion inicial INI_X e INI_Y re robot + ORIENTACION (iniX, iniY, orientacion)

  3. Linea tres: Leer lasinstruccion de desplazamiento: XXXXXXX donde x={L,R,D} L=girar Izq, R=gigirar Der. y D=MoverRobot




      • Objeto Principal: RobertCtrl


        • -RobertCtrl(maxX, maxY)

        • -start(iniX, iniY, orientacion);

        • -execute(comando, debug)

        • -getStatus()

        • -getOrientation()

        • -mover();

        • -checkOrientation();






      • Run Case: MarsRoverCodingProblem


      • Exception Case: RobertParamException