Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Reading Match Data on Robot (http://www.chiefdelphi.com/forums/showthread.php?t=153562)

Poseidon5817 13-01-2017 00:14

Reading Match Data on Robot
 
Is there a way for the robot to obtain the values of certain match data fields, e.g. boiler pressure, match score, field time (which I know is possible)? It could be convenient for driver displays if it is.

euhlmann 13-01-2017 09:45

Re: Reading Match Data on Robot
 
Quote:

Originally Posted by Poseidon5817 (Post 1630364)
Is there a way for the robot to obtain the values of certain match data fields, e.g. boiler pressure, match score, field time (which I know is possible)? It could be convenient for driver displays if it is.

You could always OCR the audience display :cool:

Sol.b.houston 13-01-2017 09:46

Re: Reading Match Data on Robot
 
Whats OCR?

marshall 13-01-2017 10:00

Re: Reading Match Data on Robot
 
Quote:

Originally Posted by Sol.b.houston (Post 1630460)
Whats OCR?

https://en.wikipedia.org/wiki/Optica...er_recognition

Sol.b.houston 13-01-2017 10:21

Re: Reading Match Data on Robot
 
oh ok thank you!

Steven Carmain 13-01-2017 11:42

Re: Reading Match Data on Robot
 
The closest I know about is the data that is provided in the DriverStation class (sorry, Java team, edu.wpi.first.wpilibj.DriverStation).

It does have information about what Alliance you are on (nice to know if your boiler is on the left/right side this year), what Location ID the driver station is at, and the Match Time (it says unofficial on it, you can probably make a better timer anyways getting the FPGA timer between Teleop Init and your current time).

Poseidon5817 13-01-2017 11:46

Re: Reading Match Data on Robot
 
Quote:

Originally Posted by Steven Carmain (Post 1630518)
The closest I know about is the data that is provided in the DriverStation class (sorry, Java team, edu.wpi.first.wpilibj.DriverStation).

It does have information about what Alliance you are on (nice to know if your boiler is on the left/right side this year), what Location ID the driver station is at, and the Match Time (it says unofficial on it, you can probably make a better timer anyways getting the FPGA timer between Teleop Init and your current time).

Yeah as far as I could tell that was it. Didn't know if there was some workaround through FMS to get other data.

rpappa 13-01-2017 16:05

Re: Reading Match Data on Robot
 
I don't think OCR on the audience display would work very well

lucas.alvarez96 13-01-2017 20:50

Re: Reading Match Data on Robot
 
Quote:

Originally Posted by rpappa (Post 1630708)
I don't think OCR on the audience display would work very well

I'm pretty sure that was a joke though...


All times are GMT -5. The time now is 14:52.

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