unitree_crc icon indicating copy to clipboard operation
unitree_crc copied to clipboard

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

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.