TriadSemi / triad_openvr

This is an enhanced wrapper for the already excellent pyopenvr library by cmbruns. The goal of this library is to create easy to use python functions for any SteamVR tracked system.
157 stars 52 forks source link

'NoneType' object is not iterable #30

Closed hardway777 closed 3 years ago

hardway777 commented 3 years ago

Found 2 Tracking References tracking_reference_1 (LHB-AED900E5, Mode HTC V2-XD/XE, HTC V2-XD/XE) tracking_reference_2 (LHB-98BC63FA, Mode HTC V2-XD/XE, HTC V2-XD/XE) Found 1 HMD hmd_1 (LHR-13D8CFA7, Vive. MV) Found 2 Controllers controller_1 (LHR-FF2B1D44, Vive. Controller MV) controller_2 (LHR-FFDEDF40, Vive. Controller MV) Found 0 Trackers Traceback (most recent call last): File "E:\Tools\triad_openvr-master\controller_test.py", line 20, in for each in v.devices["controller_1"].get_pose_euler(): TypeError: 'NoneType' object is not iterable

ZXP-S-works commented 9 months ago

I encountered the same issue. I solved the problem by moving the controller within tracker's view. The STEAMVR should display both controller and the base station, see pic: image