bbs-fw icon indicating copy to clipboard operation
bbs-fw copied to clipboard

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

Open Damien0505 opened this issue 1 year ago • 3 comments

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

Damien0505 avatar Dec 17 '23 11:12 Damien0505

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

danielnilsson9 avatar Aug 07 '24 09:08 danielnilsson9

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: /*

  • XXX tobedone/missing/not working:
    • most "items" just thrown in GtkBox'es w/o spending much effort on aligning them like in orginal
    • no conversions done from kph to mph despite the setting does get passed to the firmware, so
  • anyone using imperial units has to convert their units to metric for this to be usable atm.
    • did nothing to get this translated, while it does appear it might be easy w/gtk3(/glib)
    • configuration file is a simple "[section]key=value"-thing, but it does appear to work, so i'm
  • unlikely to implement xml parser to be even more(/totally) compatible
    • page2/"Assist Levels" doesn't show the level type under level name in the sidebar
    • eventlog searching & filtering w/levels(visually there, but not connected to anything yet)
    • eventlog warning/error background coloring to yellow/red. likely requires adding a fourth
  • (invisible) column into the liststore bound to some property. how? idk, yet atleast.
    • virtual display speed shown in rpm; should fix w/conversion to kph(wheel size is known)
    • virtual display percent labels could be progress/level bars, but i'm unlikely to write any
  • drawing funcs for pretty gauges and stuff like that
    • support for running on mac/win; can't really bother to dev for anything i don't have to test with */

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 avatar Nov 21 '24 23:11 aalm

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.

aalm avatar Nov 21 '24 23:11 aalm