Commit Graph

3 Commits

Author SHA1 Message Date
AskaEth 8c78393fb5 fix: add acceleration values to test packet for G-force dashboard 2026-07-27 08:15:19 +08:00
AskaEth 16ada23d61 fix: timestamp overflow in test packet (uint32) - use & 0xFFFFFFFF 2026-07-26 18:21:17 +08:00
AskaEth 69b73e8ce0 refactor: extract test data generator to server/test_mode.py
- TestDataGenerator class: builds 324-byte Forza packets, runs async loop at 30fps
- Simulated data passes through _handle_packet (parser -> WS -> forwarder)
- Listener delegates to test_mode.get_generator()
- Cleaner separation: listener.py no longer contains test logic
2026-07-26 18:07:19 +08:00