Skip to content

Proof of Concepts to compute CRCs for Go1, Go2 and G1 motors.

License

Notifications You must be signed in to change notification settings

aatb-ch/unitree_crc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Unitree CRC for Go1/Go2/G1 motors

Based off captured frames on the rs-485 bus of Go1/Go2/G1 motors.

  1. clone unitree_actuator_sdk

  2. Copy .cpp files from the /src folder into the sdk /example folder

  3. add to the CMakeList.txt:

add_executable(aatb_go1_crc example/aatb_go1_crc.cpp)
target_link_libraries(aatb_go1_crc ${EXTRA_LIBS})

add_executable(aatb_go2_crc example/aatb_go2_crc.cpp)
target_link_libraries(aatb_go2_crc ${EXTRA_LIBS})

add_executable(aatb_g1_crc example/aatb_g1_crc.cpp)
target_link_libraries(aatb_g1_crc ${EXTRA_LIBS})
  1. compile as usual:
mkdir build
cd build
cmake ..
make
  1. run either ./aatb_go1_crc or ./aatb_go2_crc or ./aatb_g1_crc from the /build folder.

Hats off to imcnanie for the Go1 motor dumps, Go2 dumps by yours truly, G1 dumps by rghilduta.

About

Proof of Concepts to compute CRCs for Go1, Go2 and G1 motors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages