-
Notifications
You must be signed in to change notification settings - Fork 0
/
instructions.txt
43 lines (29 loc) · 1.99 KB
/
instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
*****************************************************************************************
The Mars Rovers Problem
*****************************************************************************************
Debian Installation
This solution for "The Mars Rovers Problem" has been programmed in Python3.
If you don't have Python installed, please run:
apt-get install python3
In order tu run the GUI you will need to intall the Tkinter library:
apt-get install python3-tk
******************************************************************************************
Running the app
******************************************************************************************
To start the app please run main.py from the root project folder using the
following flags:
1st FLAG (required) "-f inputFileName" => To provide the input
Example ../somelocalpath/MarsRovers/$ python3 main.py -f /src/inputs/input_example_ok
2nd FLAG (optional) "-g" => If you want to display the GUI
Example ../somelocalpath/MarsRovers/$ python3 main.py -f /src/inputs/input_example_ok -g
*******************************************************************************************
After running it, you can analyze the rovers movements in the plateau by
looking at the file 'marsRovers.log'
********************************************************************************************
There are some predefined examples that you can try in the folder /src/inputs
********************************************************************************************
TESTING
********************************************************************************************
To run the test please run:
../somelocalpath/MarsRovers/$ python3 -m pytest
********************************************************************************************