camera
This commit is contained in:
@@ -22,6 +22,7 @@ public class Drive extends SubsystemBase {
|
||||
swerveDrive.drive(new Translation2d(x, y), zRotation, false, false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/** Creates a new Drive. */
|
||||
public Drive() {
|
||||
@@ -31,7 +32,8 @@ public class Drive extends SubsystemBase {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
public SwerveModulePosition[] distance(){
|
||||
|
||||
public SwerveModulePosition[] distance(){
|
||||
return swerveDrive.getModulePositions();
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user