Quote:
Originally Posted by kyungjin
Thanks for the reply. The link you mentioned was exactly what I was looking for.
I'm kinda browsing around the site looking at some of the code though... and a lot of the things here is really confusing. I mean, I have a good foundation knowledge in C/C++ (although I'll admit, OOP is not my forte... yet) but I guess there's a lot of robot specific words that I don't understand (i.e. PWM, Victor, Jaguar, Watchdog, etc.). I guess this is cause this is my first (and last) year doing FIRST robotics.
I know I didn't mention this last time... But could you also link up or post some example code entailing some of the more commonly used functions, objects, etc. A few examples, and hopefully I'll be able to understand it a lot better^^.
|
A few things to help...
PWM - Pulse width modulation, generic term for Victor/Jaguar/Servo
Victor - IFI Victor 883/884 Speed Controller(what we're used to having)
Jaguar - Luminary Micro Speed Controller(new for this year)
Watchdog - Essentially a timer that keeps track of your code, and will put your robot into a "safety" (read: disabled) mode if it determines your program has crashed by not resetting the watchdog timer before it ran out.
As far as code goes, I am not affiliated with a team this year, so I don't have access to the WindRiver tools, but it's my understanding that there are a couple examples of basic robot code included with the install. That should be enough to get you started.