Replies: 1 comment 1 reply
-
your config is invalid: rowerSettings: rowerProfiles.Concept2_RowErg
rowerSettings: Object.assign(rowerProfiles.Concept2_RowErg, {
dragFactor: 110,
autoAdjustDragFactor: true
}) Also you are missing comas. Min power and max power is only for the UI Use the below (copy paste) "use strict";
/*
Open Rowing Monitor, https://github.com/laberning/openrowingmonitor
You can modify this file to configure Open Rowing Monitor to your needs.
This file should be placed in the 'config' folder of Open Rowing Monitor.
All available configuration parameters are visible in config/config.default.js
To modify a parameter, copy it to this file and modify the value.
Changes to this file are persisted when you update to new versions.
*/
// eslint-disable-next-line no-unused-vars
import rowerProfiles from "./rowerProfiles.js";
export default {
// example: change the default log level:
loglevel: {
default: "debug",
},
heartRateMode: "ANT",
antplusMode: "FE",
// The rower specific settings. Either choose a profile from config/rowerProfiles.js (see
// https://github.com/laberning/openrowingmonitor/blob/main/docs/Supported_Rowers.md) or define
// the settings manually (see https://github.com/laberning/openrowingmonitor/blob/main/docs/rower_settings.md
// on how to do this). If you find good settings for a new rowing device please send them to us (together
// with a raw recording of at least 10 strokes) so we can add the device to the profiles.
// EXAMPLE ROWER CONFIG : using a DKN R-320 Air Rower as is
// rowerSettings: rowerProfiles.DKN_R320
rowerSettings: rowerProfiles.Concept2_RowErg,
// EXAMPLE ROWER CONFIG: Just set custom rower settings to make it work
// rowerSettings: {
// numOfImpulsesPerRevolution: 1,
// dragFactor: 0.03,
// flywheelInertia: 0.3
// }
// EXAMPLE ROWER CONFIG: set a rower profile, but overwrite some settings:
// rowerSettings: Object.assign(rowerProfiles.DKN_R320, {
// autoAdjustDragFactor: true
// })
userSettings: {
// The resting Heartrate of the user, to filter abnomral HR values
restingHR: 58,
// The maximum observed heartrate during the last year. If unknown, you can use maxHr = 220 - age
// This is used for filtering abnormal HR values and to project the maximum power a rower produces
maxHR: 190,
// The minimum power a rower can produce, used for filtering abnormal power values
minPower: 50,
// The maximum power a rower can produce, used for filtering abnormal power values
maxPower: 500,
// The effect that doubling the distance has on the maximum achievable average pace. The proposed 5 is based on Paul's law,
// which states that doubling the distance leads to a slowdown in pace of 5 seconds. This value can be adapted if you know
// your PR (this pace) on both a 1000 meters and on 2000 meters, by substracting the pace.
distanceCorrectionFactor: 5,
// The weight of the rower in kilograms
weight: 68,
// The sex of the rower, as it is needed for Concept 2's calculation
// This can be "male" or "female"
sex: "male",
// Definition copied from https://www.concept2.co.uk/indoor-rowers/training/calculators/vo2max-calculator
// If you have been rowing regularly for several years, training at least four days per week, doing a variety of workout types
// and improving your rowing scores, then we suggest selecting "Highly trained" when using the calculator.
// If you consider yourself a fitness rower and don't push yourself very hard or do any hard pieces, then we suggest selecting "Not highly trained."
highlyTrained: false,
},
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, I want to thank everyone who has developed and are contributing to develop and support ORM!
I have a Concept2 RowErg connected to an RPi 4B via an optocoupler as described. I am running ORM version 0.9.0.
Initially, I added the following to the config.js file:
rowerSettings: rowerProfiles.Concept2_RowErg
When testing, I noticed that the drag factor remains constant at 1500, and the power output is several thousand watts. It seems that config.js is unable to retrieve the correct rowing profile. Despite that I have set
maxPower: 500
I get power output way above 500 watt. I have included the ANT settings in config.js, and it works which indicates that ORM is reading some of the settings in the config.js file.I then tried to “force” the drag factor with the following, but with the same result:
I have also tried different variations of
rowerSettings
in the config.js file but with the same result.rowerSettings: ‘rowerProfiles.Concept2_RowErg’
and
rowerSettings: Concept2_RowErg
And yes, I have restarted the ORM between every changes to the config.js file
What am I doing wrong?
Attached are the config.js file and a test session.
2025-01-18_20-51-34_rowingData.csv
config.js.txt
Beta Was this translation helpful? Give feedback.
All reactions