Commit c737da45 by Laodikea
parents 97f0fd8f 5d96a0a3
git clonella catkin_ws:n src-hakemistoon, niin kääntyy catkin_makella, kunhan iai_kinect2 kääntyy myös. URsim-hakemiston sisältö kuuluu URsim-ohjelman hakemston programs-alahakemistoon.
\ No newline at end of file
No preview for this file type
def yhdista():
while True:
if socket_open("127.0.0.1",30005):
break
end
end
end
def matki():
rivi = socket_read_ascii_float(2)
y = rivi[1]
z = rivi[2]
x = 0.5
rx = 0
ry = 3.14
rz= 0
target = p[x,y,z,rx,ry,rz]
if is_within_safety_limits(target):
textmsg(rivi[1])
textmsg(rivi[2])
movel(p[x, y, z, rx, ry, rz], a=1, v=1)
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment