Skip to content

Commit

Permalink
Changement type Pipeline limelight
Browse files Browse the repository at this point in the history
A tester

Co-Authored-By: Nahuelpoet <[email protected]>
Co-Authored-By: ScootKampfer <[email protected]>
  • Loading branch information
3 people committed Nov 27, 2023
1 parent 3195a4e commit 2d5ee4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public TourelleLimeLightCommand(Tourelle tourelle, Limelight limelight, XboxCont
// The controller that the command will use
new PIDController(0.5, 0, 0),
// This should return the measurement
() -> limelight.getRobotPosition()[1],//TODO change for the right tracking target
() -> limelight.getRobotPosition()[2],//TODO change for the right tracking target (1 instead of 2)
// This should return the setpoint (can also be a constant)
() -> -3,
// This uses the output
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Limelight.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public double getPipeline(){
}

/**
* Returns current Pipeling of the Lime Light
* Returns current Pipeline of the Lime Light
* @return Pipelinge
*/
public Integer getPipelineInt(){
Expand Down

0 comments on commit 2d5ee4a

Please sign in to comment.