View Single Post
  #2   Spotlight this post!  
Unread 03-12-2014, 13:47
jreneew2's Avatar
jreneew2 jreneew2 is online now
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 203
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Running two commands at once, but both commands use the same motors.

Quote:
Originally Posted by notmattlythgoe View Post
I'm not sure this is doable in two commands because both commands need to be controlling the same type of behavior. I think you'll need to combine these behaviors into one command and run it when the button is pressed.

You might be able to store the last sets of drive values in the subsystem and control the separate parts with the two different commands, but I think you're better off combining them.
Alright, thanks! I will have to try that! What i am now not so sure about is that how does the OS dictate which speed to send to each motor. Does Mechdrive_Cartesian take care of that automatically?
Reply With Quote