|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
cRIO: Traditional or LabVIEW?
Hey guys. I've been following this stuff about the new control system and I have a couple questions, mainly pertaining to the programming aspects of it. Now, I may have overlooked something simple in reading about the document, but here's what I would like to know.
Since our team is small, and lost our chief programmer to graduation, is it still possible to use MPLab in any way (Mainly, I mean the C programming codes of old.)? Or will we have to learn to use labVIEW, which none of us know how to use? A subquestion of the one above: what is the best way to learn how to operate labVIEW? (I'm having to reteach myself the old C+ codes that we used last year to get a hold on the concept so i can teach it to the new programmers, but I don't want to go too far and then have to dramatically shift gears) |
|
#2
|
|||
|
|||
|
Re: cRIO: Traditional or LabVIEW?
You could conceivably use mpLab as you Development Environment but the code would basically be useless. The new controller will either use C++ OR Labview. Now, C and C++ are very similar but I doubt any old code will work.
Onward and Forward, the quickest and possibly easiest way to learn labview is to play with it. It is available from the FIRST website. NI has many tutorials out specifically for FRC teams to learn. Now if you wanted to use C++ the best thing to do NOW would be start learning it. |
|
#3
|
|||||
|
|||||
|
Re: cRIO: Traditional or LabVIEW?
Preparing for this year in programming is particularly difficult since with the exception of the Beta Test teams, no one has access to or experience with the FIRST Libraries/VIs. In the 04 change from PBASIC to C teams were given a special EduBot controller to practice. Once the testing is done, we should all get the libraries and a cRIO (if pay for shipping) shortly before the season.
Until then at MOEU we have the students practicing with both LV and C++. For C++, we are using Eclipse with MinGW toolchain. I am thinking about making dummy classes to resemble the new WPILib and having the students practice with them. For classes methods that get an input I am thinking about reading from a file or calculating based on past output. Then just print out output methods. MPLAB is not very useful IMHO now (and never was a great IDE). I recommend you:
|
|
#4
|
||||
|
||||
|
Re: cRIO: Traditional or LabVIEW?
I attended a workshop hosted by WPI on the use of C++ last month. The good news is that it isn't as scary as you might think. I also have a team without strong programming skills, I will have to learn this system and teach to my students and I am not that strong in programming.
The basic package will have a step by step with screen shots for the set up. The classes as shown on wpi's doxygen page form the basic structure. Code will still go in autonomous and tele sections. We were told that you will be able to run a robot out-of-the-box with the default code. I asked! I am hoping that someone will start posting C++ sample code so that those of us that are not using labview will see what to expect |
|
#5
|
||||
|
||||
|
Re: cRIO: Traditional or LabVIEW?
If you go to the Wind River site you can download a trial version here.
This is a special version of Eclipse with all the necessary goodies. I don't think you'll need MinGW. I installed this version and it was completely painless. I'm very excited about getting started with Wind River. To be fair, I also downloaded LabVIEW. I'm not sure if I like the idea of programming this way, I'm a little "old-school" you might say. Never-the-less I hope to get a good understanding of it before we get too involved this year. I plan to give our team the opportunity to try both environments. |
|
#6
|
||||
|
||||
|
Re: cRIO: Traditional or LabVIEW?
One of the purposes of the beta teams was to help develop default code that all teams could use to at least have a functional robot. We are working hard t o make that happen. We have been able to make everything on last years bot run with Labview.
|
|
#7
|
||||
|
||||
|
Re: cRIO: Traditional or LabVIEW?
Dave,
Thanks. Not being in the loop as a non-beta team has got the rest of us all ancy waiting to get our hands on the control system (late November I guess). -Glenn |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Future use of cRIO? | SL8 | Technical Discussion | 47 | 30-04-2008 13:18 |
| Students build SEGWAY in 3 months using Labview and the cRIO | neutrino15 | Programming | 31 | 27-04-2008 22:08 |
| [FF]: Traditional BAE Granite State Regional | Ian Curtis | Fantasy FIRST | 51 | 27-02-2008 12:21 |
| Non-traditional prepping for the regional..... | archiver | 2001 | 25 | 24-06-2002 01:32 |