The program requires the following free softwares (tested in Windows 10).
-
gcc.exe
(comes with Minimalist GNU for Windows---See this awesome page for info) -
gmake.exe
(I use the one from TI's CCS, it is located somewhere like:D:\ti\ccs930\ccs\utils\bin\gmake.exe
. You don't need to get it yourself, because I have copied and pastedgmake.exe
to this repository. -
Anaconda3 (python), use pip to install following packages:
- numpy
- matplotlib
- pandas
-
git clone https://github.com/horychen/MinimumOrderSensorless.git (MinimumOrderSensorless)
-
Open
cmd.exe
in the directory where the codes locate, and execute commands:cd acmsimcv5/c
gmake.exe
main.exe
cd ..
cd ..
conda activate your-vitual-env
(optinal)python ACMPlot2024.py
- If you have trouble compling the C codes, it is also okay to directly execute
acmsimcv5/c/main.exe
and make sure the*.dat
files are generated inacmsimcv5/dat
.- It is a bad practice to git track
*.exe
file but I did it anyway just in case.
- It is a bad practice to git track