From de7b392c51f962dc89ddd8315fcf66cd8aa0f654 Mon Sep 17 00:00:00 2001 From: doinkythederp Date: Wed, 15 Jan 2025 15:58:51 -0800 Subject: [PATCH] fix: use a more realistic FPS for camera sim --- .../frcteam3636/frc2025/subsystems/drivetrain/AbsolutePose.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/frcteam3636/frc2025/subsystems/drivetrain/AbsolutePose.kt b/src/main/kotlin/com/frcteam3636/frc2025/subsystems/drivetrain/AbsolutePose.kt index 57345c8..a63594c 100644 --- a/src/main/kotlin/com/frcteam3636/frc2025/subsystems/drivetrain/AbsolutePose.kt +++ b/src/main/kotlin/com/frcteam3636/frc2025/subsystems/drivetrain/AbsolutePose.kt @@ -171,7 +171,7 @@ class CameraSimPoseProvider(name: String, val chassisToCamera: Transform3d) : Ab private val camera = PhotonCamera(name) private val simProperties = SimCameraProperties().apply { setCalibration(1280, 800, Rotation2d(LIMELIGHT_FOV)) - fps = 120.0 + fps = 20.0 avgLatencyMs = 51.0 latencyStdDevMs = 5.0 }