Skip to content

Instantly share code, notes, and snippets.

@sudk1896
Created November 29, 2016 13:07
Show Gist options
  • Save sudk1896/cee2b4d34b2df4619a02996164c13679 to your computer and use it in GitHub Desktop.
Save sudk1896/cee2b4d34b2df4619a02996164c13679 to your computer and use it in GitHub Desktop.
from unrealcv import client
client.connect()
import sys
num = len(sys.argv)
arg_list = (sys.argv)
args = list()
for i in range(1, len(arg_list)):
x = int(arg_list[i])
args.append(x)
command = client.request('vget /camera/0/location')
print command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment