2D grid robot trajectory simulation using programmed displacement functions.
A C++ program that simulates a robot navigating a 10x10 grid by executing a sequence of displacement commands. The grid contains predefined stations at fixed coordinates, and the robot follows a programmed trajectory, stopping at each station according to control flags. The displacement functions are defined in a dedicated header library (funciones_desplazamiento.h), demonstrating embedded-style control logic for trajectory planning.
Built as the first project for the Software de Procesadores course (2016-3) in the Electronics Engineering program at Pontificia Universidad Javeriana, Bogota.
| Component | Detail |
|---|---|
| Language | C++ |
| Grid | 10x10 matrix with station structs |
| Architecture | main.cpp + funciones_desplazamiento.h |
| I/O | Console output (trajectory visualization) |
| Build | Single-file compilation with g++ |
| File | Description |
|---|---|
Proyecto_1.pdf |
Project specification and requirements |
Proyecto_1_3_Informe_Tecnico.pdf |
Technical report with design rationale and results |
g++ -o robot main.cpp
./robotThe program initializes the grid with station positions, executes the displacement sequence, and prints the resulting trajectory to the console.
GPL-3.0