Files
qt5-legatus-legacy/Lts/Proxies/GuezNasat/Simulator
2026-08-13 18:33:10 +02:00
..
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00
2026-08-13 18:33:10 +02:00

GUEZ NASAT Simulator

GUEZ NASAT Simulator is a Python script to simulate input telegrams from the GUEZ NASAT interface. It has to be started on the same machine as the GuezNasatProxy (inside MeteoDataManagement)

Author: Filip Biedziak, SLTE (filip.biedziak@rheinmetall.com) Date: 14 Dec 2020

Open help / manual

python3 nasat_simulator.py -h //if there is no pyhton3 available python2 works too python2 nasat_simulator.py -h

Prerequisites

On the Workstation: You will need to create an aircraft first to send an associated telegram. This is how you do it:

  1. Open the OperatorApplication
  2. Go to ->Planning->Participants->Edit Participant and Add a new participant of Class Aircraft
  3. Open a new Situation and choose Superordinate Config / Administation as exercise
  4. Go to ->Planning->Participants / Aircraft->NASAT Aircrafts and Add a new aircraft
  5. Make sure to set NASAT-Id to a value greater than 0
  6. Go back to the Situation with the running exercise
  7. Go to ->Planning->Participants / Aicraft->Assign NASAT Aircraft and Add a new one
  8. Assign the participant and the aircraft you created to each other using the ComboBoxes
  9. Now you can use the GUEZ NASAT Simulator

On the Server: You need to enable the GNA Websocket interface:

  1. Open the lts-cc.conf
  2. Find the entry [GNA]
  3. Enable websockets with: useWebSocket = true a. If there is no [GNA] just add both lines to it
  4. Restart the Server /or the svcMeteoDataManagement

Important The software requires the python websocket-client library NOT THE "websockets" package! zypper in python3-websocket-client

#Using the Simulator there are two modes for the Simulator: Filebased which supports both; WeaponRelease and 9-Liner

#Connection Problems ##Check, if Port is listening ss -tuln | grep 8420
tcp LISTEN 0 50 *:8420 :

##Disable proxy Disable Proxy
env|grep -in proxy
export http_proxy==""
export https_proxy==""

#Open Logfile NASAT-Service tail -f ctc_mdm.log

#Changelog [2024.09.12] Update with Server Prerequisites and new simulator style P. Karwat, ESZS (patric.karwat@rheinmetall.com