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
{{ message }}
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
When I unsync the myo (by removing it from my arm), on_pose() is triggered in my DeviceListener class prior to on_arm_unsynced().
This results in a ValueError when I try to access the pose event data in my callback: ValueError: 65535 is not a valid Pose.
As a workaround, I have added a try/except block to my on_pose() callback. After handling the error with the try/except, I see that that the on_arm_unsynced() callback is triggered immediately after the on_pose() callback. But I am not sure why on_pose() was called in the first place and with an invalid pose value.
When I unsync the myo (by removing it from my arm),
on_pose()is triggered in my DeviceListener class prior toon_arm_unsynced().This results in a ValueError when I try to access the pose event data in my callback:
ValueError: 65535 is not a valid Pose.As a workaround, I have added a try/except block to my
on_pose()callback. After handling the error with the try/except, I see that that theon_arm_unsynced()callback is triggered immediately after theon_pose()callback. But I am not sure whyon_pose()was called in the first place and with an invalid pose value.