Skip to content

Commit

Permalink
fix droop coefficients
Browse files Browse the repository at this point in the history
  • Loading branch information
rocco8773 committed Oct 21, 2024
1 parent 3afee9a commit bf9614a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bapsf_motion/transform/lapd_droop.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,19 @@ def __init__(
# ds = (a3 * r**3 + a2 * r**2 + a1 * r + a0) r cos(theta)
#
# coeffs = [a0, a1, a2, a3]
# 20241021: the commented out coefficients where off by a factor
# of 100 since I [Eriki] incorrectly fitted to
# ds / (10 * r cost(theta) when ds was measured in mm
# and r measured in cm
# the fit should have been to (10 * ds) / r cos(that)
#
# self._coeffs = np.array([6.209e-06, -2.211e-07, 2.084e-09, -5.491e-09])
# self._coeffs = np.array(
# [6.208863E-06, -2.210800E-07, 2.083731E-09, -5.490692E-09]
# ) * self.droop_scale
#
self._coeffs = np.array(
[6.208863E-06, -2.210800E-07, 2.083731E-09, -5.490692E-09]
[6.208863E-04, -2.210800E-05, 2.083731E-07, -5.490692E-07]
) * self.droop_scale

@property
Expand Down

0 comments on commit bf9614a

Please sign in to comment.