Check if connected
(self)
| 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''' |