|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Team with limited programming resources
With the old IFI controls basic code and documentation was provided that mapped joysticks, buttons, and limit switches. This made it possible for teams with very limited programming resources get a basic robot up and running. Is there anything like that available for this years control system?
|
|
#2
|
|||
|
|||
|
Re: Team with limited programming resources
this years system comes with a default code that is ready to go if you just want straightforward arcade drive. It is very easy to use or slightly modify with Labview. If you just put the software on your computer, and follow the instructions in the rules for the benchtop test, then you should be set to go. But for your own sake, use an autonomous mode, or you will be hammered upon in autonomous.
|
|
#3
|
||||
|
||||
|
Re: Team with limited programming resources
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?
|
|
#4
|
|||
|
|||
|
Re: Team with limited programming resources
the FRC documentation in c:\WindRiver\docs\extensions\WPILib should have it
|
|
#5
|
|||
|
|||
|
Re: Team with limited programming resources
that is for windriver though, honestly i have nothing against C code, but i would say labview should be much easier. Also, I believe when you update the code in the cRio to the default in LabView, it will change to Arcade drive. Anyways, in the Default code, just use the WPI Library at the bottom of the Functions Palette. It makes everything really simple. You can find relays under the actuators subgroup. In the WPI library, they have ready things like drive sytems and sensor subprograms. If you use this in conjunction with the manuals at The cRio manual page, you should be off to a good start. Much easier than any other years past.
|
|
#6
|
||||
|
||||
|
Re: Team with limited programming resources
Quote:
|
|
#7
|
||||
|
||||
|
Re: Team with limited programming resources
For a concrete example of why things is far easier this year, consider the idea of having a servo always 'pointing' in the same direction
Code:
double angle = 360 - fabs(fmod(gyro.GetAngle(), 360)); if (angle > 180) angle = angle - 180; servo.SetAngle(angle); |
|
#8
|
||||
|
||||
|
Re: Team with limited programming resources
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NEED GENERAL HELP on how to find programming and animation resources | delphi demon | General Forum | 1 | 02-04-2007 15:58 |
| Looking for resources to learn programming | meglovesbots | Programming | 8 | 03-12-2006 14:35 |
| programming motors with programming kit | BorisTheBlade | FIRST Tech Challenge | 4 | 01-11-2005 19:03 |
| Space is limited act now to comet to TEAM 69's mini-meet | archiver | 2001 | 2 | 24-06-2002 00:21 |
| Space is limited act NOW TEAM 69 Scrimmage | archiver | 2001 | 2 | 24-06-2002 00:21 |