Intro to FRC Programming - Romi
  • INTRODUCTION
    • Overview
    • Important Links
  • 💽Setup
    • Setting up the Romi's Software
    • Downloading Essential Tools
    • APCS vs FRC
  • How To Code in VSC
    • VSC- Intro
    • A Tour Through VSC
    • Creating a Regular Java Project
  • Intro to Java
    • What is Java?
    • Beginning Steps
    • 🟩Fundimentals of Java
      • Variables
      • Operations
      • Methods
      • Comments
      • If Statements and Conditions
      • Boolean Zen
      • Loops
      • Challenge- Create a Box House
    • 🟨Advanced Concepts
      • Objects
      • Scanners
      • Null Objects
      • Arrays
      • Errors
      • For-Each Loops
    • 🟥Object Oriented Programming
      • Basics of OOP
      • Instance Classes
      • Static Classes
  • 🕑Romi Curriculum- Timed Base
    • Romi Curriculum- Introduction
    • Creating a WPILIB Project
    • Running Your Code
    • The Robot Class
    • Subsystems
      • RomiDrivetrain
    • Cool stuff i will rename this category later
      • Spark Motors
      • PIDs
      • External Controllers
      • Encoders
  • 🖥️Romi Curriculum- Command Based
    • Command Based Code
    • RobotContainer
    • Commands
    • CommandScheduler
  • UNRELATED IMPORTANT CODING KNOWLEDGE
    • Constants
  • SAMPLE CODE
    • Tank Drive Example
      • RobotContainer
      • TankDriveSubsystem
      • MoveRobotCommand
    • Worktop Systems Sample Java Code
      • Belt Elevator Sample Code
      • Rotating Arm Sample Code
Powered by GitBook
On this page
  • What is Timed Based Code?
  • Pros
  • Cons
  • Outline
  1. Romi Curriculum- Timed Base

Romi Curriculum- Introduction

Welcome to the Romi Curriculum (Timed-base) for real! Starting here, you'll start coding the robot!

You might be confused about what I mean by Timed-based. Timed-based programming is designing your robot's code to run depending on

What is Timed Based Code?

Timed-based code is a strategy many FIRST Robotics teams use for their robots' code. It relies on The Robot Class's methods, that run at specific intervals of a match, to control the robot.

Pros

  • Simpler than Command-based programming.

  • Easier to learn

Cons

  • Isn't as modular as Command-based

  • Almost impossible to use on complex robots (The Robot Class will end up having thousands of lines of code, which will be awful to modify)

Outline

PreviousStatic ClassesNextCreating a WPILIB Project

Last updated 1 month ago

🕑