-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with TrainerDay #515
Comments
Thank you for the logs!! The issue appears to be that TrainerDay sends ERG targets at least once per second. Currently the SmartSpin2k ERG algorithm uses the lookup table for the first two seconds after it receives a ERG target and then after the two seconds elapses, it uses a normal positive feedback control loop. With these rapid fire ERG targets, the current scheme never gets a chance to go into a positive control mode and the rapid ERG targets keep it spiraling out of control. It also appears that this fast ERG target sending is breaking the protections in place to keep the resistance in bounds on the Peloton (further complicating the issue as it starts to build a bad table due to skipped motor steps). I have some possible fixes in mind. |
New branch #516 |
firmware.zip Instructions: |
Hi, It shifted back and forth, immediately and constantly increasing and decreasing the resistance. Then I turned up the watts and it seems to increase resistance but then when I turned back down the watts it still increased resistance although it never 'bottomed out' and now that I'm not even pedaling it is still changing resistance. |
firmware.zip |
SS2K is not working with Trainer Day app iOS 17.0.3
Steps to reproduce
Expected behavior
It should raise or lower resistance consistent with ERG mode wattage setting
Actual behavior
resistance seems to acting sporadically
Additional Information
Custom UDP Receiver (Port 10000).txt
The text was updated successfully, but these errors were encountered: