Merge pull request #2670 from wavexx/la10c_jerk_tune

Increase E-jerk LA10->15 flattened zone
This commit is contained in:
DRracer 2020-06-03 15:50:57 +02:00 committed by GitHub
commit 233e66900f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,10 +78,10 @@ float la10c_jerk(float j)
return j;
// bring low E-jerk values into equivalent LA 1.5 values by
// flattening the response in the (1-4.5) range using a piecewise
// flattening the response in the (0.3-4.5) range using a piecewise
// function. Is it truly worth to preserve the difference between
// 1.5/2.5 E-jerk for LA1.0? Probably not, but we try nonetheless.
j = j < 1.0? j * 3.625:
j = j < 0.3? j * 11.5:
j < 4.5? j * 0.25 + 3.375:
j;