View Single Post
  #11   Spotlight this post!  
Unread 31-08-2016, 22:11
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Auto-Aligning in Teleop

We don't use Java so I can't give complete details, but basically start a new thread running a custom class that you've programmed. That thread controls your drive train and nothing else. You pass it the commands from where ever and it executes them. Internal to that thread, it runs the PID or executes joystick commands directly or whatever else you're doing.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote