When I run the record.py example with the --binary argument there is an error.
run code :
python .\record.py --binary
error :
Traceback (most recent call last): File "...\rtde\examples\record.py", line 78, in <module> writer.writeheader() File "...\.venv\lib\site-packages\rtde\csv_binary_writer.py", line 75, in writeheader self.__file.write(struct.pack(str(len(headerStr)) + 's', headerStr)) struct.error: argument for 's' must be a bytes object
Hello,
When I run the record.py example with the --binary argument there is an error.
run code :
python .\record.py --binary
error :
Traceback (most recent call last): File "...\rtde\examples\record.py", line 78, in <module> writer.writeheader() File "...\.venv\lib\site-packages\rtde\csv_binary_writer.py", line 75, in writeheader self.__file.write(struct.pack(str(len(headerStr)) + 's', headerStr)) struct.error: argument for 's' must be a bytes object