8000 GitHub - johnzzhang/tmotor-python-can-lib
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

johnzzhang/tmotor-python-can-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmotor-python-can-lib

Use the following command to set the CAN bitrate in baud

sudo ip link set can0 type can bitrate 1000000

and use the command

sudo ip link set up can0

to enable the CAN interface.

To install the library navigate to the directory containing setup.cfg and run

pip install .

To use the library use

from motor_driver.canmotorlib import CanMotorController

and initial a motor object with

motor = CanMotorController(can_socket='can0', motor_id=0x01, motor_type='AK80_64')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0