SWERVE FIXES n SUCH

This commit is contained in:
Ryan Manley
2022-04-02 15:28:55 -06:00
parent 232cd94fa4
commit 5ff011ef73
8 changed files with 59 additions and 54 deletions
@@ -44,7 +44,9 @@ public class VisionOdometry extends SubsystemBase {
* @param shooter The turret subsystem
*/
public VisionOdometry(SwerveDrive drive, Turret shooter) {
m_camera = new PhotonCamera(VisionConstants.NAME);
// do{
m_camera = new PhotonCamera(VisionConstants.NAME);
// }while(m_camera.getLatestResult().getLatencyMillis() == 0.d);
m_drive = drive;
m_shooter = shooter;