You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 1.1.2 imu data streaming should be possible. The thing missing is documentation on how to achive this task.
I have noticed though that the function receive_imu_data is now available and tried implementing that in a simmilar way to the video stream in the "match gaze and video" async example:
Now though I get following error when running this:
Unable to parse imu data RTSPData(raw=b"\\\x81\xfc\x06\x7fM\xfe8\xf5\xd7\xa5\xd7!\x9f\xbe'\xbe\xfb\xcf\\\x87\xee^\xc6S\xd7~\xfeN\x97\xcb\xa7?\xf2\xe9~^\xd5q\x12\xaaj\x9f\xda\xf0O\xdaV\xb3\xe3}\xf44?.\\\xb4\xbb\xef\xf7\xe9y\xbd\xd7g\xb5\x89\xe8\xecW%xK\x90gg\xe6\xb0t\x0e^A\xa3+_\xf7~\x1b\xe45\x1eNp\x9a\xff@/0K\xb7\xec\xdb\x7f1\xeb\xbe\xad7GdGV\xbe\xc6t\x0f\xdct\xd3\xf5\xde\xff\x93\xda\xf1\xf6*\x8d\x9f\xb3\xd7\xda\xae\x13\x91\x99X\xb5\xfcV\x89\xeb\xa2\\\xdd\x14O \xde\xef\x94b]<r\x8e\xe4\xf6\x81/f\xa5\xae\x10\x1b\xaa\xd7\xde\xba\xbf\xcd\xaf\xe5:\xeb\xe4\xeb6.A\x88\xcf\xc8\x94\xf99\x8f\xbd\x08T\x8b\xc82\x97\xe4\xdf\xf7\xd3\xf9=/\x1dnc\x1e\xd5\x97|\x94\xbf\x9b}\xf2\xf7\x9fD\xba\xf5S>\xf1\x9c\xdc\xcfa\x02\x8c\xff8e\x7f\xa0\x12\xec$\xbdtw\xfa\xda~_K\xc1'\xbfW6\xba\xea\xdfV\xb1\n!\x84B\xb8\xbeA\x9a\xd5\xc6_\xb1mJo6\xd5\xf8\xc9\xa9\xfaU$\xbd\x97\xe1\x0fOk\xa5\xf1^\x87D\xda\xf8\x9a\xcf\x0f\x8e\xd7\xe3\xe5\x9f\xd2!.g\x93\x88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x89\x13\x1b\x89\xe5\xeb\xe49\xbf\x84BV\xfd\x07\xe7c\xcb\xb2n\xa9\x8c=\xfc\x8f\xed\xf5\x88\xaf\xcd\xda\xf8#\x1b\xa5t\x9c\xdd'\xf2\x84\xbaZ\xbdfc\xc5\x9fj\xbc\xbc\x94\xb9\xb8O\xd2O\x89\xae67\xf8\xc1\xbf\xf5\xc83*\x98\xdem\xbf\xcav\xf8\x7f\x8b\x199\x1f\xb6\xb9O\\W.6\x18\x08e\x7f\xcc\x82\xd4\xdc\xdeix\xcfk\x96E\x94l\x96\xd7\xbe\x08F\xedR\xa1W\xeeA\x85$\xda\x07\xf3\x19\xff\x94n\x01F\xea\x9ena\x8d\xf5\xa8\xa10\x9c!\xdd?\xe6\xeb\x0e\x0e$\xd9\xd5\xc2\x01&\xbd\x1d\xa4?\xe4\x1a\xff\xc7\x9bM\xbd\xbe\xcbb\x025=\xcd\xee\xb8\xcf\xa1\x11\x98\xd8\xa7\xae!\xb5\xe77\xfe3\xcc\xde\xd6t\xa4\xc8M\xfd?\x08\xd0=\x03\xce1\xd9\xb3Ayy\xc5~S?\\q\xfa#\x9f\xa1\xfbK]\xe9\xeb", timestamp_unix_seconds=1696504982.2927241)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pupil_labs/realtime_api/streaming/imu.py", line 71, in receive
imu_packet.ParseFromString(data.raw)
File "/home/vscode/.local/lib/python3.10/site-packages/google/protobuf/message.py", line 199, in ParseFromString
return self.MergeFromString(serialized)
File "/home/vscode/.local/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 1131, in MergeFromString
raise message_mod.DecodeError('Unexpected end-group tag.')
google.protobuf.message.DecodeError: Unexpected end-group tag.
The error seems to be in the parsing function from pupil_labs/realtime_api/streaming/imu.py though I might have also initialized the imu wrong (I am using the same url as for the camera since the function "receive_imu_data" is also located under the "video" section).
Any help achiving this task would be apreciated!
The text was updated successfully, but these errors were encountered:
Since version 1.1.2 imu data streaming should be possible. The thing missing is documentation on how to achive this task.
I have noticed though that the function receive_imu_data is now available and tried implementing that in a simmilar way to the video stream in the "match gaze and video" async example:
Now though I get following error when running this:
The error seems to be in the parsing function from pupil_labs/realtime_api/streaming/imu.py though I might have also initialized the imu wrong (I am using the same url as for the camera since the function "receive_imu_data" is also located under the "video" section).
Any help achiving this task would be apreciated!
The text was updated successfully, but these errors were encountered: