diff --git a/docs/AbsoluteMotor.html b/docs/AbsoluteMotor.html index 4245d43..5520afd 100644 --- a/docs/AbsoluteMotor.html +++ b/docs/AbsoluteMotor.html @@ -660,7 +660,7 @@ diff --git a/docs/TechnicLargeAngularMotor.html b/docs/TechnicLargeAngularMotor.html index b2aad52..1bc73a4 100644 --- a/docs/TechnicLargeAngularMotor.html +++ b/docs/TechnicLargeAngularMotor.html @@ -687,7 +687,7 @@ diff --git a/docs/TechnicLargeLinearMotor.html b/docs/TechnicLargeLinearMotor.html index 3bf7eb4..09f0804 100644 --- a/docs/TechnicLargeLinearMotor.html +++ b/docs/TechnicLargeLinearMotor.html @@ -687,7 +687,7 @@ diff --git a/docs/TechnicMediumAngularMotor.html b/docs/TechnicMediumAngularMotor.html index ef84709..ea1565c 100644 --- a/docs/TechnicMediumAngularMotor.html +++ b/docs/TechnicMediumAngularMotor.html @@ -687,7 +687,7 @@ diff --git a/docs/TechnicXLargeLinearMotor.html b/docs/TechnicXLargeLinearMotor.html index 515bf42..408e25e 100644 --- a/docs/TechnicXLargeLinearMotor.html +++ b/docs/TechnicXLargeLinearMotor.html @@ -687,7 +687,7 @@ diff --git a/docs/devices_absolutemotor.js.html b/docs/devices_absolutemotor.js.html index 22032ae..0b059cf 100644 --- a/docs/devices_absolutemotor.js.html +++ b/docs/devices_absolutemotor.js.html @@ -163,9 +163,7 @@ class AbsoluteMotor extends tachomotor_1.TachoMotor { return new Promise((resolve) => { const oldMode = this.mode; let calibrated = false; - this.requestUpdate(); this.on("absolute", async ({ angle }) => { - console.log(angle); if (!calibrated) { calibrated = true; if (angle < 0) { @@ -174,7 +172,6 @@ class AbsoluteMotor extends tachomotor_1.TachoMotor { else { speed = -speed; } - console.log(angle, speed); await this.rotateByDegrees(angle, speed); if (oldMode) { this.subscribe(oldMode); @@ -182,6 +179,7 @@ class AbsoluteMotor extends tachomotor_1.TachoMotor { return resolve(); } }); + this.requestUpdate(); }); } /** diff --git a/docs/quicksearch.html b/docs/quicksearch.html index c19c8ab..a51f26e 100644 --- a/docs/quicksearch.html +++ b/docs/quicksearch.html @@ -7,7 +7,7 @@