|
Trackers Returning True All the Time
We have our line trackers correctly calibrated, and the lights change. In our code, we print the value of the trackers to the driver station's user message box. Every time it prints out three 1's, even though the tracker lights are changing. We have all 3 trackers declared correctly, as well as their solenoid counterparts which need to be set to True at the beginning. Can someone provide us with code that will get the values from the trackers and print them to the user message area? Our trackers are called trackerL, trackerM, and trackerR. They are declared as Digital Inputs, and we use pointers to declare them. Thanks!
|