Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SHAILAB-IPEC/OpenFly-Platform
/ accept_connection
Method
accept_connection
scripts/sim/env_bridge.py:23–26 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
21
print(f
"Listening on {host}:{port}"
)
22
23
def
accept_connection(self):
24
conn, addr = self.server_socket.accept()
25
print(f
"Connected by {addr}"
)
26
return
conn
27
28
def
receive_pose(self, conn):
29
Callers
1
handle_planner
Function · 0.95
Calls
1
accept
Method · 0.45
Tested by
no test coverage detected