Hi,
When I run the command
python automailx.py --serial COM2
the program starts. But after about 20 seconds, I get the error
line 357, in __readserial
gz = float(gyro[3])
ValueError: could not convert string to float: b'10\xb552'
Firstly, it seem like correct, leg moves according to moving of mpu6050.
But after a while, the error occured.
I write here similar errors for different applications.
ValueError: could not convert string to float: b'2.\xb17'
ValueError: could not convert string to float: b'?086107.12'
ValueError: could not convert string to float: b'1059\xb767.37'
ValueError: could not convert string to float: b'\xf1034624.93'
ValueError: could not convert string to float: b'23.5\xb6'
I try it on two different mpu6050 sensor. Result is the same. Could it be related with wire connections?
I use python 3.x
I also want to learn that what we assume where the sensor? It is at heel or in the middle of the leg or knee cap? Also, shouldn't we use two sensors to to understand the position of the leg?
Thank you
Hi,
When I run the command
python automailx.py --serial COM2the program starts. But after about 20 seconds, I get the error
Firstly, it seem like correct, leg moves according to moving of mpu6050.
But after a while, the error occured.
I write here similar errors for different applications.
I try it on two different mpu6050 sensor. Result is the same. Could it be related with wire connections?
I use python 3.x
I also want to learn that what we assume where the sensor? It is at heel or in the middle of the leg or knee cap? Also, shouldn't we use two sensors to to understand the position of the leg?
Thank you