Skip to content
Snippets Groups Projects
Commit 2810f1ec authored by Henrik Lindgren's avatar Henrik Lindgren
Browse files

get ip and port from variables set from controls

parent fe3fcde2
No related branches found
No related tags found
No related merge requests found
...@@ -252,7 +252,7 @@ def unregister(): ...@@ -252,7 +252,7 @@ def unregister():
def send_motion(servo_data): def send_motion(servo_data):
requests.post('http://' + DOFBOT_IP + ':' + str(DOFBOT_PORT) + '/motion', json = servo_data) requests.post('http://' + bpy.context.scene.dofbot.dofbot_ip + ':' + str(bpy.context.scene.dofbot.dofbot_port) + '/motion', json = servo_data)
def run_animation(): def run_animation():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment