View Single Post
  #5   Spotlight this post!  
Unread 20-02-2012, 21:52
rbmj rbmj is offline
Registered User
FRC #0612 (Chantilly Robotics)
Team Role: Alumni
 
Join Date: Apr 2011
Rookie Year: 2011
Location: DC Area/Fairfax County
Posts: 192
rbmj is a jewel in the roughrbmj is a jewel in the roughrbmj is a jewel in the rough
Re: Newbie Alert. Our robot is competing, and I can't program it.

Quote:
Originally Posted by mikets View Post
Start with a sample program that's provided with WindRiver (assuming you have installed the workbench update for FIRST). I don't have WindRiver in front of me, so I am reciting from memory. Do File->New->Example Program then something about kernel module example, FIRST or something like that. There are many sample programs. You may want to try the "SimpleRobot" template. It should contain basic teleop code. I think it might even has a couple lines in autonomous driving the robot forward for 2 seconds or something like that.
I would also recommend starting at a template. However, I would start with the IterativeRobot template, as I've seen teams who used the simple robot template and got their autonomous code stuck in a loop, which prevented their teleop code from running.

What kind of end effectors do you need to control? Considering ship is tomorrow, if you want to get anything beyond the basic drivetrain working, you'll need to test it. If you explain, I can give you some examples to help.

Also, if you have an extra cRIO, you can test your vision processing between ship and your first competition. Not so with anything mechanical on the robot. Just saying, make sure you're smart about what you prioritize.

Finally, if you need a reference of WPILib, I have one posted here: http://rbmj.github.com/612-code/doc/html/classes.html

Last edited by rbmj : 20-02-2012 at 21:55.
Reply With Quote