View Single Post
  #3   Spotlight this post!  
Unread 22-03-2012, 08:05
dfu1234 dfu1234 is offline
Registered User
FRC #3595
 
Join Date: Mar 2012
Location: Chicago, Il
Posts: 3
dfu1234 is an unknown quantity at this point
Re: Variables, Cameras, and Wait

THANK YOU!

Ok, so, I REALLY like the idea of putting all that processing onto the computer, but I need help with how to actually incorporated it. Do I just extract the folder somewhere and then add the folder via import, or should I put all of these in their proper file location?

Offputting it to a computer also means I can do the actual math instead of a look-up table .

Thanks for all the detail information on the camera. I will try to incorporated (well, not try. HAVE to) later, when I meet up with my team. Let's hope the none-encoded SPIKE is easy enough to set up.

And, the wait command is like this. In Teleop.vi, I want to use a button to change a Boolean variable back and forth. So, I currently have a sort of t flip flop with the button and the variable as the inputs. Here is a picture of it:

Before anyone comments on a glaring flaw in this, there will soon be a while loop in it with button nine the determinate.

What I want to avoid is this: Person presses button 9; Gyro is true. Next tick: Output false into gyro. Next tick: HEY LOOK! Inverse Gyro is true and Button Nine Pressed is true. Let's output and change it! Next tick: etc etc so on and so forth. Considering how fast ticks are, this could utterly screw me. THAT is what I want a wait command/block for.


Team 3595 Massive Attack thanks you heartily.

Last edited by dfu1234 : 22-03-2012 at 08:40.
Reply With Quote