-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I am trying to move a UR5 robot using the following code:
import URBasic
import time
host = '192.168.1.100'
acc = 0.1
vel = 0.07
robotModle = URBasic.robotModel.RobotModel()
robot = URBasic.urScriptExt.UrScriptExt(host=host,robotModel=robotModle)
robot.reset_error()
print("robot initialised")
time.sleep(1)
Pose = robot.get_actual_tcp_pose()
print("Current tool pose is: ", Pose)
Pose[2] = Pose[2] + 0.05
print("Future tool pose is: ", Pose)
robot.movel(pose=Pose, a=acc, v=vel)
robot.close()
It seems that my computer and the robot are on the same network and are able to communicate:
Current tool pose is: [ 0.36921247 0.1842587 0.27898496 2.89767536 -1.15661975 -0.05704079]
Future tool pose is: [ 0.36921247 0.1842587 0.32898496 2.89767536 -1.15661975 -0.05704079]
However, the robot doesn't move. Do I need to configure something differently on the UR5 to enable movement?
Metadata
Metadata
Assignees
Labels
No labels