Skip to content

feat(elevator): create and tune elevator subsystem

Parker Brownlowe requested to merge feat/elevator/init-try-2 into main

yet again a bit too lazy to write a description so copilot did it for me


This pull request introduces significant changes to the robot's codebase, particularly focusing on the addition of an elevator subsystem. The changes include the configuration of motor controllers, the integration of new subsystems, and the implementation of commands for elevator control.

Elevator Subsystem Integration:

  • Added Elevator subsystem with methods for setting position, velocity, and handling SysId routines (src/main/java/frc/robot/subsystems/elevator/Elevator.java).
  • Introduced ElevatorIO interface to define methods for elevator input/output operations (src/main/java/frc/robot/subsystems/elevator/ElevatorIO.java).
  • Implemented ElevatorIOTalonFX class for TalonFX motor controller configuration and control (src/main/java/frc/robot/subsystems/elevator/ElevatorIOTalonFX.java).

Constants and Configuration:

  • Added ElevatorConstants object in Constants.kt to define motor CAN IDs, motor configurations, and elevator states (src/main/java/frc/robot/Constants.kt).

Robot Container Modifications:

Imports and Dependencies:

  • Added necessary imports for TalonFX and NeutralModeValue in Constants.kt (src/main/java/frc/robot/Constants.kt).

These changes collectively enhance the robot's functionality by adding a new elevator subsystem, configuring its motor controllers, and integrating it with the existing robot framework, including new commands and button bindings for user control.

Merge request reports

Loading