|
Re: [FTC]: LabVIEW Programming Template for FTC
Copying Phil's suggestions posted in another thread:
Quote:
Originally Posted by PhilBot
... That's pretty cool and useful. In many ways it mimics the template that shipped with the FRC LabVIEW beta test. Lots of good comments too.
I've been playing with the encoder controls a bit, and your code would be easilly adapted to that to (constant speed vs move motor)
My only trivial suggestion is that instead of inverting the drive signal to one motor, you can set the "Invert" input to "true" for that wheel.
The only reason I mention this is because if you do end up using the encoder based motor drives, the "invert" input is also used by the encoder code, so both motors will count in the same direction, even though one is running in "reverse".
|
__________________
Richard Wallace
Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003
I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
|