-
Notifications
You must be signed in to change notification settings - Fork 0
For Contributors Simulator Tracker
immjunjie edited this page Jun 4, 2025
·
1 revision
- Define simulator architecture (v1 and v2)
- Implement FastAPI entrypoint with Swagger documentation
- Migrate v1 endpoints (Materials, PrintJob, System, History, Camera, AirManager, Ambient_temperature) to v2
- Enhance documentation with class diagrams, sequence diagrams, and API guides
- Add unit and integration tests for migrated endpoints
- State Machine: Implement a full state machine for printer status transitions (e.g.,
idle→printing→paused→completed→error). - G-code Parsing: Enable
PrintHeadSimulatorto parse G-code files for realistic simulation. - WebSocket Support: Add real-time status updates via WebSocket endpoint (
/ws/status). - Database Integration: Migrate from in-memory storage to SQLite/PostgreSQL using SQLAlchemy.
- Multi-Printer Support: Manage multiple printers via unique
serial_numberidentifiers.