dfsg
This commit is contained in:
parent
b4ef632169
commit
7d716d8574
@ -45,7 +45,11 @@ public class RobotContainer {
|
|||||||
},drive));
|
},drive));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void configureBindings() {}
|
private void configureBindings() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
return Commands.print("No autonomous command configured");
|
return Commands.print("No autonomous command configured");
|
||||||
|
@ -4,13 +4,20 @@
|
|||||||
|
|
||||||
package frc.robot.subsystem;
|
package frc.robot.subsystem;
|
||||||
|
|
||||||
|
import edu.wpi.first.networktables.NetworkTableInstance;
|
||||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||||
import frc.robot.LimelightHelpers;
|
import frc.robot.LimelightHelpers;
|
||||||
|
|
||||||
|
|
||||||
public class Limelight extends SubsystemBase {
|
public class Limelight extends SubsystemBase {
|
||||||
/** Creates a new Limelight. */
|
/** Creates a new Limelight. */
|
||||||
public Limelight() {
|
public Limelight() {
|
||||||
LimelightHelpers.getTV(getName());
|
|
||||||
|
boolean tv = LimelightHelpers.getTV("No_name");
|
||||||
|
|
||||||
|
double tx = LimelightHelpers.getTX("No_name");
|
||||||
|
double ty = LimelightHelpers.getTY("No_name");
|
||||||
|
double ta = LimelightHelpers.getTA("No_name");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user