Advanced Programming Course, Università di Trento
Authors: Paolo Rossi, Leonardo Marzari
Date: 28/04/2025
This software is designed to manage the collection of three debris categories across three different orbits. Specifically, the program handles debris population on each orbit, collector deployment, subsequent collection operations, and final result reporting.
After installation, the application allows users to either:
- run a built-in functionality test (with default debris population), returning only a success/failure message;
- execute the full collection workflow by providing input values for each debris type on each orbit.
-
Installation: compile the project from the command line with one of the following targets:
make make all make DebrisDetectionThese commands generate the executable file.
-
Test: verify that the software works correctly by running:
make testThis command prints a message indicating whether the test passed.
-
Input parameters: set the number of debris items by type and by orbit in
parameters.txt, using the expected format:==== Orbit __ ==== Debris:__ ProprietaryDebris:__ CriticalDebris:__If a parameter is omitted, a default integer value of
10is used for that debris entry.If the file is accidentally altered, or if negative integers, decimal values, or non-numeric characters are provided, the corresponding debris entry is set to the default value
10. -
Run: start the mission from the command line with:
make runThis prints the operation flow to the terminal and writes collection results to
log.txt. -
Uninstall/Cleanup: remove executables and generated artifacts with:
make clean