MCPcopy Create free account
hub / github.com/LeoDJ/P2Pro-Viewer / __init__

Method __init__

P2Pro/P2Pro_cmd.py:81–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 _dev: usb.core.Device
80
81 def __init__(self):
82 self._dev = usb.core.find(idVendor=0x0BDA, idProduct=0x5830)
83 if (self._dev == None):
84 raise FileNotFoundError("Infiray P2 Pro thermal module not found, please connect and try again!")
85 pass
86
87 def _check_camera_ready(self) -> bool:
88 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected