Paul's Tutorials - logo4Routines



Up until this point, you have programmed the robot entirely in the TeleopPeriodic() function. As was discussed in lesson 1-2, this is not the only function, or routine, that is available to us. In this chapter, you will learn what a routine is, and how to effectively use routines in the robot code.

With reference to the library, programming in all of the new functions that will be presented throughout this chapter is the same as it would be in TeleopPeriodic(). However, there are restrictions on what can be done in the various routines, so you should be aware of what you are programming the robot to do and you are not telling it to break any of the restrictions.

Lesson Index

  1. Initialization Routines
  2. Disabled Routines
  3. Autonomous Routines

← 3-4 PID Part 3: Advanced PID Programming Chapter 4: Routines 4-1 Initialization Routines →