Adaptation to improved drag calculation algorithm

This commit is contained in:
Jaap van Ekris 2024-01-24 16:08:50 +01:00 committed by GitHub
parent 97cfc04bc2
commit 657713d393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ test('Test behaviour for three perfect identical strokes, including settingling
testTotalLinearDistanceSinceStart(rower, 1.5912564829320934) testTotalLinearDistanceSinceStart(rower, 1.5912564829320934)
testTotalNumberOfStrokes(rower, 2) testTotalNumberOfStrokes(rower, 2)
testCycleDuration(rower, 0.34889498300000005) testCycleDuration(rower, 0.34889498300000005)
testCycleLinearDistance(rower, 0.9667532273482231) testCycleLinearDistance(rower, 0.9504709850196674)
testCycleLinearVelocity(rower, 3.2650920019419694) testCycleLinearVelocity(rower, 3.2650920019419694)
testCyclePower(rower, 97.46401557792097) testCyclePower(rower, 97.46401557792097)
testDriveDuration(rower, 0.19636192600000005) testDriveDuration(rower, 0.19636192600000005)
@ -382,7 +382,7 @@ test('sample data for NordicTrack RX800 should produce plausible results', async
testTotalLinearDistanceSinceStart(rower, 62.49982252262572) testTotalLinearDistanceSinceStart(rower, 62.49982252262572)
testTotalNumberOfStrokes(rower, 8) testTotalNumberOfStrokes(rower, 8)
// As dragFactor is dynamic, it should have changed // As dragFactor is dynamic, it should have changed
testRecoveryDragFactor(rower, 490.4918403723983) testRecoveryDragFactor(rower, 493.1277530352103)
}) })
test('A full session for SportsTech WRX700 should produce plausible results', async () => { test('A full session for SportsTech WRX700 should produce plausible results', async () => {
@ -411,7 +411,7 @@ test('A full session for a Concept2 RowErg should produce plausible results', as
await replayRowingSession(rower.handleRotationImpulse, { filename: 'recordings/Concept2_RowErg_Session_2000meters.csv', realtime: false, loop: false }) await replayRowingSession(rower.handleRotationImpulse, { filename: 'recordings/Concept2_RowErg_Session_2000meters.csv', realtime: false, loop: false })
testTotalMovingTimeSinceStart(rower, 590.111937) testTotalMovingTimeSinceStart(rower, 590.111937)
testTotalLinearDistanceSinceStart(rower, 2029.6167445192161) testTotalLinearDistanceSinceStart(rower, 2029.6932502534587)
testTotalNumberOfStrokes(rower, 206) testTotalNumberOfStrokes(rower, 206)
// As dragFactor isn't static, it should have changed // As dragFactor isn't static, it should have changed
testRecoveryDragFactor(rower, 80.60603626039024) testRecoveryDragFactor(rower, 80.60603626039024)