vedderb / bldc

The VESC motor control firmware
2.14k stars 1.34k forks source link

lisp can commands missing: conf-set #520

Closed 1zun4secondary closed 1 year ago

1zun4secondary commented 2 years ago

Hello, so the following issue:

I got many reports of people who want to use the M365 Dash Script with Dual VESCs that is no problem until we want to limit speed for both VESCs.

(conf-set 'max-speed (/ speed-sport 3.6))
(conf-set 'l-watt-max watt-sport)

Now we have only limited the speed of one VESC, but how do we sync it to the second VESC. Please add this feature or let me know if there is another way to sync two VESCs.

vedderb commented 1 year ago

I thought about this for a while and came up with this solution: https://github.com/vedderb/bldc/tree/master/lispBM#can-cmd That way you can run any command on any can-device.

1zun4secondary commented 1 year ago

Tested and works flawless! Thank you.