Go to Post I would be thankful to just participate in champs, I would be happy with just that. - Brandon_L [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi