MCPcopy Create free account
hub / github.com/SHAILAB-IPEC/OpenFly-Platform / _connection_check

Method _connection_check

train/eval.py:208–214  ·  view source on GitHub ↗

Check if connected

(self)

Source from the content-addressed store, hash-verified

206 self._client.disconnect()
207
208 def _connection_check(self):
209 '''Check if connected'''
210 if self._client.connect():
211 print('UnrealCV connected successfully')
212 else:
213 print('UnrealCV is not connected')
214 exit()
215
216 def set_camera_pose(self, x, y, z, pitch, yaw, roll):
217 '''Set camera position'''

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected