ghvnbm
This commit is contained in:
parent
66ae081336
commit
f8a525cbeb
@ -15,7 +15,7 @@ import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
|
||||
import edu.wpi.first.wpilibj2.command.button.CommandJoystick;
|
||||
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
|
||||
import frc.robot.commands.Avancer;
|
||||
import frc.robot.commands.Lancer;
|
||||
//import frc.robot.commands.Lancer;
|
||||
import frc.robot.commands.LancerTest;
|
||||
import frc.robot.commands.Force2;
|
||||
import frc.robot.commands.Force3;
|
||||
|
@ -1,7 +1,7 @@
|
||||
// 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.commands;
|
||||
|
||||
import edu.wpi.first.networktables.GenericEntry;
|
||||
@ -27,3 +27,4 @@ public class Lancer extends ParallelCommandGroup {
|
||||
new AccAvancer(accumulateur),new AccReculer(accumulateur));
|
||||
}
|
||||
}
|
||||
*/
|
@ -18,7 +18,9 @@ public class LancerTest extends CommandBase {
|
||||
|
||||
// Called when the command is initially scheduled.
|
||||
@Override
|
||||
public void initialize() {}
|
||||
public void initialize() {
|
||||
lanceur.setPID(0.000000000000075572, 0, 0);
|
||||
}
|
||||
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
|
@ -1,7 +1,7 @@
|
||||
// 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.commands;
|
||||
|
||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||
@ -9,7 +9,7 @@ import frc.robot.subsystems.Lanceur;
|
||||
|
||||
public class Lancez extends CommandBase {
|
||||
private Lanceur lanceur;
|
||||
/** Creates a new Lancez. */
|
||||
/** Creates a new Lancez.
|
||||
public Lancez(Lanceur lanceur) {
|
||||
this.lanceur = lanceur;
|
||||
addRequirements(lanceur);
|
||||
@ -43,3 +43,4 @@ public class Lancez extends CommandBase {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
*/
|
Loading…
x
Reference in New Issue
Block a user