07-25-2025, 03:03 AM
Hello everyone,
I am currently trying to operate a real fanuc CRX robot using the Python API.
I was able to move the robot successfully, but the actual movement speed of the robot is clearly different from the speed set using robot.setSpeed(100).
Could you please advise me on how to resolve this issue?
Best regards
Tyler
I am currently trying to operate a real fanuc CRX robot using the Python API.
I was able to move the robot successfully, but the actual movement speed of the robot is clearly different from the speed set using robot.setSpeed(100).
Could you please advise me on how to resolve this issue?
Best regards
Tyler
Code:
RDK.setRunMode(RUNMODE_QUICKVALIDATE)
RDK._RAISE_EXCEPTION_ON_WARNING = True
robot.Connect()
move_speed = 500
try:
#robot.MoveL(newPosition)
robot.setSpeed(speed_linear=move_speed,speed_joints=-1,accel_linear=-1,accel_joints=-1)
# robot.setSpeed(100) it doesn't work too
robot.MoveL(Approach)
robot.MoveL(Target)
print("Movement successful")
except Exception as e:
print("Problems with movement:", e)