Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
/ vesclib Public archive

Pure C library to control the VESC motor controller

License

Notifications You must be signed in to change notification settings

peris-trash/vesclib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vesc-control

Control funcions and routines for the VESC, written in pure C.

Supported Firmwares

currently only the raw protocol is supported, you have to assemble your own commands. Planned:

  • 4.12
  • 23.3 (Unity)

Instructions

include the vesc folder in your project, include the vesc folder as sources, and the vesc/include as include files. if your project does not have crc funcions do the same with the crc folder.

create the high level funcion to write bytes to the communication interface (like put_char()), name it vesc_write_byte();

now in your code call periodically the vesc_process_buffer(uint8_t* buffer, uint16_t length), this will unpack vesc messages and process them, it will call the callback funcions, make sure you link the callbacks you want.

Instructions

This software is licensed under MIT;

About

Pure C library to control the VESC motor controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages