FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

2010 robot project

First of all, I was glad to see that this year's camera code was implemeted in a full robot project, as opposed to the single file example from last year. It should make it a lot easier for rookies to get started.

That being said, I couldn't find a plain project, one that doesn't have the 2010 specific code in it. I think it's important for there to be a bare-bones project availible at all times, for people who are programming for older robots (or newer robots).

Last year, it was possible to choose from the advanced framework or the basic framework. Perhaps a similar choice between a generic framework and a year specific framework would be possible.

Even better would be if the year specific code was kept in a library, instead of the project template. Right now, if a bug is found in one of the 2010 specific files and fixed in the next update, it wouldn't be reflected in the teams code unless they started over with a new project. That seems less then ideal.

I know there's a generic template somewhere, since that is what the beta teams demonstrated, please make it accessible.

0 Kudos
Message 1 of 5
(4,926 Views)

sciencewhiz wrote:

That being said, I couldn't find a plain project, one that doesn't have the 2010 specific code in it. I think it's important for there to be a bare-bones project availible at all times, for people who are programming for older robots (or newer robots).
...

Even better would be if the year specific code was kept in a library, instead of the project template. Right now, if a bug is found in one of the 2010 specific files and fixed in the next update, it wouldn't be reflected in the teams code unless they started over with a new project. That seems less then ideal.

I know there's a generic template somewhere, since that is what the beta teams demonstrated, please make it accessible.

The FRC code is kept in libraries (.lvlib) so there is no need to create a new project when an update is released.  Those libraries are stored inside the National Instruments directory, not in your project-specific folder.

There is always a barebones project available, just go to File -> New Project.  It will take some time to add the cRIO as a target and fill in all the hardware, but it can be done.

0 Kudos
Message 2 of 5
(2,974 Views)

nathand wrote:

The FRC code is kept in libraries (.lvlib) so there is no need to create a new project when an update is released.  Those libraries are stored inside the National Instruments directory, not in your project-specific folder.

There is always a barebones project available, just go to File -> New Project.  It will take some time to add the cRIO as a target and fill in all the hardware, but it can be done.

I mean the 2010 specific camera tracking code that is in the robot framework. Last year's advanced framework consisted of robot main and about 10 VIs in the Team code folder and a few typedefs. This year's framework consists of an additional 7 VIs dedicated to finding the 2010 vision target and rotating the robot towards it, as well as significant support code in teleop and autonomous independent. For someone who doesn't want to track the target, there is a lot of stuff to delete.

What I'm asking for is a framework with minimal additional code, like was delivered last year, for teams that are not trying to track the target. New->Project is a little too blank.

I realize that the non-year specific code is in libraries, but all the 2010 target tracking and following code is not in libraries.

0 Kudos
Message 3 of 5
(2,974 Views)

Hello Sciencewhiz,

Thank you for bringing these thoughts to our attention.  We definitely agree with you that there should be a non-Game Specific Framework available to teams.  I have a copy of the project that I am currently testing out on a robot just to make sure there are no issues with it.  I hope to post the project on this community tomorrow once I have finished testing it.

Please let me know if you have any further questions on this and I will be very happy to assist you.  Have a great day!

Thanks!

Bob

NI FIRST Support

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(2,974 Views)

Hello Sciencewhiz,

I have posted the [FRC 2010] Plain FRC cRIO Robot Project and the [FRC 2010] Plain FRC Dashboard Project.  These should be similar to what was in the Beta and does not contain any of the game specific material.

Please let me know if you have any further questions on this or if there is anything else I can do for you.  I hope this helps!  Have a great day!

Thanks!

Bob H

NI FIRST Support

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(2,974 Views)