Go to Post "You have not lived until you have done something for someone who can never repay you." - unknown - rufu5 [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2005, 19:06
Billfred's Avatar
Billfred Billfred is online now
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,563
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Showing PSI in user mode?

Alright, I've seen certain people say that they've been able to get air pressure to appear as the user byte on the OI.

The problem is, I'm not sure how to read such data from the RC, and searching CD doesn't seem to turn up any information.

Can anyone shed some light on this?

Thanks!
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #2   Spotlight this post!  
Unread 01-02-2005, 19:22
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Showing PSI in user mode?

Quote:
Originally Posted by Billfred
Alright, I've seen certain people say that they've been able to get air pressure to appear as the user byte on the OI.

The problem is, I'm not sure how to read such data from the RC, and searching CD doesn't seem to turn up any information.

Can anyone shed some light on this?

Thanks!
Code:
User_Byte1 = yourvariablehere;
Then you can push the 'select' button on the operator interface to toggle between the different userbytes (you can define up to six). I believe that userbytes 1 and 2 are the only ones that show up on the OI, but I haven't been able to check this. Actually, I haven't even been able to check that the code above works. I'm only about 80% sure it does. All of the userbytes can be read through the Dashboard port by a Dashboard program.

Hope that helps.
  #3   Spotlight this post!  
Unread 01-02-2005, 19:29
Billfred's Avatar
Billfred Billfred is online now
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,563
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Showing PSI in user mode?

Well, that's half of the battle.

Now, at the risk of posting this in the wrong forum, how do I read the information from the pneumatic system to the RC?
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #4   Spotlight this post!  
Unread 01-02-2005, 20:10
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Showing PSI in user mode?

There was an analog pressure sensor provided last year, not sure if it's in the kit this year, but I would guess that it would be legal anyways - probably off the shelf. It's just like any other analog sensor.
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #5   Spotlight this post!  
Unread 01-02-2005, 20:46
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Showing PSI in user mode?

Following the parts use flowchart, the analog sensor provided in the past may not be used this year. This is because it is a pneumatic component, which takes precedence over being a COTS electronic item.

Edit: see my post below

Last edited by Joe Ross : 02-02-2005 at 15:14. Reason: see below
  #6   Spotlight this post!  
Unread 01-02-2005, 22:59
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Showing PSI in user mode?

I'm sorry. I spoke without justification

That really is too bad, though - the analog sensor was quite a cool addition to the kit.
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #7   Spotlight this post!  
Unread 01-02-2005, 23:02
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Showing PSI in user mode?

Quote:
Originally Posted by steven114
I'm sorry. I spoke without justification

That really is too bad, though - the analog sensor was quite a cool addition to the kit.
Few teams used the pressure transducer, and opted for the digital pressure switch. I believe FIRST opted for the accelerometer from TI over the pressure sensor because it wasnt a widely used item, and this years game moves alot of weight very high. This causes tipped bots, and the accelerometer may be able to help that.
  #8   Spotlight this post!  
Unread 01-02-2005, 23:04
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Showing PSI in user mode?

You say that as if they were mutually exclusive items - both would be really cool. Personally, I would prefer the pressure sensor - I've had just about an infinite amount of trouble with integrating accelerometers in the past

They're too finicky for my taste - I prefer the sensors that just work.
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #9   Spotlight this post!  
Unread 02-02-2005, 15:16
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Showing PSI in user mode?

Quote:
Originally Posted by Joe Ross
Following the parts use flowchart, the analog sensor provided in the past may not be used this year. This is because it is a pneumatic component, which takes precedence over being a COTS electronic item.
Actually, a pressure transducer is allowed in <R91>. It seems there is a box missing from the part use flowchart. You can use any pressure transducer as long as it is rated for the pressures you apply and you account for the costs.
  #10   Spotlight this post!  
Unread 02-02-2005, 15:24
ntroup's Avatar
ntroup ntroup is offline
WildStang!
None #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Schaumburg
Posts: 52
ntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud of
Re: Showing PSI in user mode?

Quote:
Originally Posted by Joe Ross
Actually, a pressure transducer is allowed in <R91>. It seems there is a box missing from the part use flowchart. You can use any pressure transducer as long as it is rated for the pressures you apply and you account for the costs.
I am not so sure about that. According to Q&A ID:1350:
Q: R88 indicates that the Nason pressure sw. is required if we use the pump, but it's not mentioned as a 'minimum' in R86. May we use the analog sensor instead? May we run the pump all the time and not install either sensor?
A: Part 1: You must use the pressure switch. You cannot use the analog sensor. Part 2: You may run the pump all the time; you can ignore the sensor BUT you MUST use the sensor. It is unwise to run your pump all the time as it uses power from your battery.
That seems to say very clearly that the analog sensor (pressure transducer) can not be used..... for whatever reason, I am not sure. Unless I am interpreting this wrong?

-Nate
  #11   Spotlight this post!  
Unread 02-02-2005, 15:45
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Showing PSI in user mode?

Quote:
Originally Posted by ntroup
I am not so sure about that. According to Q&A ID:1350:
Q: R88 indicates that the Nason pressure sw. is required if we use the pump, but it's not mentioned as a 'minimum' in R86. May we use the analog sensor instead? May we run the pump all the time and not install either sensor?
A: Part 1: You must use the pressure switch. You cannot use the analog sensor. Part 2: You may run the pump all the time; you can ignore the sensor BUT you MUST use the sensor. It is unwise to run your pump all the time as it uses power from your battery.
That seems to say very clearly that the analog sensor (pressure transducer) can not be used..... for whatever reason, I am not sure. Unless I am interpreting this wrong?

-Nate
There are two possible interpretations. The first one is that the analog sensor may not be used under any circumstances. The second is the analog sensor must not be used in place of the pressure switch, but it may be used to supplement the pressure switch.
  #12   Spotlight this post!  
Unread 02-02-2005, 16:11
ntroup's Avatar
ntroup ntroup is offline
WildStang!
None #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Schaumburg
Posts: 52
ntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud ofntroup has much to be proud of
Re: Showing PSI in user mode?

Quote:
Originally Posted by Joe Ross
There are two possible interpretations. The first one is that the analog sensor may not be used under any circumstances. The second is the analog sensor must not be used in place of the pressure switch, but it may be used to supplement the pressure switch.
I agree... I have read it both ways, but am not sure their intent on the ruling. If you read it point-blank, it looks like it is -not- allowed. But, I can't seem to figure out their reasoning behing banning it outright (as long as a pressure switch is also used), so I tend to think they are just meaning it can not be used are a direct replacement.

I continue to scratch my head at this, and some other of their answers...
  #13   Spotlight this post!  
Unread 02-02-2005, 16:52
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
Re: Showing PSI in user mode?

If it's legal, here's how we did it last year before we were forced to use the digital sensor instead of the analog:
Code:
#define PUMP_120_PSI_VAL  223
User_Mode_byte = ((Get_Analog_Value(rc_ana_in01) >> 2) * (int)120) / (int)PUMP_120_PSI_VAL;
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mulit-postioning with pnuematics this year? KenWittlief Pneumatics 101 01-02-2005 21:54
Reputation Level suggestions Brandon Martus CD Forum Support 42 10-01-2004 08:58
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
User mode toggling JLambert Programming 2 25-02-2003 05:47
Select button and user mode n[ate]vw Programming 2 20-01-2003 16:33


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

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