Skip to content

Commit

Permalink
fixed vision location errors
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelx0281 committed Oct 25, 2023
1 parent 0af5002 commit 35e7783
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/sciborgs1155/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.awt.Color;
import java.util.Map;
import org.sciborgs1155.lib.constants.MotorConfig;
import org.sciborgs1155.lib.constants.MotorConfig.NeutralBehavior;
import org.sciborgs1155.lib.constants.PIDConstants;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/sciborgs1155/robot/intake/Intake.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.sciborgs1155.robot.intake;

import static org.sciborgs1155.robot.Constants.Auto.*;
import static org.sciborgs1155.robot.intake.IntakeConstants.*;
import static org.sciborgs1155.robot.Ports.Intake.*;
import static org.sciborgs1155.robot.intake.IntakeConstants.*;

import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

public class IntakeConstants {

public static final double DEFAULT_SPEED = 0.05;
public static final double DEFAULT_SPEED = 0.05;

public static final double CONE_SPEED = 0.85;
public static final double CUBE_SPEED = -0.25;
public static final double CONE_SPEED = 0.85;
public static final double CUBE_SPEED = -0.25;

public static final double THRESHOLD = 0.5;
public static final double THRESHOLD = 0.5;
}
2 changes: 1 addition & 1 deletion src/main/java/org/sciborgs1155/robot/vision/SimVision.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.sciborgs1155.robot.vision;

import static org.sciborgs1155.robot.Constants.Vision.*;
import static org.sciborgs1155.robot.vision.VisionConstants.*;

import edu.wpi.first.math.geometry.Pose2d;
import org.photonvision.EstimatedRobotPose;
Expand Down

0 comments on commit 35e7783

Please sign in to comment.