-
Notifications
You must be signed in to change notification settings - Fork 1
Home
print(hlo)
gggggg
fdkljgdfsklgj gdfkgjdsl
lfkjgsklgjfkl
- gg
- gg
**PC Sim = running simulations using embedded cpp libraries on PC instead of Teensy **
3 primary branches:
- Main branch = teensy is the platform
- pcsim = PC is the platform
- Monte carlo = for batch simulations on PC
- Not necessarily montecarlo (in official sense)
Need to have C++ compiler installed for this to work Ways to see if necessary tools are installed:
Follow instructions on this link to install (https://code.visualstudio.com/docs/cpp/config-mingw#_prerequisites)
Sign that everything is installed:
JK more to install. Need to install "Make" https://gnuwin32.sourceforge.net/packages/make.htm
Then add to path: Click "Path"
Click "Edit"
Click "New"
Copy path for bin folder. Default is C:\Program Files (x86)\GnuWin32\bin
Click "OK"
Click "OK" again
Next clone repository, but also include submodule (the libraries) Do this via clone with submodules:
git clone --recurse-submodules -b pcsim https://github.com/Alpha-CubeSat/ACS_Simulator.git pcsim
Compile the code in VSCode Terminal (See readme for this repo)
To run on windows, don't follow ./main
line in readme. Instead, type .\main
The simulation data will both print to the terminal, as well as log to a txt file in the 'output' folder of the directory
Consider renaming the file after running the sim to give it an identifiable name. and also to avoid overwriting the data the next time you run this script