Quote:
Originally Posted by J. Stofflett
We did the bench top test and can do the simple tank drive what we’re wondering if other functions are included in the default code for example is the trigger on joystick 1 mapped to a relay output by default. If so where do we find documentation?
|
The Default Code does not include anything more than a simple 1 joystick arcade drive. Therefore any additional input you want from the driver station you will have to program yourself. LabVIEW is much easier, once you fully learn it (it was quite annoying in the beginning and I believe soon will be again) but in a nutshell WPILib provides much of the in depth functions and all you have to do is to put your input and your output (usually a subVI from WPILib) and run a wire from input to output. Keep in mind that's a nutshell, it's a tad bit more complicated than that.
LabVIEW vs. Windriver, I say LabVIEW only because, it's interesting, I've never used graphical programming and FIRST is about making robots but also about learning to make robots and I would like to learn another type of programming method, LabVIEW is also used very commonly.
The Lead Programmer on my team and I have been resisting the temptation to switch to WindRiver. For some reason we like doing things the more complicated way (until you get sick of it). However, WPI has made it much easier to program this year as well through the use of numerous object classes in C++.
It's a personal choice but try LabVIEW if too complicated then WindRiver.
There is a lot of documentation on FIRST's->Already Involved:FRC -> Documents & Updates:2009 Control Sytem
Scroll down and there is a bunch of documents for LabVIEW and WindRiver
Good Luck!
Sravan