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.lastUpdate = Date.now();
this.lastStatusBroadcast = 0; this.lastStatusBroadcast = 0;
// Legacy command queue (for pocket computer compatibility) // Command queue for eval commands sent to webbridge
this.pendingLegacyCommands = []; this.pendingCommands = [];
// Start in idle state // Start in idle state
this.setState('idle'); this.setState('idle');