Quote:
Originally Posted by mikets
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