From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Robotics Competition Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

[FRC 2015] Robot Framework Tutorial

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
Kevin Fort
Principal Software Engineer
NI
Comments
rdtech
Member
Member
on

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.

Ash5851
Member
Member
on

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.

BoKnows
Active Participant
Active Participant
on

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

Ash5851
Member
Member
on

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

BoKnows
Active Participant
Active Participant
on

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

Contributors