2023-01-07 13:36:56 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
|
|
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
package frc4388.robot;
|
|
|
|
|
|
|
|
|
|
import com.ctre.phoenix.motorcontrol.InvertType;
|
|
|
|
|
import com.ctre.phoenix.motorcontrol.NeutralMode;
|
|
|
|
|
import com.ctre.phoenix.motorcontrol.can.WPI_TalonFX;
|
|
|
|
|
import com.ctre.phoenix.sensors.PigeonIMU;
|
|
|
|
|
|
2023-01-07 14:23:01 -07:00
|
|
|
import edu.wpi.first.wpilibj.motorcontrol.Spark;
|
2023-01-07 13:36:56 -07:00
|
|
|
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
|
|
|
|
|
import frc4388.robot.Constants.LEDConstants;
|
|
|
|
|
import frc4388.utility.RobotGyro;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Defines and holds all I/O objects on the Roborio. This is useful for unit
|
|
|
|
|
* testing and modularization.
|
|
|
|
|
*/
|
|
|
|
|
public class RobotMap {
|
|
|
|
|
|
|
|
|
|
public RobotMap() {
|
|
|
|
|
configureLEDMotorControllers();
|
|
|
|
|
configureDriveMotorControllers();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* LED Subsystem */
|
|
|
|
|
public final Spark LEDController = new Spark(LEDConstants.LED_SPARK_ID);
|
|
|
|
|
|
|
|
|
|
void configureLEDMotorControllers() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void configureDriveMotorControllers() {
|
|
|
|
|
}
|
|
|
|
|
}
|