mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: path fix?
This commit is contained in:
parent
0ea6523ec1
commit
4cde26609f
@ -82,9 +82,10 @@ class var:
|
|||||||
def center_overlay_calibrate(self):
|
def center_overlay_calibrate(self):
|
||||||
# try:
|
# try:
|
||||||
print(os.getcwd())
|
print(os.getcwd())
|
||||||
os.startfile(
|
|
||||||
os.getcwd() + "/Tools/ETVR_SteamVR_Calibration_Overlay.exe center"
|
dirname = os.path.dirname(__file__)
|
||||||
) # check the file path.
|
overlay_path = os.path.join(dirname, "Tools/ETVR_SteamVR_Calibration_Overlay.exe")
|
||||||
|
os.startfile(overlay_path + " center") # check the file path.
|
||||||
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
server_address = ("localhost", 1234)
|
server_address = ("localhost", 1234)
|
||||||
sock.bind(server_address)
|
sock.bind(server_address)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user