FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

C/C++ Tutorials

Hey guys, I was just wondering if and when you plan on releasing C and C++ tutorials for the CompactRIO. Thanks.

0 Kudos
Message 1 of 10
(16,424 Views)

Sputnikk,

National Instruments is not planning on creating tutorials for CompactRIO for C and C+. We are planning on creating training material for LabVIEW and CompactRIO for FIRST. WPI is developing the C and C+ libraries for CompactRIO, and any training material will be produced by them.

Mark
NI App Software R&D
0 Kudos
Message 2 of 10
(4,436 Views)

Ah, ok, that's what I thought. Thank you very much.

0 Kudos
Message 3 of 10
(4,436 Views)

There will be C/C++ tutorials and sample programs (including templates) that will be part of WindRiver WorkBench. As an example, you might see one sample program template that is based on the previous years controller model where there is a main loop, and you can check for the current robot state, i.e. autonomous, operator control, disabled, etc. There is another sample program template that implements the easyC/WPILib style program where you create a robot object and fill in Autonomous and OperatorControl methods that are called at the appropriate time. We also anticipate provide code "snipets" that show the use of all the kit sensors built into WPILib.

Let us know if there are more sample program types and specific examples that would help you be successful getting up to speed and using the control system and we can try to provide those.

0 Kudos
Message 4 of 10
(4,436 Views)

How will we know where to find the WindRiver WorkBench location of these tutorials and other helpful aids?

0 Kudos
Message 5 of 10
(4,436 Views)

Good question, I guess I never mentioned that.

Look out here and in email blasts to your team contacts as new technical content is released.

I'm not sure if this is what you were aksing, but once you have WorkBench you can find new sample programs on the File / New menu. There will be a bunch of FRC samples there and possibly in other places.

By the way, this project will be completely open source, that means you will have access to the complete source code of the WPILib code so you can see how everything works under the covers.

Brad

0 Kudos
Message 6 of 10
(4,436 Views)

Brad,

Are there sample programs for WorkBench around at this time, or you were just telling him how to open the samples once they are available?

P.S

What are the available resources for WorkBench and other Windriver stuff that we can use fror now, except for the tutorials that come with the aplication?

I'm currently using the Evaluation version of WorkBench 3.0 with the debugging chip etc. that's on the evalution site of WindRiver.

Nir.

0 Kudos
Message 7 of 10
(4,436 Views)

Sample programs for the gyros and quadrature encoders would be very helpful, and camera too.

FRC mentor

0 Kudos
Message 8 of 10
(4,436 Views)

We haven't published sampe programs yet, but they are coming. And through the beta program, all teams will be publishing the work that they do. In addition there will be documentation of the library generated by doxygen, that extracts comments and structure from the source code.

You can use WorkBench now to get familiar with the development process, but without the libraries, there is no way of seeing how to write robot code.

I just want to assure you, we are working as fast and as hard as we can to make this stuff available, but don't want to release the docs to teams until it is more stable and closer to the final product. We all recognize that it's in our best interest to get the stuff to you as early as possible and won't do anything to keep that from happening.

Brad

0 Kudos
Message 9 of 10
(4,436 Views)

Hello,

I have been searching all over for information on how to obtain Windriver workbench to get things started. I understand one can get an eval directly from their website, but my understanding is that there will be additional software needed. Is this not yet available.

Also, will there be a subcommunity for LabView and another one for WindRiver development for the exchange of tips, best practices, etc..?

Thanks

Miguel

FRC Mentor

0 Kudos
Message 10 of 10
(4,436 Views)