useSimulatedSpeed

38 views
Skip to first unread message

alberto crespi

unread,
Jan 3, 2026, 9:55:52 AMJan 3
to golden-cheetah-developers
hello everyone
I'm trying to get a Kettler Racer 9 to work on gpx file
I need to use or calculate virtualspeed from slope but why
in TrainSidebar::TrainSidebar at line 187 there is this
useSimulatedSpeed = false;
this value is impossible to change from checkbox
value = false always overwrite checkbox
Message has been deleted

Ale Martinez

unread,
Jan 3, 2026, 4:43:15 PMJan 3
to golden-cheetah-developers
Hi, I don't know what version are you looking, in current master the line you reference is 101:
but then it is modified by configChanged() which is called to complete initialization and on each config change:

alberto crespi

unread,
Jan 4, 2026, 12:02:58 PMJan 4
to golden-cheetah-developers
sorry line is151 not 187
useSimulatedSpeed = false;
this make value = false the only possible in the rest of code

Paul J

unread,
Jan 4, 2026, 12:11:20 PMJan 4
to golden-cheetah-developers
After setting the "simulate speed from power" checkbox in  https://github.com/GoldenCheetah/GoldenCheetah/wiki/UG_Preferences_Training  page,  have you clicked the save button ?

alberto crespi

unread,
Jan 4, 2026, 1:19:00 PMJan 4
to golden-cheetah-developers
I have saved correctly
the problem is code in traisidebar never check this selection
useSimulatedSpeed is coded to false and checkbox value never tested

Ale Martinez

unread,
Jan 4, 2026, 2:45:26 PMJan 4
to golden-cheetah-developers
El domingo, 4 de enero de 2026 a la(s) 2:02:58 p.m. UTC-3, alberto crespi escribió:
sorry line is151 not 187
useSimulatedSpeed = false;
this make value = false the only possible in the rest of code

It is not in current master... Again, what source code are you referring to? 

alberto crespi

unread,
Jan 4, 2026, 3:35:21 PMJan 4
to golden-cheetah-developers

Ale Martinez

unread,
Jan 4, 2026, 3:50:44 PMJan 4
to golden-cheetah-developers
Ok, not 187, not 151, but 101 as I said in my first response which you, evidently, didn't read...
Please read it, Here I explained how useSimulatedSpeed is updated.

Ale Martinez

unread,
Jan 4, 2026, 4:40:56 PMJan 4
to golden-cheetah-developers
El domingo, 4 de enero de 2026 a la(s) 5:50:44 p.m. UTC-3, Ale Martinez escribió:
Ok, not 187, not 151, but 101 as I said in my first response which you, evidently, didn't read...
Please read it, Here I explained how useSimulatedSpeed is updated.

Reply all
Reply to author
Forward
0 new messages