View Single Post
  #3   Spotlight this post!  
Unread 14-03-2007, 19:39
114Klutz 114Klutz is offline
Registered User
AKA: Li Pi
FRC #2984 (Viking Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Los Altos
Posts: 152
114Klutz is a jewel in the rough114Klutz is a jewel in the rough114Klutz is a jewel in the rough
Send a message via AIM to 114Klutz
Re: PLEASE HELP!! Need help programming arm??

What are you attempting to do? Do you want the joystick to control the position of the arm, or do you simply want the joystick to control the speed of the arm movement?

If you want the joystick to control the position of the arm, you'll need a PID loop and a way of calculating where the arm is using the encoder. You'll also have to ensure(Unless its an absolute encoder) that the arm starts at the same position every time.

If you want to control the speed, then you'll still need a PID loop

Feel free to talk to me on aim (evil666rat), I'll be happy to help - I'm the programmer who wrote the code controlling our arm. I'll be happy to build some for yours, if you'll contact me with some more details.

Last edited by 114Klutz : 14-03-2007 at 19:47.