JinraeKim / FSimBase.jl

The lightweight base package for numerical simulation supporting nested dynamical systems and macro-based data logger. For more functionality, see FlightSims.jl.
MIT License
5 stars 1 forks source link

Simulator interface: interactive and non-interactive simulation #5

Closed JinraeKim closed 3 years ago

JinraeKim commented 3 years ago

In DifferentialEquations.jl, there are two interfaces: integrator (interactive) and solve (non-interactive; compatible with callbacks).

In FSimBase.jl, solve interface is already provided as sim. If the interactive simulation interface is provided, it will be useful especially for simulations with communication, e.g., ROS2-compatible simulation and with parameters varying periodically, e.g., zero-order-hold control and model predictive control for continuous systems.

Next goal: 1) Provide a unified "Simulator" struct with which users can perform either interactive or non-interactive simulation. 2) Rename sim as solve. 3) Add an interactive simulation interface.

After this work, the version of FlightSims.jl would be v1.0.0 :)

JinraeKim commented 3 years ago

Please take this into account @hnlee77, @nhcho91.