refactor: replace legacy command queue with eval command queue in Turtle class

This commit is contained in:
MayaTheShy
2026-02-20 03:44:27 -05:00
parent de58ec6b08
commit bad3b5bf13

View File

@@ -103,8 +103,8 @@ export class Turtle extends EventEmitter {
this.lastUpdate = Date.now();
this.lastStatusBroadcast = 0;
// Legacy command queue (for pocket computer compatibility)
this.pendingLegacyCommands = [];
// Command queue for eval commands sent to webbridge
this.pendingCommands = [];
// Start in idle state
this.setState('idle');