From 17479a8483b07154b288f5c17556de4c2095b716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jairo=20Gonz=C3=A1lez?= Date: Fri, 25 Oct 2024 17:30:04 -0300 Subject: [PATCH] Fixed crc.py to match crc_aarch64.so lib file instead of crc_arm64.so. --- unitree_sdk2py/utils/crc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitree_sdk2py/utils/crc.py b/unitree_sdk2py/utils/crc.py index 93e4651..c250706 100644 --- a/unitree_sdk2py/utils/crc.py +++ b/unitree_sdk2py/utils/crc.py @@ -31,7 +31,7 @@ def __init__(self): if platform.machine()=="x86_64": self.crc_lib = ctypes.CDLL(script_dir + '/lib/crc_amd64.so') elif platform.machine()=="aarch64": - self.crc_lib = ctypes.CDLL(script_dir + '/lib/crc_arm64.so') + self.crc_lib = ctypes.CDLL(script_dir + '/lib/crc_aarch64.so') self.crc_lib.crc32_core.argtypes = (ctypes.POINTER(ctypes.c_uint32), ctypes.c_uint32) self.crc_lib.crc32_core.restype = ctypes.c_uint32