View Single Post
  #1   Spotlight this post!  
Unread 04-02-2010, 22:41
DarKCroNo's Avatar
DarKCroNo DarKCroNo is offline
Registered User
FRC #2670
 
Join Date: Dec 2007
Location: Toronto
Posts: 37
DarKCroNo is an unknown quantity at this point
FIRST TIME USING C++, Need help!

Hello,
We are team 2670 and this is our first year running C++, We used labview last year, however I had graduated from highschool and now helping the team. The students left over decided to use C++ as they are quite versed in the language. However we really need help since they don't know anything with regards to programming the robot. Now we have been able to use the simple robot template.

However, the problem is the robot template only provides the basic function, autonomous/teleop structure. We have no clue how to program the dashboard, or anything like that. So really, what I'm asking is: What EXACTLY do we need as the basic setup for coding our robot? So we are able to have the MyRobot.ccp program, however the other examples are just a mess. The other examples have dashboard files etc. It's too confusing.
Anyway, so we would like to create a NEW empty project, and all we know is to create a MyRobot.ccp program. Do we need anything else, such as a "dashboard.ccp" file?

Another problem is that when we would like to use example programs, when we build the project, the .OUT file does not become produced, and that restricts us from downloading it onto the cRIO. I'm guessing that the example files are just templates and they would have to be coded into our MyRobot.ccp file. Is that right? or would we be able to test only the Example files and that we are having a problem with making the .OUT file?

Now the last problem, rather it's really the sole problem, is getting the camera to work. I've read other threads about dashboard not being updated and such. I am positive it HAS been updated. The problem is that we can't get it to show on the dashboard. Is the camera suppose to AUTOMATICALLY show up on the dashboard? or are we suppose to put in code to make it show up? This would then go back to the last two problems, how would we code the dashboard, and when we use the example file it just doesn't make the .OUT file so we can't put it on the cRIO.

Please help us out! we are VERY behind, we are still working on prototypes on the robot and help would be very much appreciated!