Go to Post Can anyone tell that it is 5:20 in the morning and I can't sleep? Thanks, Dave. - ChuckDickerson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2017, 00:14
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 407
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
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.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2017, 09:45
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 395
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Reading Match Data on Robot

Quote:
Originally Posted by Poseidon5817 View Post
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
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2017, 09:46
Sol.b.houston Sol.b.houston is offline
Registered User
FRC #6183
 
Join Date: Jan 2017
Location: Greenland AR
Posts: 4
Sol.b.houston is an unknown quantity at this point
Re: Reading Match Data on Robot

Whats OCR?
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2017, 10:00
marshall's Avatar
marshall marshall is online now
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,337
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Reading Match Data on Robot

Quote:
Originally Posted by Sol.b.houston View Post
Whats OCR?
https://en.wikipedia.org/wiki/Optica...er_recognition
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2017, 10:21
Sol.b.houston Sol.b.houston is offline
Registered User
FRC #6183
 
Join Date: Jan 2017
Location: Greenland AR
Posts: 4
Sol.b.houston is an unknown quantity at this point
Re: Reading Match Data on Robot

oh ok thank you!
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2017, 11:42
Steven Carmain Steven Carmain is offline
Bit Twiddler
FRC #2832
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Westland, MI
Posts: 93
Steven Carmain will become famous soon enough
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).
__________________
2017 - Team 2832 Mentor
2016 - Team 6013 Mentor
2002-05 - Team 45 Software/Electrical

A robot is like a campfire: it takes a while to bulid it, and then everyone surounds it!
A world without standards is chaos. A world with standards is chaos.
Reply With Quote
  #7   Spotlight this post!  
Unread 13-01-2017, 11:46
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 407
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: Reading Match Data on Robot

Quote:
Originally Posted by Steven Carmain View Post
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.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #8   Spotlight this post!  
Unread 13-01-2017, 16:05
rpappa rpappa is offline
Registered User
FRC #0340
 
Join Date: Feb 2016
Location: Rochester
Posts: 9
rpappa is an unknown quantity at this point
Re: Reading Match Data on Robot

I don't think OCR on the audience display would work very well
Reply With Quote
  #9   Spotlight this post!  
Unread 13-01-2017, 20:50
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 123
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
Re: Reading Match Data on Robot

Quote:
Originally Posted by rpappa View Post
I don't think OCR on the audience display would work very well
I'm pretty sure that was a joke though...
__________________
FRC 2576 2015-2016: Mentor
FRC 2576 2013-2015: Programmer & Chairman's Presenter

Los Angeles Regional 2014: Regional Chairman's Award
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:27.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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