Model-Based Systems Engineering (MBSE) for FIRST Robotics Competition (FRC)
SysMod Studio is an Electron desktop app that helps FRC teams define requirements, compare design concepts, and model their robot's hardware and wiring. Teams can use the same model to review wiring, generate starter robot code, and export schematics for engineering notebooks and design reviews.
Download for Windows or Linux · Documentation
- Visual architecture: Add FRC components to the canvas, group them into subsystems, and connect power, CAN, Ethernet, and signal ports.
- Hardware validation: Check wiring and flag issues such as high CAN bus load, current-limit exceedances, and duplicate port or ID assignments.
- PDF export: Export a wiring schematic and bill of materials for engineering notebooks and design reviews.
- Generated robot code: Export
Robot.javafor WPILib Java orrobot.pyfor RobotPy as starter code based on the diagram. - AADL export: Preview and save the robot model in Architecture Analysis & Design Language (AADL). Use AGREE contracts to check supported properties.
- Desktop app: Electron and electron-vite
- Frontend: React and TypeScript
- Visual canvas:
@xyflow/react(React Flow) - State management: Zustand
- Styling: Tailwind CSS and daisyUI
Install Git and Node.js 24 before running these commands. On Windows, open a fresh terminal after installing Node.js.
git clone https://github.com/Suave101/SysMod.git
cd SysMod/sysmod-studio
npm ci
npm run devWait for npm ci to finish before starting the app. npm run dev opens SysMod Studio in an Electron window.
Windows PowerShell: If PowerShell blocks npm.ps1, use npm.cmd ci and npm.cmd run dev.
See the installation guide for more details.
- Phase 1 (Available): Desktop architecture editor, PDF schematics and bill of materials, AADL export, and starter robot code in Java and Python.
- Phase 2 (Available): Hardware validation, including CAN bus load, current limits, and duplicate port and ID checks.
- Phase 3 (In progress): The Soar behavior editor and behavior proofs are available. Integration with external Soar coprocessors is planned.
Releases are built and published by .github/workflows/release.yml. To publish one, push a version tag:
git tag v0.1.0
git push origin v0.1.0The workflow compiles JKind, runs the proof tests, builds the Windows installer and the Linux AppImage, and publishes them in one GitHub Release with auto-generated notes. You don't need to change the version in package.json, because the workflow sets it from the tag.
- Tags with a suffix, like
v0.1.0-alphaorv0.1.0-rc.1, are published as prereleases. - To rebuild an existing release, open Actions → Release → Run workflow and enter the tag. The release's files are replaced.
- The installers aren't code-signed yet, so Windows SmartScreen shows a warning the first time students run them.
We welcome contributions from FIRST mentors, alumni, and students. Follow the Quick Start to run the app locally, and check the GitHub issues for open work.
