Skip to content

Commit 72cb747

Browse files
authored
Add files via upload
1 parent 7751d1e commit 72cb747

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎app.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from urx import Robot
2+
robot = Robot('192.168.0.5')
3+
current_position = robot.getj()
4+
x, y, z, rx, ry, rz = current_position[:6]
5+
6+
robot.movej( (x+0.2, y, z, rx, ry, rz))

0 commit comments

Comments
 (0)