|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: Button Checking Code lags Teleop.vi
I assume you placed that code into teleop. If teleop doesn't read the joysticks and update the robotDrive many times per second, it will act as you describe. Once your sequence starts, the delays prevent teleop from doing the robotDrive task.
What most teams do is to move the code you've shown into periodic tasks. That way teleop can run quickly and return to the scheduler. Greg McKaskle |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|