danielnilsson9 / bbs-fw

Open source firmware for multiple electric bike motor controllers.
GNU General Public License v3.0
191 stars 39 forks source link

Feature request: virtual display/PAS level/throttle in config tool. #207

Open Damien0505 opened 11 months ago

Damien0505 commented 11 months ago

Hi Daniel,

Firstly love your work, amazing firmware! I am now running it on my BBSHD, also dropped you a few $$ for a drink or a coffee, whatever your poison may be!

I am wondering, I know it would be handy for me, possibly others too, if you could include a virtual display and controller in the config tool. I have issues with my hands and having to unplug the USB adaptor often to quickly check changes I have made becomes painful for me. Only needs to be something simple, displaying speed and power, as well as the ability to change PAS settings and operate the throttle.

Not sure how difficult it would be, but maybe an idea for future reference.

Kind regards, Damien

danielnilsson9 commented 3 months ago

Yes this is very much needed, was planning to do it but never happened... At the moment I have basically no time to work on this project unfortunately

aalm commented 1 week ago

fwiw., i got this done while writing a replacement for use with linux(c+gtk3);

2024-11-22-001008_706x605_scrot

and here's the current todo: /*

now there is still some "debug" g_print()'s left around which i want to disable before sharing even as a binary, but hopefully i also get to do that too during this weekend.

aalm commented 1 week ago

I am wondering, I know it would be handy for me, possibly others too, if you could include a virtual display and controller in the config tool. I have issues with my hands and having to unplug the USB adaptor often to quickly check changes I have made becomes painful for me. Only needs to be something simple, displaying speed and power, as well as the ability to change PAS settings and operate the throttle.

throttle isn't really attached to the display in any way. so it should already work without the display. i did consider adding a slider to fake throttle input, but it would require adding to the protocol between display and the controller, which is something i didn't want to do - as i do intend to diy my own display during the winter, and wanted to save the rewrite of that protocol until it is really needed by something more important than just throttling on a stand.