|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Code Base
Where am I supposed to start entering everything in for actual coding? The guide mentions classes like the SimpleRobot and IterativeRobot classes, but where are you supposed to put those? Are they build into the WPI libraries already? Scrolling through the library I didn't sort of main function or any base file to start entering code into.
Am I thinking about this the wrong way or do I have to enter in another class file and what not? My reasoning behind this thinking is the code in previous years had the files like user_routines.c where you put all of your teleop code. The guide showed the SimpleRobot class had the init, Autonomous, and the teleop all compiled into one, but I'm just at a loss on where to put/get that file. (Sorry for being so run around, I'm bad at wording what I actually mean) |
|
#2
|
||||
|
||||
|
Re: Code Base
Do you have windriver installed?
Go to file -> new -> example then pick VxWorks Downloadable Kernel Module Example Project then choose an example that starts with FRC (try the simple robot demo) |
|
#3
|
||||
|
||||
|
Re: Code Base
Bah OK there it is, thanks.
|
|
#4
|
||||
|
||||
|
Re: Code Base
OK to avoid creating another thread, and its similar in nature anyway:
How the fork do I set up the connections to download code to the robot? The guide is VERY VERY vague in this, as it just says 1. Download 2. Reboot [facepalm] Do I have to set up cables through the drivers sation then to the cRIO? Or can I just go straight from the laptop to the cRIO? And I assume the IP on the laptop has to be the 10.xx.yy.6 IP in order to download? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2009 base C/C++ code? | Maxpower57 | Programming | 15 | 24-10-2008 21:02 |
| Circle base vs. Rectangle base | Pelicano234 | Technical Discussion | 13 | 15-01-2008 16:49 |
| Looking for Base Code | Eric W. Jones | Programming | 2 | 30-10-2006 18:54 |
| Knowledge Base | Leon Machado IV | Programming | 15 | 02-08-2005 12:24 |