01-16-2023, 09:36 AM
Hi, I would like to create a simple program using python where an "object" (e.g., a cube) continuously moves within the scene with respect to the robot base frame. I will provide time to time the coordinates of this object. Could you kindly provide where I can find some examples to develop such kind of program or an example of code?
This is the simple code I am using but it returns an error on the last instruction:
# Program:
cube = RDK.Item('Cube 100mm')
print("cube pose is ", Pose_2_UR(cube.PoseAbs()))
new_position = Pose_2_UR([100年0.0,0.0,0.0,0.0,0.0])
cube.setPoseAbs(new_position)
Thank you in advance.
EM
This is the simple code I am using but it returns an error on the last instruction:
# Program:
cube = RDK.Item('Cube 100mm')
print("cube pose is ", Pose_2_UR(cube.PoseAbs()))
new_position = Pose_2_UR([100年0.0,0.0,0.0,0.0,0.0])
cube.setPoseAbs(new_position)
Thank you in advance.
EM