|
Re: NEW PROGRAMMER!!!!! NEED HELP!!!!
heres what i did (i just learned how to program a few weeks ago): i learned VB in school , and that really helped me to understand programming concepts. i brought a book home aver the easter weekend on how to program in C++, which is more complex than C. i then looked through the default code supplied by IFI. our school had an OI and RC from 2 years ago, so i took it home to program, plug a joystick into, and just to see what "made it tick". in C++ to display text, you do "cout<<", but in C you use"printf()". the RC can give you robot feedback if you plug it into your computer and use the IFI loader. because i didnt have any robot hardware, i just would change the default code (what i could inderstand) and used printf's to display what would be happening if vidtors were plugged in. this helped me a lot. after 2 days fo this, i had the overall gist of robot programming. for the next 2 days i referenced our robot code from this year as well as the default code, and i wrote my own robot code and tested it out the next tuesday. of course it didn't work, but our team programmer is teaching me to program, so now i programmed our entire robot the way it was in the competition, except for the steering which i copied, but now i understand how it works.
|