View Single Post
  #4   Spotlight this post!  
Unread 22-12-2008, 15:00
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Re: WindRiver C++ Specific Keywords

Quote:
Originally Posted by kyungjin View Post
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.
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
Reply With Quote