001/************************* PROJECT RON *************************/ 002/* Copyright (c) 2026 StuyPulse Robotics. All rights reserved. */ 003/* Use of this source code is governed by an MIT-style license */ 004/* that can be found in the repository LICENSE file. */ 005/***************************************************************/ 006package com.stuypulse.robot.constants; 007 008/** This file contains the different ports of motors, solenoids and sensors */ 009public interface Ports { 010 011 public interface Gamepad { 012 013 int DRIVER = 0; 014 015 int OPERATOR = 1; 016 017 int DEBUGGER = 2; 018 } 019 020 public interface LED { 021 022 // TODO: Get actual port 023 int LED_PWM_PORT = 0; 024 } 025 026 // public interface LED { 027 // int PORT = 2; 028 // } 029 public interface Shooter { 030 031 int SHOOTER_MOTOR_LEFT = 30; 032 033 // TODO: get after champs 034 int SHOOTER_MOTOR_CENTER = 54; 035 036 int SHOOTER_MOTOR_RIGHT = 47; 037 } 038 039 public interface Handoff { 040 041 int HANDOFF_MOTOR = 50; 042 } 043 044 // TODO: Get ports from mech 045 public interface Feeder { 046 047 int FEEDER_MOTOR = 15; 048 } 049 050 public interface Intake { 051 052 int PIVOT_LIMIT_SWITCH = 0; 053 054 int INTAKE_ROLLER_MOTOR_LEFT = 22; 055 056 int INTAKE_ROLLER_MOTOR_RIGHT = 17; 057 058 int INTAKE_PIVOT_MOTOR = 10; 059 } 060}