cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
375 stars 110 forks source link

Tacx Neo power lag #1431

Closed smulrine closed 11 months ago

smulrine commented 1 year ago

After reading about Wahoo Race Mode I became curious about responsiveness. NRX Connect shows that my Tacx Neo v1 transmits power once a second over Bluetooth. So if qz as a bridge sends power once a second to Zwift, doesn't that mean there could be a delay of up to 2 seconds between jumping on the pedals and having the effort show up in Zwift? (I personally always change "1s" to "100" in virtualbike.cpp and virtualtreadmill.cpp before compiling it, so for me the delay shouldn't be more than 1.1s.) The delay works out well for not getting dropped at the end of an effort, e.g. climbing a hill, but not so well for covering a break.

cagnulein commented 1 year ago

yes by default qz sends it every seconds so at worst case you have 2s at best 1s

putting it to 100ms you will have 1.2 as worst and 1s as best

smulrine commented 1 year ago

Would it maybe be worth making the advertisement interval a setting?

cagnulein commented 1 year ago

could be yes

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cagnulein commented 11 months ago

I'm doing this now!