|
Re: LabVIEW WPI library suggestions
A few things I would like:
I have already written a gyro calibration VI (modified WPI Gyro Open VI) and included it in the zip attached. If you set the Center input to 0, it will autodetect the center and feed it to the Center output. If you set Center to a number, it will use that as the centerpoint. It also has the gain pulled out so you don't need another VI (WPI Gyro Set Gain) to set the gain.
Battery voltage - I found it only one level down in WPI Start Communication, but it is never given to teams in an easy way. I wrote a simple data cache in my attached zip, but there are other ways to implement this.
Relay set only one coil - I know how to set the coils separately using the four states of the enum, but sometimes it is nice to set one coil in a totally different place in code (for example, forward in minibot.vi and reverse in lights.vi), and there is no good way to do this. I propose a SetForward and SetReverse VI which sets each coil separately.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|