|
Re: AUTONOMOUS PROBLEM
The if statement looks fine to me.
Try outputting the values of AutoSwitch3->Get() and limitSwitchB->Get(). Make sure something odd isn't going on.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;
"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
|