View Single Post
  #3   Spotlight this post!  
Unread 23-10-2010, 10:29
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Re: How do i add two "True" values

What i mean to say is this:
the three switches are this:

Proximity switch : switch 1
Safe Switch : switch 2
Armed Switch : switch 3

What i want to do in autonomous is this:

Retract the kicker when first autonomous is on.
As it is coming up, the proximity will come on. When proximity comes on, slow down the motor(motor is connected to the safe switch.

When Armed comes on (The switch that says the kicker is all the way to the top) turn the motor(or the safe switch. Same thing) in the negative direction. And when that safe switch comes on Stop the motor as it is all the way out of the way and it is safe to kick

When that is true.. The safe switch is ON and the Armed switch is ON then extend the solenoid. And extend till the Armed switch comes OFF and when it does go off retract back.

Our kicker works perfectly fine. But i just want it to do the kicking in autonomous without the user input (obviously).

This is what i have written in the code so far.. I dont know if it is right.

Pictures attached in word file.
Attached Files
File Type: doc autonomus pictures.doc (241.5 KB, 12 views)

Last edited by whcirobotics : 23-10-2010 at 10:45.
Reply With Quote