

If you are not participating in FRC, please refer to: Failed to Connect to the Target When Using a CompactRIO in LabVIEW

These variables will be the parts in the subsystem.When programming subsystems we use variables and methods to tell our subsystem what it has and what it is capable of or should do.The head subsystem has the parts: eyes, ears, and nose.Using a dog as an example: the legs, tail, and head are subsystems.The Drivetrain subsystem could contain motor controllers and encoders both physically and programmatically.

Subsystems of a robot can contain parts to control or read data from.If we have a ball intake system, we will both call it Intake or Collector. To avoid confusion between software and mechanical teams, subsystems should be called the same thing.For example every FRC robot has a Drivetrain subsystem which is what controls the robot’s driving both physically and programmatically.In robotics, subsystems are sections of the whole robot.A subsystem is a special template class made by FRC.There are other types of robots but we will use Command Based.In the code, a command based robot is made up of 3 packages ( folders) labeled robot, commands, and subsystems.

A command based robot is broken down into subsystem classes and command classes.Command Based Robots are much like Lego, with very basic pieces you can make something simple like a small house or complicated like an entire Lego city.For our programming tutorial we will be creating a Command based robot.FRC Development Environment Setup FRC Development Environment Setup.WPILib Programming Basics WPILib Programming Basics Table of contents.
