Just a quick request since I don’t have access to our classmate/anything with DriverStation on it. Could someone post a screenshot of the simple IO on DriverStation, I just want to make sure I remember which way its sorted. (the buttons)
Did you look at the documentation? http://wpilib.screenstepslive.com/s/3120/m/8559/l/92377-frc-driver-station-software
Wow, didn’t realize screensteplive also did the Driverstation stuff. Thanks.
I assume that I would use DriverStationEnhancedIO.getDigital(port) to check the state of the “Digital Inputs” here?
That image shows the Compatible IO which is what can be set on the PC using the mouse if desired. To get the values, use DriverStation.getDigitalIn(channel)
Thanks.
We are trying to use this (for both digital and the 4 analog inputs). However, you only get a value when the robot enables in a mode - otherwise no matter how you move the sliders, and the GUI updates, it stays the same when calling the get methods with an index on the drivers station. I could swear in previous years, it would update. I have used the ‘check’ methods, and am getting both driver station updates and new control data (which looking down in the WPILib code, would appear to be where this comes in).
Is anyone else having this problem? Or is it supposed to work this way, and my memory is wrong …
Thanks in advance!