View Single Post
  #3   Spotlight this post!  
Unread 16-02-2013, 20:22
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Re: Controlling two subsystems with one controller

I was using three commands at once yesterday with an Xbox Controller. (Running Launch Motors with a While Held, Firing a piston using a timeout, and running a second motor with a while held). I know this is possible.

Our Code: https://github.com/frc3946/UltimateAscent

Are you using any Timer.delay()'s in your code? That would cause the entire robot thread to wait.

For further help please post your code.
__________________
Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group

2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - Lurker
Reply With Quote