Hi,
My team and I are using the base OpMode to run our autonomous program. This is NOT LinearOpMode. So, I was wondering what the best way to check and make sure that the driver station has not requested a stop is inside of a while loop in my OpMode. I am using encoders, and made a method to run while the encoders are not at their specified position. But, how do I check within the while loop to make sure that the driver station has not requested an opmode stop?
Thanks!
My team and I are using the base OpMode to run our autonomous program. This is NOT LinearOpMode. So, I was wondering what the best way to check and make sure that the driver station has not requested a stop is inside of a while loop in my OpMode. I am using encoders, and made a method to run while the encoders are not at their specified position. But, how do I check within the while loop to make sure that the driver station has not requested an opmode stop?
Thanks!
Comment