-
Notifications
You must be signed in to change notification settings - Fork 131
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
[Request] Pedal-torque threshold for 0 cadence starting. #107
Comments
More info: |
Exactly the issues you mention is something I am working on. Please be patient and I will do my best to give a system response and feeling equal to or much better than the original firmware! I have made some great progress today actually and it will only get better! Would appreciate your feedback whenever I am finished! |
After having gone through the (19.0) code, I have a suspicion on what's happening. I think that stock firmware may not actually be checking the cadence, but just keeps track of how long ago your pedals passed a magnet. Thus the open-source firmware, you need to pedal enough to pass two magnets before it'll allow the motor to start, whereas on the stock firmware, it's enough to pass just one magnet. |
The calculation of human power requires the actual angular velocity and not just measuring how long ago a "hit" was. So what you are proposing makes a drastic difference on the firmware. Not saying it is not correct just stating the fact. In the not so distant future there will be a beta where you can test the changes I have made, and already planning to make, for this and other similar things. |
I also noticed problem with slower start and pedal twitching. As I understand this is exactly implemented in apply_torque_assist. |
Slower start and twitching will be hopefully solved for all riding modes. Am working hard to improve this among other things. |
I too have noticed this on my bike (which is a recumbent, so therefore on steep hills quick response of start-assist would help a lot). @leon927 - If you need an alpha test user for your change I'm eager and willing. |
Yes, @geeksville, I would like some feedback and if you are willing that would be great! Here is a link to the Alpha versions I have released: Will release an Alpha 4 today hopefully, so wait for that one if you want the latest news! It is back to basics with "Blink" in that one ;) We can now configure our lights to flash. Either when braking or at all times. There are several different modes so pick whichever you prefer! Here is the wiki: |
@leon927 great! I'll try it this week. is the comms compatible with 0.19 displays? I'd like to use my sw102 build - which happily talks to my 0.19 motor. I'll also test turning on the STM8 bootloader in the motor at the same time. So we can use it in the future. |
@geeksville I look forward to your feedback! Am finishing up on the Alpha 4 so it will be waiting for you :) Sadly no, it will take some work to get everything in sync. We have several riding modes now and a lot of new things in the 0.20.0. Tried to develop it as quickly as possible to have it ready for the new displays. Seems we are getting there at the same time. Here is the 0.20.0 branch: |
ok @leon927 I think I might wait a little bit because I've already got a queue of SW102ish/850Cish things that look fun to play with. Then later we can update that codebase to speak the new 0.20 magic packets ;-) |
I think we should skip V0.20.0 because there is already a feature for V0.21.0 that needs space on display that maybe will not fit in KT-LCD3 -- the torque sensor full calibration. Also because I think we need to improve more the communications, with a specific packages for configurations to be sent only once at boot and after change configurations. All of this, I am afraid KT-LCD3 may not have enough memory but the new LCDs have. Full torque sensor calibration is already developed and I am using it on my bicycles, so should be fast to add to V0.21.0. And for me, this new version could have only this new feature as also bugs corrections, to be quick to release this new version. |
Coming from the stock firmware, I feel like the starting from a traffic light is much much slower. I get that everything else feels more agile, but sometimes I feel like it takes almost a full rotation of the pedals before I feel the power kicking in.
Things I've tried so far:
The only thing that really works is "Motor assistance startup without pedal rotation", with the downside that whenever I rest my foot very slightly on the pedals, it already starts twitching.
Would it be possible to replace "Motor assistance startup without pedal rotation" with a "Motor assistance startup torque threshold without pedal rotation", which would result in logic like:
That way if you set a reasonable threshold, you can still rest your foot on the pedal without starting the motor, but once you actually put some weight into it, it should start right away instead of waiting for rotation.
The text was updated successfully, but these errors were encountered: