calibrate scales

This commit is contained in:
Thaddeus Hughes
2026-04-04 09:37:03 -05:00
parent 113df78493
commit 78651f7159

View File

@@ -171,7 +171,7 @@ DEADBAND = 0.0005
MAX_OUTPUT = 0 MAX_OUTPUT = 0
# Encoder scales (counts per inch) # Encoder scales (counts per inch)
ENCODER_LIN_SCALE = -5085.5 ENCODER_LIN_SCALE = -5080.0
ENCODER_MTR_SCALE = -27939.6 ENCODER_MTR_SCALE = -27939.6
# 5.4 is the ratio between linear and motor scales, roughly # 5.4 is the ratio between linear and motor scales, roughly
@@ -230,7 +230,7 @@ DEADBAND = 0
MAX_OUTPUT = 1 MAX_OUTPUT = 1
# Encoder scales (counts per inch) # Encoder scales (counts per inch)
ENCODER_LIN_SCALE = -5085.4 ENCODER_LIN_SCALE = -5080.0
ENCODER_MTR_SCALE = 27453.6 ENCODER_MTR_SCALE = 27453.6
# these are in nanoseconds # these are in nanoseconds
DIRSETUP = 10000 DIRSETUP = 10000