Skip to content

Commit

Permalink
Update some rower profiles
Browse files Browse the repository at this point in the history
Update the inertia value of Generic Air rower and KF Blue rower profiles
as well as recalibrate where necessary as based on testing the inertia
of these machines were set too low.
  • Loading branch information
Abász committed Jun 22, 2024
1 parent 90fdcaf commit e6c0c20
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/profiles/generic.rower-profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Machine settings
#define IMPULSES_PER_REVOLUTION 3
#define FLYWHEEL_INERTIA 0.073
#define FLYWHEEL_INERTIA 0.07806
#define SPROCKET_RADIUS 1.50
#define CONCEPT_2_MAGIC_NUMBER 2.8

Expand Down
20 changes: 10 additions & 10 deletions src/profiles/kayakfirstBlue.rower-profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@

// Hardware settings
#define IMPULSES_PER_REVOLUTION 6
#define FLYWHEEL_INERTIA 0.02527962
#define FLYWHEEL_INERTIA 0.039
#define SPROCKET_RADIUS 2.7
#define CONCEPT_2_MAGIC_NUMBER 2.75
#define CONCEPT_2_MAGIC_NUMBER 3.45

// Sensor signal filter settings
#define ROTATION_DEBOUNCE_TIME_MIN 5
#define ROWING_STOPPED_THRESHOLD_PERIOD 7'000

// Drag factor filter settings
#define GOODNESS_OF_FIT_THRESHOLD 0.82
#define GOODNESS_OF_FIT_THRESHOLD 0.752
#define MAX_DRAG_FACTOR_RECOVERY_PERIOD 5'000
#define LOWER_DRAG_FACTOR_THRESHOLD 10
#define UPPER_DRAG_FACTOR_THRESHOLD 200
#define DRAG_COEFFICIENTS_ARRAY_LENGTH 1

// Stroke phase detection filter settings
#define MINIMUM_POWERED_TORQUE 0.1
#define MINIMUM_DRAG_TORQUE 0.27
#define MINIMUM_POWERED_TORQUE 0.228
#define MINIMUM_DRAG_TORQUE 0.338
#define STROKE_DETECTION_TYPE STROKE_DETECTION_TORQUE
#define MINIMUM_RECOVERY_SLOPE_MARGIN 0.0000151 // Only relevant if STROKE_DETECTION_TYPE is either BOTH or TORQUE
#define MINIMUM_RECOVERY_SLOPE 0 // Only relevant if STROKE_DETECTION_TYPE is either BOTH or SLOPE
#define MINIMUM_RECOVERY_TIME 170
#define MINIMUM_DRIVE_TIME 220
#define IMPULSE_DATA_ARRAY_LENGTH 10
#define MINIMUM_RECOVERY_SLOPE_MARGIN 0.00002 // Only relevant if STROKE_DETECTION_TYPE is either BOTH or TORQUE
#define MINIMUM_RECOVERY_SLOPE 0 // Only relevant if STROKE_DETECTION_TYPE is either BOTH or SLOPE
#define MINIMUM_RECOVERY_TIME 145
#define MINIMUM_DRIVE_TIME 170
#define IMPULSE_DATA_ARRAY_LENGTH 11
// #define FLOATING_POINT_PRECISION PRECISION_DOUBLE

// NOLINTEND(cppcoreguidelines-macro-usage)

0 comments on commit e6c0c20

Please sign in to comment.