This is the git repository for Function 3a of the NASA System-Wide Safety program.
-
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh -
bash Miniforge3-MacOSX-arm64.sh -
rm https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
- Close and open a new terminal
- Navigate to ILSMS_FUNC3A directory
cd to/ILASMS_FUNC3A - Navigate to the setup directory
cd setup - Install dependencies with conda
conda env create -f environment_mac_silicon.yml
- Close and open a new terminal
- Activate virtual environment
conda env create -f environment_mac_silicon.yml
- Naviagate to project directory (see step 1)
- Naviagate to BlueSky directory
cd bluesky - Install bluesky
pip install -e .
- Open terminal and activate virtual environment
conda activate sws
- Navigate to ILSMS_FUNC3A directory
cd to/ILASMS_FUNC3A - Try running main script
python main.py
- Follow steps 1-2 above (Section: Running Project) in a single terminal (Terminal 1). Open a second terminal (Terminal 2) and follow the steps below
- Activate virtual environment
conda activate sws
- Navigate to ILSMS_FUNC3A directory
cd to/ILASMS_FUNC3A - Naviagate to BlueSky directory
cd bluesky - Start BlueSky
python BlueSky.py
- The GUI should open up. After the GUI has started, in Terminal 1, run step 3 of Running Project to start the simulation.
- In the BlueSky GUI, select the Nodes tab on the lower-right side. Select a different simulation node to see the DFW sim.
If this error is encountered, uninstall grpcio and reinstall with conda
pip uninstall grpcio; conda install grpcio=1.43.0Run scripts/multiple_scn_script.py. The generated scenarios are stored in scripts/generated_scenarios.