This repo simulates the 3d Dynamics of a satellite in orbit. The core dynamics are comptued and the state is propogated in C++. This is exposed to python via pybind.
Run the following commands:
python3 -m venv .venv --system-site-packagessource .venv/bin/activate./install.sh
- Run
source .venv/bin/activateto activate the venv -
- Run
./run_debug.sh <NUM_TRIALS>
- Run
-
- Run
./run.sh <NUM_TRIALS>
- Run
- Once done with devlopment, run
deactivateto exit the venv
cd argusim/visualization/web_visualizer- Open a web browser and go to
http://127.0.0.1:3000/ python3 job_comparison_tool.py
cd argusim/visualization/plotterpython3 plot.py <PATH_TO_JOB_DIRECTORY> -i
cd argusim/visualization/plotterpython3 plot.py <PATH_TO_JOB_DIRECTORY> -i -t [list of trial numbers to debug]
cd argusim/visualization/plotterpython3 plot.py <PATH_TO_JOB_DIRECTORY>
Remember to run in a virtual environment
Inspect montecarlo/results/<JOB_NAME>/trials/trialX/output.txt
Run launch.json shows the configurations for debugging python and C++ code.
Edit montecarlo/configs/params.yaml
Install the following VSCode extensions:
- clangd for powerful C++ intellisense (identifier:
llvm-vs-code-extensions.vscode-clangd) - doxygen dostring generator (identifier:
cschlosser.doxdocgen)
Refer to the code architecture here