Skip to content

SniffyMcTasty/COEN320-Project

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •