View Single Post
  #9   Spotlight this post!  
Unread 13-02-2013, 17:27
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: Shooter Lifting Code

The potentiometer would be attached to the bottom of your (gray) shooter. Not on the motor. Where the Gray shooter pivots on the Orange ground/top of robot and changes it reading as the angle of the shooter changes.

Anyway, can your shooter go lower than the 1st or higher than the 5th?

Can the motor move too fast that it could go pass the position if you are not reading the limit switch fast enough?

With the fact that we can't know for sure where we are if the shooter is in between position, the best option then would be a state machine and hope you do not get out of sync.

Right now I am at a system that does not have FRC stuff loaded and can't post a solution.
__________________
Omar

Last edited by Omar : 13-02-2013 at 17:31.
Reply With Quote