mb
This commit is contained in:
		| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
| package frc.robot; | package frc.robot; | ||||||
|  |  | ||||||
| import edu.wpi.first.apriltag.AprilTag; |  | ||||||
| import edu.wpi.first.wpilibj2.command.Command; | import edu.wpi.first.wpilibj2.command.Command; | ||||||
| import edu.wpi.first.wpilibj2.command.Commands; | import edu.wpi.first.wpilibj2.command.Commands; | ||||||
| import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; | import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; | ||||||
| @@ -35,6 +35,7 @@ import frc.robot.commands.bras.PivotBrasRentre; | |||||||
| 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; | ||||||
|  | import frc.robot.commands.Apriltag; | ||||||
|  |  | ||||||
| public class RobotContainer { | public class RobotContainer { | ||||||
| CommandXboxController manette1 = new CommandXboxController(0); | CommandXboxController manette1 = new CommandXboxController(0); | ||||||
| @@ -60,7 +61,7 @@ PivoteBrasMilieux pivoteBrasMilieux = new PivoteBrasMilieux(brasTelescopique, pi | |||||||
| PivoteBrasHaut pivoteBrasHaut = new PivoteBrasHaut(brasTelescopique, pivot); | PivoteBrasHaut pivoteBrasHaut = new PivoteBrasHaut(brasTelescopique, pivot); | ||||||
| Cone cone = new Cone(limelight, basePilotable, ()->-manette1.getLeftY()); | Cone cone = new Cone(limelight, basePilotable, ()->-manette1.getLeftY()); | ||||||
| Cube cube = new Cube(limelight, basePilotable, ()->-manette1.getLeftY()); | Cube cube = new Cube(limelight, basePilotable, ()->-manette1.getLeftY()); | ||||||
| AprilTag aprilTag = new AprilTag(limelight, basePilotable, ()->-manette1.getLeftY()); | Apriltag aprilTag = new Apriltag(limelight, basePilotable, ()->-manette1.getLeftY()); | ||||||
| Tape tape = new Tape(limelight, basePilotable, ()->-manette1.getLeftY()); | Tape tape = new Tape(limelight, basePilotable, ()->-manette1.getLeftY()); | ||||||
| public RobotContainer() { | public RobotContainer() { | ||||||
|     configureBindings(); |     configureBindings(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user