fix for motor driver (#716)

This commit is contained in:
Peli de Halleux 2018-06-20 16:45:02 -07:00 committed by Sam El-Husseini
parent fc83cc5d5b
commit e05e147d6a

View File

@ -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;
}