upgraded to run in parallel

This commit is contained in:
Peli de Halleux
2018-01-23 14:52:41 -08:00
parent 18480080e7
commit 387effbdd0
9 changed files with 14 additions and 14 deletions

View File

@ -81,7 +81,7 @@ function IS(t: number) {
function UP() {
if (motors.largeA.angle() > -50) {
control.runInBackground(function () {
control.runInParallel(function () {
motors.largeD.clearCounts()
motors.largeD.setSpeed(-35);
pauseUntil(() => motors.largeD.angle() < -25);