Description
Currently, the climber commands use hardcoded values for motor speed and direction. For example, in PullClimberCommand.kt, the motor speed is hardcoded as -0.5.
Similar to how other subsystems like Elevator and Coral have dedicated configuration values in Config.kt (e.g., ELEVATOR_MOVEMENT_SPEED, CORAL_INTAKE_SPEED), we should add configuration constants for the climber to improve maintainability.
Proposed Changes
Add the following constants to Config.kt:
CLIMBER_PULL_SPEED: For the speed when pulling in the climber
CLIMBER_EXTEND_SPEED: For the speed when extending the climber
This will make it easier to adjust climber behavior without modifying command code.
References
cc @Baconing
Description
Currently, the climber commands use hardcoded values for motor speed and direction. For example, in
PullClimberCommand.kt, the motor speed is hardcoded as-0.5.Similar to how other subsystems like Elevator and Coral have dedicated configuration values in
Config.kt(e.g.,ELEVATOR_MOVEMENT_SPEED,CORAL_INTAKE_SPEED), we should add configuration constants for the climber to improve maintainability.Proposed Changes
Add the following constants to
Config.kt:CLIMBER_PULL_SPEED: For the speed when pulling in the climberCLIMBER_EXTEND_SPEED: For the speed when extending the climberThis will make it easier to adjust climber behavior without modifying command code.
References
cc @Baconing