Requesting VESC 6 Motor Control Driver

VESC is an open-source motor controller firmware that is used in applications ranging from electric skateboards, e-bikes, scooters, robotics and drones.

I am planning to use a Flipsky motor controller which utilizes VESC 6.02 and CAN for all communication and control.

Links:
Motor controller
USB to CAN adapter (Canable 2.0 Pro)
VESC 6 CAN formats documentation

Let me know how I can help. Thank you!

Thanks for submitting this @trtechworks - we’ve been eager to add a CAN interface to instro for a while. While we’re sorting out the implementation of that, would you be open to an example script that would effectively leverage some of the instro capabilities out of the box? We wouldn’t ship something directly in instro, but provide a script that has all of the instro benefits to allow you to control this device. Open to thoughts! Also what timeline are we working against for this?

Hi @hoehner, an example script would be great. I am actively working on this project, so ideally something by end of week would be ideal. If your team is swamped, next week works too. Thanks!

Cut this issue/branch in instro (the unstable package for now).

Here is our implementation (still in the instro-unstable) package that should support the VESC6 protocol over a python-can compatible interface. instro/packages/instro-unstable/instro/unstable/motorcontroller/drivers/vesc_6.py at main · nominal-io/instro · GitHub