|
How does DriverStation.getInstance().getDigitalInput(1) work?
Hi.
I am confused with this method. For the lane tracking, why we need to receive digital values from driver station? How does this work? I am testing our sensors with the example code that provided by the templates. I can receive the changing values with DigitalInput.get(), but the output for those three sensors with DriverStation.getInstance().getDigitalInput() are all true without changing.
I am really confused. I need your help. Thank you!
|