Closed rlabs-oss closed 3 years ago
closed with hard coded path self.lib = ctypes.cdll.LoadLibrary('/home/m/TOFCAM635_SW_Package/Python/SW_TofCam635_Communication_lib-v1.2/SW_TofCam635_Communication_lib/CrcCalc_linux.so')
The ran into length = struct.unpack('<'+'H',tmp[communication.Data.INDEX_LENGTH:communication.Data.INDEX_LENGTH + communication.Data.SIZE_LENGTH])[0] struct.error: unpack requires a buffer of 2 bytes
Linux Ubuntu 20.04 LTS, Python 3.8.5
self.lib.calcCrc32_32.restype=ctypes.c_uint32 AttributeError: 'Crc' object has no attribute 'lib'
Also do you have a none ROS version of the driver something that works via command line to fetch an image and save or example to fetch the point-cloud and dump the points to stdout?