nasa / nos3

NASA Operational Simulator for Small Satellites
Other
361 stars 82 forks source link

NOS3 Dual VM #261

Open Simon9050 opened 7 months ago

Simon9050 commented 7 months ago

Hi,

First off, big thanks for your work on NOS3 simulator! It’s a game-changer for the space community.

I tried running NOS3 in dual VM mode, following the instructions, but it didn’t quite cooperate... Any tips or a specific branch I should use for this setup?

Cheers,

Simon

Originally posted by @Simon9050 in https://github.com/nasa/nos3/issues/83#issuecomment-1967169990

Simon9050 commented 6 months ago

Hi!

apart from the following info :

"The following files/commands have been modified so that FSW/sims run on 192.168.100.4 and 42/COSMOS run on 192.168.100.5:

sims/cfg/nos_engine_server_config.json
-- configure the nos3 server URI to use 192.168.100.4:12001
sims/cfg/nos3-simulator.xml
-- configure the nos-connection-string to be 192.168.100.4:12001
-- configure the data-provider hostname to be 192.168.100.5 for each simulator (to connect to 42)
-- configure the COSMOS IP for the truth simulator to be 192.168.100.5
sims/cfg/InOut/Inp_IPC.txt
-- configure the server hostname to be 192.168.100.5 (for each 42 port that is used for a simulator)
sims/cfg/InOut/Inp_NOS3.txt
-- configure the NOS3 time connection string to use 192.168.100.4:12001 (42 time connection)
config/tools/cmd_tlm_server/nos3_cmd_tlm_server.txt
-- configure the MISSION_INT interface to connect to 192.168.100.4 (COSMOS to FSW/CI_LAB/TO_LAB connection)
COSMOS command: CFS TO_ENABLE_OUTPUT with DEST_IP '192.168.100.5', DEST_PORT 5011
-- configure FSW/TO_LAB to send telemetry to COSMOS at IP 192.168.100.5"

Do you have any tips for the dual VM configuration ?

Thank you for your help,

Simon