View Single Post
  #3   Spotlight this post!  
Unread 02-12-2007, 15:33
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,277
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Catapult Programing Help

Quote:
Originally Posted by MRClark View Post
Can someone please help me wit the programing of a catapult i built

it is tanks style drive
3 motors driving tank on each side
2 motors driving the catapult
2 limit sensors to tell me when the arm is up and down

the problem i am having is that the arm comes down way to hard and because i manually have to reload the tennis ball every time, i want it th have a switch on the robot so once the arm has been fired, it will stay out until the button has been pressed, so i can let it down softly
can someone please help me put this into code?
We can't write code for you. We would need a lot more information to tell you what to write for code.

If you just want ideas the try either reducing the speed of the arm as it returns or try replacing the limit switches with potentiometer and used PID control to let the arm slow down as it returns.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)