Generalizing motorView for both medium and large motor views. Initial work towards synced motor views. Adding sync label for controller motor.
This commit is contained in:
@ -88,7 +88,7 @@ namespace pxsim {
|
||||
}
|
||||
|
||||
updateState(elapsed: number) {
|
||||
console.log(`motor: ${elapsed}ms - ${this.speed}% - ${this.angle}> - ${this.tacho}|`)
|
||||
//console.log(`motor: ${elapsed}ms - ${this.speed}% - ${this.angle}> - ${this.tacho}|`)
|
||||
const interval = Math.min(20, elapsed);
|
||||
let t = 0;
|
||||
while (t < elapsed) {
|
||||
|
Reference in New Issue
Block a user