Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Quick request - screenshot of driverstationIO (http://www.chiefdelphi.com/forums/showthread.php?t=114926)

joelg236 12-03-2013 19:27

Quick request - screenshot of driverstationIO
 
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)

Joe Ross 12-03-2013 19:35

Re: Quick request - screenshot of driverstationIO
 
Did you look at the documentation? http://wpilib.screenstepslive.com/s/...ation-software

joelg236 12-03-2013 19:36

Re: Quick request - screenshot of driverstationIO
 
Wow, didn't realize screensteplive also did the Driverstation stuff. Thanks.

joelg236 12-03-2013 19:38

Re: Quick request - screenshot of driverstationIO
 
I assume that I would use DriverStationEnhancedIO.getDigital(port) to check the state of the "Digital Inputs" here?

RufflesRidge 12-03-2013 20:28

Re: Quick request - screenshot of driverstationIO
 
Quote:

Originally Posted by joelg236 (Post 1247297)
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)

joelg236 12-03-2013 20:44

Re: Quick request - screenshot of driverstationIO
 
Thanks.

java4first 17-03-2013 12:49

Re: Quick request - screenshot of driverstationIO
 
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!


All times are GMT -5. The time now is 03:04.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi