I am interested in getting the vex programming kit. Which one is the best for me. I know some c++ and have had experience programming a computer and robots. My skills span just short of tic tac toe on the computer or microcontroller. Do all programmers get the same actions out. With easy c will i still be able to do all the same things as in roboc?
Iâve used EasyC V2 and MPLAB, but have not yet tried ROBOTC. You will be up-and-running more quickly with EasyC, but youâll have a lot more flexibility with MPLAB.
Personally, I think youâll be better off with MPLAB or ROBOTC. EasyC is great for folks new to C, or new to programming in general, and/or folks who really need a visual representation of the flow of their program. Since you already have experience with C++, I assume you are comfortable with the notion of a program as a collection of text files that you edit and compile.
Functionally, MPLAB (and I assume ROBOTC) is a super-set of EasyC **]*. For instance, you can take pretty much any code you create in EasyC and port it to MPLAB, but the reverse isnât true. MPLAB lets you get at the raw resources of the PIC microprocessor (like interrupts, timers, serial, etc). This may not be important to you initially, but it will be eventually.
*] I understand EasyC Pro adds quite a few advanced features, but Iâve only used V2
The initial learning curve for MPLAB is a bit steeper. You start with the Starter Code project from here, and then make changes to insert your own code. At first, all the various files and functions are a bit mysterious and you have to figure out where to insert your code. This is fairly clearly commented, but you will have to look around a bit. After a few projects, youâll get more comfortable with it and start branching out. Eventually, youâll probably rework the Starter Code into a project template that fits your programming style.
From what Iâve seen of ROBOTC, I like it. Little things seem well thought-out: like using a signed number for motor speed, so that 0 means stopped, increasing positive numbers mean faster forward, and increasing negative numbers mean faster backwards.
Just my thoughts,
- Dean
EasyC is just a Drag and Drop IDE, with some support Libraries to make the EasyC Code that you work with âcleanâ. It still uses the same MCC18 C Compiler for the âback endâ to make the Download-able Code for the Vex (or FRC) Controller.
If you have questions with any Programming, EasyC or MPLAB just ask us.
I donât think most of us have ROBOTC, so that might be a little harder to get help with, but we can try our best.
Good Luck, and donât be afraid to ask for helpâŚ
This is why we use the MPLab compiler and the WPILibrary for our robots. Same as EasyC from a function standpoint. But, I think that doing it this way makes it clearer what is going on and allows students to leverage future activities. Yes, there are two more manual steps, but it does not add that much time to the overall process.
This is what I tell everyone who asks the question you just asked, regardless of how much experience they have in programming.
You can never go wrong with EasyC. Buy it. It is well worth the $99.99. That is because it is always a safe and easy way to quickly write some code for your robot. If you want to you can switch to MPLAB for free (just go here to my tutorial) It is totally legal by the way.
Also if you seem to be stuck on a project, going back and writing it with EasyC can sometimes make things easier.
As I have made tic-tac-toe and connect four in a terminal window, im putting you in a similar situation to me: use mplab.
HOWEVER, Iâd buy the easyc package, as it comes with all the hardware and easy c- mplab software is a free download, and can be linked to easycâs compiler.
This way, you get a two for one deal, as easyc isnât free software, and if you dislike mplab you can revert to easyc. If you just bouhgt mplab youâd have all the above w/o easyc.
I would recommend getting the easyC kit for three reasons:
[list=1]
*]It comes with the Intellekt (sp?) loader and the on-line binary files: very useful for testing new drivetrains!
*]You can use the copy of c18 that comes with easyC with mplab (mplab is just the editor/ide and is a free download from www.microchip.com.)
*]You get the easyC headers and object files, which allow you to write quick âeasyCâ code in mplab, which I found to be easier than use the GUI.
[/list]
I recently purchased a Vex Robot Kit, which included the RobotC development kit. After I received it I decided I wanted to try EasyC Pro since it allowed both Drag-n-Drop and Coding. (note: I am a Software Architect and use to teach C/C++, etc⌠at several universities). To make a long story short, I went back to RobotC. Its libraries are smaller, it supports tasks and other standard C features the others do not. The IDE has many of your typical featurse (e.g., format, intellisense (sort-of)). Over all its pretty decent.
If your writing straight fwd code and donât want to write everything by hand EasyC is nice. However, if you like the low-level capabiliites RobotC is your choice. I write a lot of AI code and thus far RobotC hasnât got in my way
-gary
mplab definetly lets you go farthest with your work, though may be hard without experience.
I still recommend buying easyc v2 from vex, as youâll get everything youâll need for mplab AND easyc, and if you do not like mplab, but like easyc iâd eventually upgrade to easyc pro.
Sup, I have used all 3 softwares and here is what I can tell.
EasyC - Easy. Fast. But limits what you can do.
RobotC - Simplified. Expands opportunities and lets you play around with robot.
MpLab - Recommended for the experienced user. One whoâs worked with robots and is willing to spend time with it.
I would prefer RobotC because itâs easy, and it employs the basics of programming without limiting what you can do.