View Single Post
  #4   Spotlight this post!  
Unread 21-02-2011, 22:27
Clayton Yocom's Avatar
Clayton Yocom Clayton Yocom is offline
Programming Mentor
FRC #0027 (RUSH)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Clarkston, MI
Posts: 87
Clayton Yocom will become famous soon enoughClayton Yocom will become famous soon enough
Send a message via AIM to Clayton Yocom Send a message via MSN to Clayton Yocom Send a message via Yahoo to Clayton Yocom
Re: speed change in teleop

Quote:
Originally Posted by Ian McShane View Post
this is great, but the arm is our shoulder, why is it a problem to have 2 motors wired to joystick 1.
Okay, leme break down what he is saying.

Your begin.vi from another thread has this.

This, in its current state, is broken. What are you trying to do? Do you have two left and right drive motors? Or are you trying to drive your arm using Drive commands? If the second, your doing it incorrectly, as that is not what the drive vi's are made for.

Secondly, this is what your code looks cleaned up a bit (teleop)

Your controling two drive vi's with the same axis values. If you are using 4 motors for drive use this in begin and this in teleop.

If you are indeed controling your arm using button feedback, I'd consider using this. It uses the trottle control on the joystick to set speed and uses buttons two and three for down/up.

If you have any questions, let me know. I'll be sure to answer within the next day or so.
Reply With Quote