From 7e8b646f4c739dd46d249d4676e00b997f68b4b5 Mon Sep 17 00:00:00 2001 From: PepperLola Date: Wed, 28 Aug 2024 18:26:40 -0700 Subject: [PATCH] ran formatter --- fission/src/systems/simulation/wpilib_brain/SimInput.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fission/src/systems/simulation/wpilib_brain/SimInput.ts b/fission/src/systems/simulation/wpilib_brain/SimInput.ts index 7013c1051..ae4b427ef 100644 --- a/fission/src/systems/simulation/wpilib_brain/SimInput.ts +++ b/fission/src/systems/simulation/wpilib_brain/SimInput.ts @@ -107,7 +107,7 @@ export class SimAccelInput extends SimInput { public Update(deltaT: number) { const newVel = this._joltBody?.GetLinearVelocity() - if (!newVel) return; + if (!newVel) return const x = (newVel.GetX() - this._prevVel.GetX()) / deltaT const y = (newVel.GetY() - this._prevVel.GetY()) / deltaT