We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a41ce commit 7875e39Copy full SHA for 7875e39
fission/src/systems/simulation/wpilib_brain/SimInput.ts
@@ -114,7 +114,7 @@ export class SimAccelInput extends SimInput {
114
115
const x = (newVel.x - this._prevVel.x) / deltaT
116
const y = (newVel.y - this._prevVel.y) / deltaT
117
- const z = (newVel.y - this._prevVel.y) / deltaT
+ const z = (newVel.z - this._prevVel.z) / deltaT
118
119
SimAccel.setX(this._device, x)
120
SimAccel.setY(this._device, y)
0 commit comments