Skip to content

Commit

Permalink
ensure magnet offset unit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
sop26 committed Feb 5, 2025
1 parent 96da60a commit b076ae4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public PivotConf(

MagnetSensorConfigs magnetSensorConfigs =
new MagnetSensorConfigs()
.withMagnetOffset(encoderConfigMagnetOffsetValue)
.withMagnetOffset(this.encoderConfigMagnetOffsetValue)
.withSensorDirection(
encoderConfigClockwisePositive ? SensorDirectionValue.Clockwise_Positive
: SensorDirectionValue.CounterClockwise_Positive
Expand Down

0 comments on commit b076ae4

Please sign in to comment.