Skip to content

Building the SOAR Payload

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.

  1. In Matlab, set your working directory to Src and run the Sim_init.m script.
  2. 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.

Clone this wiki locally