You are here

VESC 6 CAN Command and Telemetry Formats

5 posts / 0 new
Last post
TerraHawk
Offline
Last seen: 10 months 1 day ago
Joined: 2019-11-21 01:43
Posts: 1
VESC 6 CAN Command and Telemetry Formats

I have looked all over and failed to find command and telemetry information in a convenient package. I dug through the VESC 6 firmware and extracted what I believe are the correct formats. 

I am looking for somebody to glance over my PDF and see if the formats look roughly correct. I will get to test  it next week to verify but if I have made an obvious error, it would be good to learn it now.

Thank you.

VESC6_CAN_CommandsTelemetry.pdf

ProtonZ
Offline
Last seen: 2 years 9 months ago
Joined: 2019-12-30 16:52
Posts: 1

Hello,

I am looking for the way to control VESC via CAN too. And I really want to know if your format documentation is correct if you have tested it. Thanks for giving me an example.

Pimousse
Offline
Last seen: 2 months 2 weeks ago
VESC Original
Joined: 2017-05-24 12:15
Posts: 101

Hi,

I'm maybe late, but anyway.

Here you may find a document I wrote up regarding VESC Communication : https://drive.google.com/open?id=1j8Lni4cAb5P5hYK-VS-Ex2eKzMCK7ZKI

Check the COMM CAN tab (UART communication is maybe outdated).

Tinkerer
Offline
Last seen: 3 years 2 weeks ago
Joined: 2020-06-30 08:28
Posts: 7

Edit: Deleted my comment as I realised I've been approaching it wrong.

Configuring the VESC hardware I have to transmit status messages over CAN is done directly in the VESC tool. I'm able to read all packets being sent using my Arduino with a CAN shield now. Thanks for the documentation here - helped big time!

flatspot
Offline
Last seen: 1 year 8 months ago
VESC Original
Joined: 2018-10-30 18:19
Posts: 2

Hi TerraHawk, Pimousse,

The information provided seems correct.
The DBC i made from it seems functional so far. 

https://vesc-project.com/node/2678

This Thread made it so much easier to build the DBC, so massive thank you for doing the Overview.

 

Best Regards