To be able to work in your own QNX workspace, clone the repository into the workspace folder next to the folder containing your VM.
Since this project uses the ncurses
library and it needs to be linked to be linked to the code's objects, make sure to use this repository's Makefile; it contains all the required changes to run the code.
Because of the ncurses
library, the code needs to be started on the Momentics IDE and without continuing further, started again from the QNX VM. The temporarily built project is located at /tmp/COEN320-Project
and will stay there only while it is running on the IDE.
Change position: changePos [ID] [ANGLE] (actually changes horizontal direction, + -> turn left, - -> turn right, -25 < ANGLE <25)
Change altitude: changeAlt [ID] [ALTITUDE]
Change speed: changeSpeed [ID] [MAGNITUDE]
Get airplane info: info [ID]
Change n parameter: changeWindow [N] (interval of time for violations)