Interaction Area - ilabs-kdc/bluesky GitHub Wiki

The interaction area is currently shown on the main radar screen, to provide easy access to additional information on simulated aircraft. It is modeled after the AAA and iCAS implementations. The inner workings are based on the TID functionality. It also includes an autostart function: autostartTID = True in the settings to automatically start it. Alternatively, it can be started using the buttons in the mainwindow.

It is also a .ui file, similar to the TIDS. The labels in the ui file get updated with live data if an aircraft is selected. In the accompanying XML file, datafields can be changed.

'bs.net.actnodedata_changed.connect(self.actdata_changed)' is used to connect the datastream coming from the sim to trigger refresh events. (note that this can be quite useful in other applications as well) The function 'setdata()' writes all data to the ui file. The keys in the dictionary are the available datafields, which are received from screenio.py.

In the function setwptdata() the data on the aircrafts route including constraints are provided.

The IA is restarted every time a new atcmode is called, this was set up to be able to change the UI file to accomodate a future difference in layout between icas/AAA and ACC/APP.