File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public class RobotContainer {
7676 private Command auto = new DoNothing ();
7777
7878 // Dashboard inputs
79- //private final LoggedDashboardChooser<Command> autoChooser;
79+ // private final LoggedDashboardChooser<Command> autoChooser;
8080
8181 // Controllers are defined here
8282 private BaseDriverConfig driver = null ;
Original file line number Diff line number Diff line change @@ -599,6 +599,7 @@ public ArrayList<EstimatedRobotPose> getEstimatedPose(DoubleUnaryOperator yawFun
599599
600600 // The latest camera results
601601 for (PhotonPipelineResult result : inputs .results ){
602+ // TODO: This could be improved by averaging all targets instead of only using 1
602603 // Gets the best target to use for the calculations
603604 PhotonTrackedTarget target = result .getBestTarget ();
604605 // Continue if the target doesn't exist or it should be ignored
You can’t perform that action at this time.
0 commit comments