Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   What language do you use? (http://www.chiefdelphi.com/forums/showthread.php?t=50144)

Beth Sweet 29-11-2006 10:23

Re: What language do you use?
 
English and Spanish ;)

Seriously, we have found that the Easy C is fantastic. We were a team without a programming mentor last year and one of our students was able to take this software, play and troubleshoot it a little bit and came up with great code and multiple autonomous modes. The Easy C is a great resource for teams who may be a bit short on the programming knowledge

Eric W. Jones 29-11-2006 10:31

Re: What language do you use?
 
I really only ever code in C for FIRST, since it's what MPLAB supports and is what the default code is in. EasyC is also supported, but I've never used it. I suppose it's easy to use...

JamesBrown 29-11-2006 13:23

Re: What language do you use?
 
C for FIRST (obviously)
C++ for class and for my self.
Java for a non-first robot I am working on and any thing I need to use PostGRESQL with.
Basic for absolutly nothing, other than the first 4 weeks of programming class last year.

Jimmy Cao 29-11-2006 22:01

Re: What language do you use?
 
I'll just offer my 2 cents about easy C. I do not mean to bash it, because I understand that many teams use it, and it is a great tool.

If it is possible to avoid using it, i recommend that you do. It is difficult to program some of the more complicated functions in it. In the end, it would most likely take me more time to program the whole robot in Easy-C than it would for me to program it in C.

C is a very powerful language, and it can be manipulated such that you can do almost anything and everything with it.

However, if no one on your team already knows C, and none of them are motivated to learn C (which is rather boring, because C/C++ are heavily syntax based), using Easy-C to program your robot would be a lifesaver.

Just my 2 cents.

Stuart 29-11-2006 22:19

Re: What language do you use?
 
My only big problem with easyC. is that once you get to a point where you know what your doing and you know how to program your robot and you wanna do some more complicated things in pure C, you have to start all over with every thing youve build. there is no "export to C" option in easyC. in other words if you start in easyC your stuck with it.

Astronouth7303 29-11-2006 22:59

Re: What language do you use?
 
Python, when I have a choice.

JamesBrown 29-11-2006 23:04

Re: What language do you use?
 
Quote:

Originally Posted by Lostmage333

If it is possible to avoid using it, i recommend that you do. It is difficult to program some of the more complicated functions in it.

This is completely untrue, complicated functions are much much easier to do in easy c, basically all easy c does is turn pseudo code into code for you. The only things in easy c that are more complicated then in C are extremely basic things (like declaring/initializing a variable) I have done all of my programming in C the last 2 years and have absolutely no trouble doing it. However this year I will be doing most of my programming in easy C just because it will save me time.

James

Kingofl337 01-12-2006 07:44

Re: What language do you use?
 
We are working on addressing all the features more advanced programmers
are asking for. If your torn between "C" and easyC you'll love this.

easyCPRO is coming.... :D

ThienAn 01-12-2006 17:52

Re: What language do you use?
 
seems like everyone uses C for their robotics lol. (This is same person from original post, I was just using another person's account because I hadn't activated mine yet - darn school WebSense) What I want to know is there any way to use Java? because I'm taking/have taken a class on Java, whereas I know nothing about C or anything else except a little HTML. :confused: What would you guys recommend? Plus, I heard from my teacher/mentor that there was something else people use? EasyC/C and...RoboC or something like that (he didn't know himself, told me to find out :D)

JamesBrown 01-12-2006 18:00

Re: What language do you use?
 
You have to use C for the IFI controller, c is very similar to JAVA though, you shouldn't have much trouble moving between the two.

James

Chief Samwize 01-12-2006 20:30

Re: What language do you use?
 
I'm new at the programming thing but Easy C for FRC is awesome. It makes everything so less complicated for beginners like me. :D

Jake M 01-12-2006 23:31

Re: What language do you use?
 
If you've got the time needed, which isn't much, learn C. It's quite easy to learn, especially considering how much tutorial material is out there, even outside of FIRST, and it's definately the most powerful for FRC programming. Assembly is definately usable, but it'd be overkill unless you wanted to write your own versions of the FRC libraries, or the Process_Data_From_Master_uP() function, or something to that effect.

As for converting from Java to C, I've never heard of anything, and I don't see why anyone would take the time to make it. ThienAn, considering how much time we have before the build, just over a month, I'd go buy a book on C, or go find a handful of C tutorials to read on the internet (CProgramming.com is good). Even more helpful would be to take a look at last year's default, and even test it out on an old RC, with Dashboard, if you have one available. Of course, I don't know if there are any other projects you're working on before the season starts.

ThienAn 04-12-2006 21:57

Re: What language do you use?
 
Quote:

Originally Posted by Jake M
ThienAn, considering how much time we have before the build, just over a month, I'd go buy a book on C, or go find a handful of C tutorials to read on the internet (CProgramming.com is good). Even more helpful would be to take a look at last year's default, and even test it out on an old RC, with Dashboard, if you have one available. Of course, I don't know if there are any other projects you're working on before the season starts.

Thanks for the advice =). I asked one of my mentors, he said he'll get me a book (one of his) sometime, and it seems like a lot of C is similar to Java, so I think I'll do well in that regard. In regard to the robot, we have a Vexx robot or something they made last year, or hes giving me some robot to "play with" over Christmas break.

3DWolf 05-12-2006 16:03

Re: What language do you use?
 
I'm just getting starting into C for FRC, and I know a few others such as:
Lua - A game generic language, I mainly code it for Garrys Mod
C++ - Know very little, couldn't code it for my life :(
Visual Basic - For school only, I would really rather NOT know this :(
Dark Basic - Another school language. It's a pretty cool program, Dark Basic. It's a 3D game creator with about Nintendo 64 rank graphics. :ahh:

Then there are the standard ones that most people know:
HTML
Javascript
Flash Action script

Eldarion 05-12-2006 20:48

Re: What language do you use?
 
C for embedded systems
Verilog for FPGA development
PHP for Web
Java for...well, nothing! :)


All times are GMT -5. The time now is 19:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi