-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
Description
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.