File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -420,13 +420,10 @@ void MainWindow::update()
420
420
{
421
421
const int index = glwidget->ssl ->robotIndex (i, BLUE-1 );
422
422
423
- if (index == -1 ||
424
- glwidget->ssl ->robots [index ] == nullptr )
423
+ if (index == -1 || glwidget->ssl ->robots [index ] == nullptr )
425
424
continue ;
426
425
427
426
glwidget->ssl ->robots [index ]->resetSpeeds ();
428
- // glwidget->ssl->robots[index]->kicker->setRoller(0);
429
- // glwidget->ssl->robots[index]->kicker->kick(0, 0);
430
427
}
431
428
}
432
429
// Stops yellow robots from moving if no package has been received for 1 second
@@ -436,13 +433,10 @@ void MainWindow::update()
436
433
{
437
434
const int index = glwidget->ssl ->robotIndex (i, YELLOW-1 );
438
435
439
- if (index == -1 ||
440
- glwidget->ssl ->robots [index ] == nullptr )
436
+ if (index == -1 || glwidget->ssl ->robots [index ] == nullptr )
441
437
continue ;
442
438
443
439
glwidget->ssl ->robots [index ]->resetSpeeds ();
444
- // glwidget->ssl->robots[index]->kicker->setRoller(0);
445
- // glwidget->ssl->robots[index]->kicker->kick(0, 0);
446
440
}
447
441
}
448
442
}
You can’t perform that action at this time.
0 commit comments