Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.16 KB

README.md

File metadata and controls

29 lines (16 loc) · 1.16 KB

COEN320-Project

Cloning the project

To be able to work in your own QNX workspace, clone the repository into the workspace folder next to the folder containing your VM.

image

Compiling the code

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.

Running 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.

Operator commands

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)