|
Re: Programming in Python and Explaination of Programming
The FRC controllers are written in straight ANSI C. It is not C++. We don't do objects.
Inside the controller is a ton of code that has the framework where you hang your custom code for autonomous and a routine that you modify to do your normal hands on control. A lot of the work is setup for you already in terms of conditioning I/O points and setting up interrupt handlers, etc.
Considering that IFI has done 90% of the code for you it is impractical and unnecessary to consider another language.
This competition reflects real life. Just like a real life project the language may have been chosen before you arrived for any of a million reasons.
Besides, professional programmers are adept at:
a - picking the right tool for the job
or
b - using the tools that have been chosen when not given the choice.
BTW - If you used a coprocessor like the gumstick you could eventually get to the point of building support for python but that project isn't for a newbie programmer. You only have 6 weeks to finish this whole robot project.
Good Luck !!
__________________
Ed Barker
Last edited by ebarker : 31-12-2007 at 08:40.
Reason: btw - gumstick
|