refactor: replace legacy command queue with eval command queue in Turtle class
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user