Merge branch 'main' of https://demerso.net/pls5618/2023/robot
This commit is contained in:
commit
2d8981a953
@ -18,8 +18,15 @@ import edu.wpi.first.wpilibj2.command.InstantCommand;
|
|||||||
import edu.wpi.first.wpilibj2.command.RunCommand;
|
import edu.wpi.first.wpilibj2.command.RunCommand;
|
||||||
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
|
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
|
||||||
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
|
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
|
||||||
|
|
||||||
|
//subsystems
|
||||||
|
import frc.robot.subsystems.BasePilotable;
|
||||||
|
import frc.robot.subsystems.Gratte;
|
||||||
|
import frc.robot.subsystems.bras.BrasTelescopique;
|
||||||
|
import frc.robot.subsystems.bras.Pince;
|
||||||
|
import frc.robot.subsystems.bras.Pivot;
|
||||||
|
import frc.robot.subsystems.Limelight;
|
||||||
import frc.robot.commands.Apriltag;
|
import frc.robot.commands.Apriltag;
|
||||||
import frc.robot.commands.Avancer;
|
|
||||||
// command
|
// command
|
||||||
import frc.robot.commands.BrakeFerme;
|
import frc.robot.commands.BrakeFerme;
|
||||||
import frc.robot.commands.BrakeOuvre;
|
import frc.robot.commands.BrakeOuvre;
|
||||||
@ -40,13 +47,6 @@ import frc.robot.commands.bras.PivotManuel;
|
|||||||
import frc.robot.commands.bras.PivoteBrasBas;
|
import frc.robot.commands.bras.PivoteBrasBas;
|
||||||
import frc.robot.commands.bras.PivoteBrasHaut;
|
import frc.robot.commands.bras.PivoteBrasHaut;
|
||||||
import frc.robot.commands.bras.PivoteBrasMilieux;
|
import frc.robot.commands.bras.PivoteBrasMilieux;
|
||||||
//subsystems
|
|
||||||
import frc.robot.subsystems.BasePilotable;
|
|
||||||
import frc.robot.subsystems.Gratte;
|
|
||||||
import frc.robot.subsystems.Limelight;
|
|
||||||
import frc.robot.subsystems.bras.BrasTelescopique;
|
|
||||||
import frc.robot.subsystems.bras.Pince;
|
|
||||||
import frc.robot.subsystems.bras.Pivot;
|
|
||||||
|
|
||||||
|
|
||||||
public class RobotContainer {
|
public class RobotContainer {
|
||||||
@ -104,8 +104,6 @@ public RobotContainer() {
|
|||||||
chooser.addOption(aumilieux, aumilieux);
|
chooser.addOption(aumilieux, aumilieux);
|
||||||
chooser.addOption(nulpart, nulpart);
|
chooser.addOption(nulpart, nulpart);
|
||||||
layoutauto.add("choix hauteur",chooser);
|
layoutauto.add("choix hauteur",chooser);
|
||||||
|
|
||||||
|
|
||||||
configureBindings();
|
configureBindings();
|
||||||
CameraServer.startAutomaticCapture();
|
CameraServer.startAutomaticCapture();
|
||||||
basePilotable.setDefaultCommand(new RunCommand(() -> {
|
basePilotable.setDefaultCommand(new RunCommand(() -> {
|
||||||
|
@ -7,9 +7,6 @@ package frc.robot.commands;
|
|||||||
|
|
||||||
import java.util.function.DoubleSupplier;
|
import java.util.function.DoubleSupplier;
|
||||||
|
|
||||||
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
|
|
||||||
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardLayout;
|
|
||||||
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
|
|
||||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||||
import frc.robot.subsystems.BasePilotable;
|
import frc.robot.subsystems.BasePilotable;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user