How rayanechibani/projectqualiteprog works
This is a small C++ terrain-and-robot demo. The shown executable workflow loads a terrain from a named file and prints it; the robot class separately provides movement, obstacle/goal checks, and observer notifications. The excerpts do not show the executable creating or driving a robot, so no end-to-end navigation workflow is implied.
Main entry points: terrain.cpp Terrain state · main.cpp Program entry · robot.cpp Robot movement · lab1.txt Terrain file
Components 7
Executable
- Program entry
main.cpp
Terrain
- Terrain state
terrain.cpp - Terrain loading
terrain.cpp
Robot
- Robot movement
robot.cpp - Observer interface
robot.h
Other components
- Terrain file
lab1.txt - Console
Connections 8
- Program entry → Terrain state: constructs
main.cpp - Program entry → Terrain file: selects file
main.cpp - Terrain loading → Terrain file: reads
terrain.cpp - Terrain state → Terrain loading: loads via
terrain.cpp - Program entry → Terrain state: displays
main.cpp - Terrain state → Console: prints to
terrain.cpp - Robot movement → Terrain state: reads and updates
robot.cpp - Robot movement → Observer interface: notifies
robot.cpp