This project implements a rover navigation simulation similar to the Mars Rover problem.
The goal is to simulate robotic rovers moving across a rectangular plateau based on commands received from mission control.
ISRO deploys robotic rovers on a plateau on the Moon. The plateau is divided into a grid.
Each rover has:
- X coordinate
- Y coordinate
- Direction it is facing (N, E, S, W)
Rovers receive commands to explore the terrain.
Commands:
L → Turn Left
R → Turn Right
M → Move Forward
First line: Plateau upper-right coordinates.
Example:
5 5
Each rover has two lines:
Initial position: 1 2 N
Commands: LMLMLMLMM
Example Input:
5 5
1 2 N
LMLMLMLMM
3 3 E
MMRMMRMRRM
1 3 N
5 1 E
rover-navigation-system
rover.py → Rover movement logic
main.py → Program execution
input.txt → Sample input
README.md → Documentation
requirements.txt → Python version
Clone the repository:
git clone https://github.com/yourusername/rover-navigation-system.git
Move into the project directory:
cd rover-navigation-system
Run the program:
python main.py
Object Oriented Programming (OOP) is used to model rover behavior and command execution.
Backend Developer Internship Assignment
Jivansh Anand