Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Learning RobotC (http://www.chiefdelphi.com/forums/showthread.php?t=108734)

adampaskowitz 26-09-2012 19:50

Learning RobotC
 
Other than the online video lessons from Carnegie Mellon, can anyone recommend resources for learning RobotC?

I really just want to find some books, but I'm not familiar enough with RobotC or with programming in general to make an informed decision.

Would a manual on C++ teach me what I need to know to program in RobotC?

Is RobotC just C++ with some extra robot-specific vocabulary built in?

Skinkworks 26-09-2012 21:16

Re: Learning RobotC
 
Quote:

Originally Posted by adampaskowitz (Post 1187489)
Other than the online video lessons from Carnegie Mellon, can anyone recommend resources for learning RobotC?

RobotC specifically can be learned by reading the documentation. Learning C, however, requires a good book or a teacher. "C Programming for the Absolute Beginner" is how I learned, but that was a while ago (~2005), and there's probably a better book than that somewhere.

For the NXT and FTC specific portions of RobotC (which I assume is why you're learning RobotC), the FTC Forum has plenty of questions-and-answers that should cover any weird problems you have (Disclaimer: I've answered about two-thirds of all the questions on there).

Quote:

Originally Posted by adampaskowitz (Post 1187489)
Would a manual on C++ teach me what I need to know to program in RobotC?

RobotC is straight C, not C++. There are some differences, notably, C lacks objects.

Quote:

Originally Posted by adampaskowitz (Post 1187489)
Is RobotC just C++ with some extra robot-specific vocabulary built in?

Again, RobotC is C. Given that, RobotC is just C with some extra robot-specific vocab.

adampaskowitz 30-09-2012 14:45

Re: Learning RobotC
 
Thanks, Skinkworks. That helps a lot. I knew there was a simple answer; I just had no idea what it was.

AsianRookie 12-10-2012 11:40

Re: Learning RobotC
 
I would recommend http://www.robotc.net/wiki/Main_Page

It has the API for all supported modules, basic programming, and programming tips, and more!

Fuzzball27 20-10-2012 15:56

Re: Learning RobotC
 
If you have questions about robot C the guy that created it is on the mindboards forum. I believe his user name is xander or something similar.

Xenozero 23-10-2012 20:48

Re: Learning RobotC
 
Hello, I am a basic frc alumni mentor and im trying to mentor an ftc team in my old school, I just wanted to find out the ftc specific code that the competition requires to run. All of the resources that are listed around the interwebs do not dictate the specific competition code nor any examples. If anyone has any samples of finished code with an autonomous and operator control period it would be very helpful.

connor.worley 23-10-2012 21:37

Re: Learning RobotC
 
Just an aside: RobotC is not a superset of standards-compliant C. It does lack some C features/behavior.

daniel_dsouza 23-10-2012 21:39

Re: Learning RobotC
 
In our experience with the Cortex, our team has found the built in examples to be very enlightening. Some inductive reasoning here and there can be just as effective as finding a great forum or a book!


All times are GMT -5. The time now is 00:44.

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