From 29614ca17baf229faf27771d522cb3caad0e35f0 Mon Sep 17 00:00:00 2001 From: Paul Hodges Date: Mon, 12 Feb 2024 17:02:47 +0800 Subject: [PATCH] begin merge --- src/main/include/RobotMap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/include/RobotMap.h b/src/main/include/RobotMap.h index 0cadce34..f89f001f 100644 --- a/src/main/include/RobotMap.h +++ b/src/main/include/RobotMap.h @@ -31,7 +31,7 @@ struct RobotMap { Controllers controllers; struct IntakeSystem { - rev::CANSparkMax intakeMotor{2, rev::CANSparkMax::MotorType::kBrushed}; + rev::CANSparkMax intakeMotor{15, rev::CANSparkMax::MotorType::kBrushed}; // wom::CANSparkMaxEncoder intakeEncoder{&intakeMotor, 0.1_m}; frc::DigitalInput intakeSensor{4}; // frc::DigitalInput magSensor{0}; @@ -44,7 +44,7 @@ struct RobotMap { IntakeSystem intakeSystem; struct Shooter { - rev::CANSparkMax shooterMotor{11, rev::CANSparkMax::MotorType::kBrushless}; // Port 11 + rev::CANSparkMax shooterMotor{1, rev::CANSparkMax::MotorType::kBrushless}; // Port 11 // frc::DigitalInput shooterSensor{2}; // wom::VoltageController shooterMotorGroup = @@ -169,8 +169,8 @@ struct RobotMap { SwerveTable swerveTable; struct AlphaArmSystem { - rev::CANSparkMax alphaArmMotor{12, rev::CANSparkMax::MotorType::kBrushless}; - rev::CANSparkMax wristMotor{15, rev::CANSparkMax::MotorType::kBrushless}; + rev::CANSparkMax alphaArmMotor{6, rev::CANSparkMax::MotorType::kBrushless}; + rev::CANSparkMax wristMotor{11, rev::CANSparkMax::MotorType::kBrushless}; wom::Gearbox alphaArmGearbox{&alphaArmMotor, nullptr, frc::DCMotor::NEO(1)}; wom::Gearbox wristGearbox{&wristMotor, nullptr, frc::DCMotor::NEO(1)};