Go to Post FIRST is good for us. It is good for our own Children. Don't give up, even if you are as tired as I am! - Kyle Hughes [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 25-01-2017, 23:44
asinghani asinghani is offline
Registered User
FRC #1458
 
Join Date: Jan 2017
Location: Danville
Posts: 2
asinghani is on a distinguished road
Get pressure amount programatically?

Is it possible for the program on the robot (or drive station) get the current pressure amount in kPa?

We are using java on the robot, although if it is possible it most likely will be language-agnostic.
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2017, 23:46
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,569
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Get pressure amount programatically?

If you are talking about the score on the field - no. If you are talking about the pressure in your air tanks, you will need an analog pressure sensor. AndyMark sells them.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2017, 09:24
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: 410
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: Get pressure amount programatically?

Quote:
Originally Posted by asinghani View Post
Is it possible for the program on the robot (or drive station) get the current pressure amount in kPa?

We are using java on the robot, although if it is possible it most likely will be language-agnostic.
As I've said somewhere else, simply OCR the audience display
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2017, 09:28
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,900
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Re: Get pressure amount programatically?

Quote:
Originally Posted by asinghani View Post
Is it possible for the program on the robot (or drive station) get the current pressure amount in kPa?

We are using java on the robot, although if it is possible it most likely will be language-agnostic.
You need a sensor. Specifically this one!
http://www.andymark.com/product-p/am-3219.htm
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2017, 10:25
MrNick's Avatar
MrNick MrNick is offline
Registered User
FRC #0088 (TJ^2)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Bridgewater, MA
Posts: 13
MrNick is an unknown quantity at this point
Re: Get pressure amount programatically?

I'll second the desire to get detailed match information from FMS during the match. Knowing the pressure would be nice. Another nice bit of information would be knowing if the touchpad was engaged. We can already get some information like what alliance we are on and the current match time via the DriverStation object. It would be awesome to see that extended to include game specific information like this.
__________________




2016 Granite State District Event Winner
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2017, 10:28
asinghani asinghani is offline
Registered User
FRC #1458
 
Join Date: Jan 2017
Location: Danville
Posts: 2
asinghani is on a distinguished road
Quote:
Originally Posted by Conor Ryan View Post
You need a sensor. Specifically this one!
http://www.andymark.com/product-p/am-3219.htm
By steam pressure I mean the game points based on the balls in the boiler, not the air pressure in our pneumatic tanks.

Sent from my SM-G935T using Tapatalk
Reply With Quote
  #7   Spotlight this post!  
Unread 26-01-2017, 16:53
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 275
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Get pressure amount programatically?

Quote:
Originally Posted by asinghani View Post
By steam pressure I mean the game points based on the balls in the boiler, not the air pressure in our pneumatic tanks.

Sent from my SM-G935T using Tapatalk
As far as I'm aware it is impossible to access the live score. The only real info you get about the game/field (that you can access) is the driver station # and color. There should be a nice fat scoreboard sitting right by the field you drive coach can look at and relay the info to the drivers.
__________________
My time in FIRST has made me a better person, frankly I don't know where I'd be without it.



2011 Lake Superior Regional Champs (Thanks 2512 & 3747)
2015 Central Illinois Regional Engineering Inspiration Award recipients
2016 Central Illinois Regional Champs (Thanks 2481 & 2220)
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 12:58.

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