m365fw / vesc_m365_dash

The VESC 6.0 Lisp implementation of the M365/NineBot BLE compability script
GNU General Public License v3.0
26 stars 6 forks source link

Feature request #7

Open MatessakCZE opened 5 months ago

MatessakCZE commented 5 months ago

Hi, I am happily using your code, but I have a feature reqest that I do not think is that hard. Could you add some kind of cruise control? Maybe like on stock m365 so that it would activate after holding the throttle for some time in the same place.

Thanks!

Sharkboy-j commented 3 months ago

@MatessakCZE implemented here https://github.com/Rebell81/vesc_g30_dash

MatessakCZE commented 3 months ago

But does it work with the m365 pro dashboard?

Sharkboy-j commented 3 months ago

i'm not sure. tested only on g30 BLE. But u can flash your ble with g30 firmware

Sharkboy-j commented 3 months ago

Or u can copy-paste algorithm to ur m365 lisp code

MatessakCZE commented 3 months ago

Or u can copy-paste algorithm to ur m365 lisp code

unfortunately it has not workded by default. Wdym by algorithm?

MatessakCZE commented 3 months ago

I tried to modify it, but I think I changed too much or too less. I tried multiple times tinkering with it for 2 hours but still nothing. Do you think you could help?

Sharkboy-j commented 3 months ago

im not sure i can, cuz i dont have m365 ble to debug my code on it. But, there is good way. i saw, some people flashing g30 BLE with m365 BLE firmware. !!!!MAYBE!!! m365 BLE backward compatible with g30 BLE firmware. Using xiaoflasher app on android or ninebot IAP on windows or etc you can make from m365 ble => g30 ble. P.S. Im not responsible for that.

Nikolai521 commented 3 months ago

Actually we managed to flash a G30 display with pro2 firm without any issues, it works just like a pro2 one, so i cant see the problem

MatessakCZE commented 3 months ago

Sure I could try that but I'll need that stmflasher thingy right? Cuz I don't have a working original controller.

MatessakCZE commented 3 months ago

im not sure i can, cuz i dont have m365 ble to debug my code on it. But, there is good way. i saw, some people flashing g30 BLE with m365 BLE firmware. !!!!MAYBE!!! m365 BLE backward compatible with g30 BLE firmware. Using xiaoflasher app on android or ninebot IAP on windows or etc you can make from m365 ble => g30 ble. P.S. Im not responsible for that.

Hi again, I was able to get I think all of it working including cruise control. The only thing I am stuck with is that there is nothing displaying on the display. I can switch modes but I do not know to which and I have to test with the wheel of the ground. Also when I switch it off by holding the button it is still lit, but I can not control the scooter. I have shared a link to the modified code, and I wanted to ask if you could try to push me in the right way, I can debug it any time untill tomorow night, because I am going to a vacation. Thanks! https://pastebin.com/HUbjJN26

Sharkboy-j commented 3 months ago

i think i cant help. too hard for me)

Sharkboy-j commented 3 months ago

maybe you should try different versions of firmware from g30?

MatessakCZE commented 3 months ago

maybe you should try different versions of firmware from g30?

It's even harder for me 😂. I can not upload the g30 firmware cuz I don't have the stlink.