mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Remove unused private variable (#317)
This commit is contained in:
@@ -25,7 +25,6 @@ import org.photonvision.targeting.PhotonTrackedTarget;
|
||||
public class SimVisionSystem {
|
||||
SimPhotonCamera cam;
|
||||
|
||||
double camDiagFOVDegrees;
|
||||
double camHorizFOVDegrees;
|
||||
double camVertFOVDegrees;
|
||||
double cameraHeightOffGroundMeters;
|
||||
@@ -71,7 +70,6 @@ public class SimVisionSystem {
|
||||
int cameraResWidth,
|
||||
int cameraResHeight,
|
||||
double minTargetArea) {
|
||||
this.camDiagFOVDegrees = camDiagFOVDegrees;
|
||||
this.camPitchDegrees = camPitchDegrees;
|
||||
this.cameraToRobot = cameraToRobot;
|
||||
this.cameraHeightOffGroundMeters = cameraHeightOffGroundMeters;
|
||||
|
||||
@@ -32,8 +32,7 @@ SimVisionSystem::SimVisionSystem(const std::string& name,
|
||||
units::meter_t cameraHeightOffGround,
|
||||
units::meter_t maxLEDRange, int cameraResWidth,
|
||||
int cameraResHeight, double minTargetArea)
|
||||
: camDiagFOV(camDiagFOV),
|
||||
camPitch(camPitch),
|
||||
: camPitch(camPitch),
|
||||
cameraToRobot(cameraToRobot),
|
||||
cameraHeightOffGround(cameraHeightOffGround),
|
||||
maxLEDRange(maxLEDRange),
|
||||
|
||||
@@ -50,7 +50,6 @@ class SimVisionSystem {
|
||||
void ProcessFrame(frc::Pose2d robotPose);
|
||||
|
||||
private:
|
||||
units::degree_t camDiagFOV;
|
||||
units::degree_t camPitch;
|
||||
frc::Transform2d cameraToRobot;
|
||||
units::meter_t cameraHeightOffGround;
|
||||
|
||||
Reference in New Issue
Block a user