Skip to content

Commit

Permalink
fix velocity/position signal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewChoulas committed Jan 9, 2025
1 parent 026c181 commit 46f6dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/team4099/lib/units/MechanismUnits.kt
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ fun ctreAngularMechanismSensor(
compensationVoltage: ElectricalPotential
): AngularMechanismSensor {
val velocitySignal = controller.velocity
val positionSignal = controller.velocity
val positionSignal = controller.position

return AngularMechanismSensor(
ratio,
Expand Down

0 comments on commit 46f6dff

Please sign in to comment.