casainho said:@EndlessCadence,
Yesterday I rode using V0.14.1 and I noted some issues:
1. Max power works but seems it is at wrong scale, I need to increase maybe 10x more to get a good value. Before this feature was working well so it was some change after.
2. EEPROM reset: for some reason, still fails. I don't know if it is the resetting process or the after process of writing the default values. Maybe one important thing was to have LCD3 show installed firmware version of motor and LCD so I could assure I have installed the correct versions.
3. Startup power fails a LOT when I enable boost. Again, It was not like that when I implemented this feature.
I will give a look at code to see if I can spot the reasons for this issues.
Same 1 and 3 problems for me with 0.14
if went back to 0.12 since i need the bike for commuting every day.
i am currently working on a complete rewrite off ebike_control_motor which should solve the lag issues and be more safe and better readable. (all throttle,cadence torque,brake,wheelspeed checks at the end before setting current to motor) so no more need to check this at any other place in the code (lags, safety problems...)
however only limited time at the moment for testing....
hope i have a tested an well running build at the weekend.
current version:
https://github.com/vscope/TSDZ2-Smart-EBike/blob/master/src/controller/ebike_app.c