Making FRC Programming Easy

int or double) and classes.Examples
Talon, Solenoid, Encoder...//This method closes the dog eyes
public void closeEyes(){
leftEye.close();
rightEye.close();//This method sets the speed of the drivetrain
public void setSpeed(double speed){
leftMotor.set(speed);
rightMotor.set(speed);
}Tip
Subsystems define what the robot is made of and what it can do while commands actually tell the robot to do those things//This command will continuously run the two methods in execute
protected void execute() {
dog.head.closeEyes();
dog.head.openEyes();
}//This command tells the robot to drive forward full speed
protected void initialize(){
robot.drivetrain.setSpeed(1.0);
}void initialize() - Methods in here are called just before this Command runs the first time.void execute() - Methods in here are called repeatedly when this Command is scheduled to runboolean isFinished() - When this returns true, the Command stops running execute() void end() - Methods in here are called once after isFinished returns truevoid interrupted() - Methods in here are called when another command which requires one or more of the same subsystems is scheduled to runTip
It is good practice to callend() in interrupted()Example
Robot.java loads RobotContainer.java, RobotContainer.java loads DriveForward.java.RobotContainer.nameOfSubsystem.desiredMethod();RobotMap.NameOfMotor()