Getting Started with fsmc¶
Welcome to the Getting Started guide. This section provides everything you need to set up fsmc, compile your first state machine model into hard real-time C++, and integrate the toolchain into your build system.
Section Contents¶
| Topic | Description | Link |
|---|---|---|
| Installation & Requirements | Build and install fsmc from source, Conan package manager, or CMake FetchContent. |
Installation Guide |
| Quickstart Tutorial | Step-by-step walkthrough creating an autonomous UAV flight mission statechart. | Quickstart Tutorial |
| CLI Usage Reference | Complete command-line manual for fsmc (compiler) and fsm-opt (optimizer). |
CLI Reference |
| Build Systems Integration | Integrating fsmc_target_sources with Modern CMake, FetchContent, and Conan. |
Build Integration |
Recommended Learning Path¶
- Install the Compiler: Follow the Installation Guide to install
fsmcandfsm-opton Linux or macOS. - Build Your First Statechart: Run through the Quickstart Tutorial to author a SysML v2 / PlantUML model and compile it to C++20.
- Explore Modeling Formats: Review the Modeling Languages section to choose between SysML v2, Cameo XMI, SCXML, or visual diagrams.