Go to Post Lengthy posts are not discarded ones. Information comes in all sizes - Garii [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi