09-30-2020, 10:44 AM
Hi,
I need to use the robot paint example for a project and it seems to give me an error that I cant figure out.
The Demo scene with the ABB robot works fine, I can generate program, no issues.
When I change the robot to an Kuka KRC4 robot, the demo runs fine in RDK (it draws the picture), but when I export the robot program I get this error:
Failed to generate program "Robotpaint" using the Post Processor "KUKA_KRC4"
Post processor path:C:/RoboDK/Posts/KUKA_KRC4.py
Traceback (most recent call last):
File "C:/Users/alle/AppData/Local/Temp/PostRobotpaint.py", line 1547, in
make_program()
File "C:/Users/alle/AppData/Local/Temp/PostRobotpaint.py", line 1542, in make_program
r.MoveL(None,[0,-90,90,0,90,0],None)
File "C:\RoboDK\Posts\KUKA_KRC2.py", line 569, in MoveL
self.addline('LIN {' + self.pose_2_str_ext(pose,joints) + str_config + '}' + self.C_DIS)
File "C:\RoboDK\Posts\KUKA_KRC2.py", line 207, in pose_2_str_ext
return self.pose_2_str(pose)
File "C:\RoboDK\Posts\KUKA_KRC2.py", line 198, in pose_2_str
raise Exception("Unable to create a Linear movement (LIN) using a Joint Target. Use a Cartesian target instead.")
Exception: Unable to create a Linear movement (LIN) using a Joint Target. Use a Cartesian target instead.
I need to use the robot paint example for a project and it seems to give me an error that I cant figure out.
The Demo scene with the ABB robot works fine, I can generate program, no issues.
When I change the robot to an Kuka KRC4 robot, the demo runs fine in RDK (it draws the picture), but when I export the robot program I get this error:
Failed to generate program "Robotpaint" using the Post Processor "KUKA_KRC4"
Post processor path:C:/RoboDK/Posts/KUKA_KRC4.py
Traceback (most recent call last):
File "C:/Users/alle/AppData/Local/Temp/PostRobotpaint.py", line 1547, in
make_program()
File "C:/Users/alle/AppData/Local/Temp/PostRobotpaint.py", line 1542, in make_program
r.MoveL(None,[0,-90,90,0,90,0],None)
File "C:\RoboDK\Posts\KUKA_KRC2.py", line 569, in MoveL
self.addline('LIN {' + self.pose_2_str_ext(pose,joints) + str_config + '}' + self.C_DIS)
File "C:\RoboDK\Posts\KUKA_KRC2.py", line 207, in pose_2_str_ext
return self.pose_2_str(pose)
File "C:\RoboDK\Posts\KUKA_KRC2.py", line 198, in pose_2_str
raise Exception("Unable to create a Linear movement (LIN) using a Joint Target. Use a Cartesian target instead.")
Exception: Unable to create a Linear movement (LIN) using a Joint Target. Use a Cartesian target instead.