JPannetier Posted July 15, 2018 at 11:00 AM Share Posted July 15, 2018 at 11:00 AM Hello , I'm using Python 3.6. I can run the example to emunerate my device. When I'm using example_simple.py from IMU brick 2.0. I have an error message from imu.get_quaternion() in get_quaternion return GetQuaternion(*self.ipcon.send_request(self, BrickIMU.FUNCTION_GET_QUATERNION, (), '', 'f f f f')) File "C:\Users\JPannetier\Anaconda3\lib\site-packages\tinkerforge\ip_connection.py", line 1194, in send_request return unpack_payload(response[8:], form_ret) File "C:\Users\JPannetier\Anaconda3\lib\site-packages\tinkerforge\ip_connection.py", line 251, in unpack_payload x = struct.unpack(f, data[:length]) error: unpack requires a buffer of 4 bytes Thank you Best regard Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.