View Single Post
  #4   Spotlight this post!  
Unread 22-02-2010, 16:49
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Programming Autonomous pneumatic kicker

Let me see if I understand
We need to break it down into each single step.

1 Somebody presses a BUTTON (???) On the joystick?
2 The BACK cylinder Extends to the cocked position?
3 Limit Switch detect BACK cylinder is cocked.
4 Causing the FRONT cylinder extend
5 Then somebody presses another button (???)
6 Both cylinders retract at the some time kicking the ball.

I assume this is how it is done in Teleop with the button pressing.
Do you have code that now works in Teleop mode using buttons and you need to replace the buttons pressing.

How will you detect that a ball is present and it is time to kick. (A timer? Distant traveled? A limit switch?)

I am not sure how you are using all the limit switches.

Anyway does the flow of the VI match what is actually going on in your code?
Attached Files
File Type: vi CrudeSolution.vi (15.7 KB, 34 views)
__________________
Omar
Reply With Quote