View Single Post
  #5   Spotlight this post!  
Unread 23-10-2010, 11:45
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: How do i add two "True" values

Quote:
Originally Posted by whcirobotics View Post
What i want to do in autonomous is this:
...
You must have one heck of a kicker mechanism

Quote:
Originally Posted by whcirobotics View Post
Our kicker works perfectly fine. But i just want it to do the kicking in autonomous without the user input (obviously).
Would it work to move your (working) teleop code into a subVI that you could call from both autonomous and teleop? Make the inputs to the VI be whatever is normally controlled by your drivers, so your autonomous routine could supply these inputs instead.

It also sounds like your kicker code could benefit from a state machine: http://frcmastery.com/try-me/state-machines/

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote