FIRST Robotics Competition Documents

Showing results for 
Search instead for 
Did you mean: 

[FRC 2015] Robot Framework Tutorial

by Member Kevin_F on ‎01-03-2013 08:11 PM

In this tutorial you will walk through the functionality contained in the framework supplied with LabVIEW FRC.

A programming framework is piece of default code that provides the overall structure, or architecture, of your program. It defines interaction between different code sections, and provides designated places

to insert specific functionality. The frameworks are supplied as a starting point; they let you focus on actual functionality in the limited time available to you, rather than program architecture.

FRC Robot Framework Tutorial

Contents:

  • Introduction
  • Creating an FRC Robot Project
  • The FRC Robot Project
  • Robot Main VI
  • Adding an Accelerometer to the Periodic Tasks VI
  • Using the Robot Global Data Variable
  • Conclusion
Comments
Member rdtech
Member

I don't know why you would have to set the center value and gain value of the accelerometer every iteration of the periodic task loop. These values are the same as when the accelerometer was initialized.

Member Ash5851
Member

Someone should make a 2016 LabVIEW FIRST robotics programming guide. It would be very useful with the new RoboRio compared to the previous documents concerning the cRio. Thanks.

Member BoKnows
Member

The 2015 version uses the roboRIO.  Was there something in there, specifically, that could have been explained better to help out?

Member Ash5851
Member

Yeah, so what does the bottom section of the code do? In the while loops

Member BoKnows
Member

Which page do you mean?  There's quite a few while loops in the document.