2024-01-18 19:26:28 -05:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
|
|
|
|
package frc.robot;
|
|
|
|
|
|
|
|
/** Add your docs here. */
|
|
|
|
public class Constants {
|
2024-01-22 19:33:18 -05:00
|
|
|
// Lanceur
|
|
|
|
public static int lanceur = 10;
|
|
|
|
public static int lancer2 = 13;
|
|
|
|
public static int lancer3 = 14;
|
|
|
|
public static int lancer4 = 15;
|
|
|
|
// Ballayeuse
|
|
|
|
public static int roue = 16;
|
|
|
|
public static int etoile = 19;
|
|
|
|
|
|
|
|
// Accumulateur
|
|
|
|
public static int Moteuracc2 = 20;
|
|
|
|
public static int Moteuracc = 21;
|
|
|
|
|
|
|
|
// Guideur
|
|
|
|
public static int guideur = 22;
|
|
|
|
|
2024-01-22 19:45:10 -05:00
|
|
|
//grimpeur
|
|
|
|
public static int grimpeurd = 26;
|
|
|
|
public static int grimpeurg = 27;
|
|
|
|
|
2024-01-22 19:33:18 -05:00
|
|
|
// Swerve
|
|
|
|
public static int AvantDroitDrive = 17;
|
|
|
|
public static int AvantDroitAngle = 18;
|
|
|
|
public static int AvantGaucheDrive = 2;
|
|
|
|
public static int AvantGaucheAngle = 3;
|
|
|
|
public static int ArriereDroitDrive = 11;
|
|
|
|
public static int ArriereDroitAngle = 12;
|
|
|
|
public static int ArriereGaucheDrive = 8;
|
|
|
|
public static int ArriereGaucheAngle = 9;
|
|
|
|
|
|
|
|
// CanCoder
|
|
|
|
public static int AvantDroit = 5;
|
|
|
|
public static int AvantGauche = 4;
|
|
|
|
public static int ArriereDroit = 6;
|
|
|
|
public static int ArriereGauche = 7;
|
|
|
|
|
2024-01-24 18:28:35 -05:00
|
|
|
// Limit switch
|
2024-02-01 19:44:44 -05:00
|
|
|
public static int guideurhaut = 0;
|
|
|
|
public static int guideurbas = 1;
|
2024-02-07 19:38:43 -05:00
|
|
|
public static int photocellacc = 2;
|
2024-02-01 19:44:44 -05:00
|
|
|
public static int limithaut = 4;
|
|
|
|
public static int limitbas = 5;
|
2024-01-24 18:28:35 -05:00
|
|
|
|
|
|
|
//piston
|
2024-02-01 19:44:44 -05:00
|
|
|
public static int pistondroiteouvre= 0;
|
|
|
|
public static int pistondroiteferme= 1;
|
|
|
|
public static int pistondgaucheouvre= 2;
|
|
|
|
public static int pistondgauchferme= 3;
|
2024-01-18 19:26:28 -05:00
|
|
|
}
|