Go to Post C'mon you guys you're all inventors. You guys should be making a portable cryogenic sleep chambers for those long bus trips! You got two weeks before you have to go. Get cracking! - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 03-12-2012, 16:05
mprasolov's Avatar
mprasolov mprasolov is offline
Jack of all trades
AKA: Misha Prasolov
FRC #2823 (The Automatons)
Team Role: Student
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Saint Paul, MN
Posts: 36
mprasolov is an unknown quantity at this point
Problems with Pneumatic Cylinders

Hi all,

We are trying to program our 2012 season robot with C++ and we are doing well so far. (We have the compressor initialized) We are trying to get 3 pistons to work (2 operate a bridge lowering mechanism, and one helps shoot the ball) We cannot get this to work. So our questions are:

1. How can we tell what port a certain piston relay is on?

2. Do we use the relay "kOff/kOn" or "kReverse/kForward"

3. How do we initialize multiple pistons?

Thanks a lot!

P.S. If you want to look at our code repository it's here

Last edited by mprasolov : 03-12-2012 at 23:26.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-12-2012, 00:04
mprasolov's Avatar
mprasolov mprasolov is offline
Jack of all trades
AKA: Misha Prasolov
FRC #2823 (The Automatons)
Team Role: Student
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Saint Paul, MN
Posts: 36
mprasolov is an unknown quantity at this point
Re: Problems with Pneumatic Cylinders

I think we figured it out. Thanks to all for your help! *sarcasm*
Reply With Quote
  #3   Spotlight this post!  
Unread 09-12-2012, 21:30
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Problems with Pneumatic Cylinders

Tell me, which would have taught you

1. How to actually DO all that, and
B. How to learn how to figure out how to do all that

A. Me answering it, or
2. you finding it on your own.

hint: search is your friend...
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #4   Spotlight this post!  
Unread 09-12-2012, 22:36
mprasolov's Avatar
mprasolov mprasolov is offline
Jack of all trades
AKA: Misha Prasolov
FRC #2823 (The Automatons)
Team Role: Student
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Saint Paul, MN
Posts: 36
mprasolov is an unknown quantity at this point
Re: Problems with Pneumatic Cylinders

Quote:
Originally Posted by DonRotolo View Post
Tell me, which would have taught you

1. How to actually DO all that, and
B. How to learn how to figure out how to do all that

A. Me answering it, or
2. you finding it on your own.

hint: search is your friend...
First, sorry for the sarcasm above.

Second, I have searched all over the place (Google, the forums, etc.) and did not find out how to tell what ports certain mechanisms were plugged into, and still don't know. The only way I could figure them out is by looking back at previous code.

My other problem is that I was using relay classes to operate the pistons, when only one of them runs on a relay. We are now using the solenoid classes, but now our drive functions are reversing directions (unrelated, but I thought I'd mention it)
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 03:33.

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