View Single Post
  #2   Spotlight this post!  
Unread 03-02-2012, 23:46
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Reducing Maximum Drive Speed Through Drive VI

Quote:
Originally Posted by kully kekaula View Post
How exactly would something like that look? I currently have it where, in teleop, it opens the joystick and unbundles the buttons that control the case statement. Inside the case statement would be the normal teleop code for a drive system, including getting the motors and joystick and connecting them to the tank drive vi. Would something like that work? Thanks
You don't necessarily have to put the entire thing inside that case statement. Call the motor refnum and joystick refnums outside, and have one side that passes straight into the tank drive for one side (so there is only the tank drive vi in the statement), and on the other side, have the same thing, only with your math statement too to scale it down.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote