MAPLEAF Versions Save

6-DOF Rocket Flight Simulation Framework

v0.8.16

2 years ago

Eased installation process - ray and mayavi are no longer installed by default. Run installOptionalPackages.py to try installing them. Once ray is installed, can run simulations in parallel. Once mayavi is installed, can render 3d flight paths around the earth.

v0.8.15

3 years ago
  • Support for stateful rocket components

  • A revamped logging system

    • Will now properly track log columns across stage separation
    • Outputs .csv and text files, all stored in a directory created for each simulation
    • Logging is now completely off when SimControl.loggingLevel = 0 (in the simulation definition file), providing about a ~10% speed up compared to having full logging on
    • Old getLogHeader functions are deprecated and removed
    • Have a look at MAPLEAF/IO/CythonLog.pyx to see the new log class, and MAPLEAF/Rocket/rocket.py:Rocket._logState() for an example of it in use
  • Support for batch optimization

    • In MAPLEAF, ‘conventional‘ optimization optimizes for a cost function computed based on the result a single scenario/simulation. In contrast, ‘batch’ optimization optimizes for the average value of a cost function across a set (batch) of simulations/scenarios.
    • This is helpful for optimization of control systems based on a diverse set of possible disturbed initial conditions
    • See MAPLEAF/Examples/Simulations/CanardsOptimization.mapleaf for an example of a batch optimization definition and MAPLEAF/Examples/BatchSims/CanardOptimizationTest.mapleaf for an example of the corresponding batch simulation definition
    • Thank you @dtquinnde for your help with this!
  • Better support for simulations outside the source code directory (relative file paths etc.)