From e05e147d6a403b657f2a0e1eddb3315a10c21caf Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 20 Jun 2018 16:45:02 -0700 Subject: [PATCH] fix for motor driver (#716) --- sim/state/motornode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/state/motornode.ts b/sim/state/motornode.ts index a5014e59..f69a9208 100644 --- a/sim/state/motornode.ts +++ b/sim/state/motornode.ts @@ -49,7 +49,7 @@ namespace pxsim { // new command TODO: values this.speedCmd = cmd; this.speedCmdValues = values; - this.speedCmdTacho = this.angle; + this.speedCmdTacho = this.tacho; this.speedCmdTime = pxsim.U.now(); delete this._synchedMotor; }