You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taylor Reynolds edited this page May 15, 2021
·
3 revisions
You'll need to build the SOAR payload before running the main sim and before generating autocode. The steps are pretty simple.
In Matlab, set your working directory to Src and run the Sim_init.m script.
Set your working directory to Lib/FSW/soar/build and run the build_soar.m script. You should see a bunch of lines being printed in the Matlab console.
You should see the final lines read:
MEX completed successfully.
### Finish Compiling sfun_ecos
### Exit
It is okay (and expected) to have 1 warning generated, with the following message: warning: implicit declaration of function 'callecos' is invalid in C99 [-Wimplicit-function-declaration]. You can ignore this.
That's it! You can now run any of the SOAR unit tests in the Lib/FSW/soar/test folder. You can also run the main sim and generate autocode.