Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

SPTP For KUKA KRC4

#1
Hi,

I want to use SLIN and SPTP keywords instead of LIN and PTP in Kuka KRC4.

I use  "KUKA_KRC4" post processor and I can change the line LIN_KEYWORD = "LIN" to  LIN_KEYWORD = "SLIN"

but I couldn't find how to change PTP to SPTP

Could you please help me about it?
#2
It is easy to change the PTP to SPTP movements by customizing the post processor in the following manner:
Code:
    def MoveJ(self, pose, joints, conf_RLF=None):           
        self.addline('SPTP {' + self.angles_2_str(joints) + '}' + self.C_PTP)
Make sure to place the code inside the class section.

I attached the post processor with this modification.

You can find more examples here:
https://robodk.com/doc/en/Post-Processor...SamplePost


Attached Files
.zip   KUKA_KRC4_Custom.zip (Size: 3.25 KB / Downloads: 68)
#3
It is working :)

Thanks Albert,
  




Users browsing this thread:
1 Guest(s)