Mimic icon indicating copy to clipboard operation
Mimic copied to clipboard

Error at "Continuous Motion"

Open ahmad-saeed opened this issue 6 years ago • 3 comments

I made a program that I exported and successfully tested. When I check the option "use continuous motion", this error happens: krl.py line 270: To use continuous motion in KRL, template requires 2 placeholders, one for the initial start position and another for the motion variables.

I don't understand what I'm supposed to change. I'm using KUKA KRL processor.

ahmad-saeed avatar May 25 '19 14:05 ahmad-saeed

In the “template” field of the program tab, change the template name from "template" to "template_continuous"

evanatherton avatar May 25 '19 14:05 evanatherton

@evanatherton still getting the same error

ahmad-saeed avatar May 25 '19 14:05 ahmad-saeed

@ahmad-saeed Sorry for the delay!

Did you change the Directory before saving the program by chance? The template you're trying to use has to be in the specified directory The postprocessor looks in the specified directory for the template, and if it can't find it, it uses the default template.

This is behavior we've been meaning to change because it's really unclear, but haven't gotten around to it.

Anyways, that was the only way I was able to recreate your error.

Try exporting without changing the directory (or move the continuous template to the directory you're trying to export to) and let me know if that works

evanatherton avatar Jun 17 '19 18:06 evanatherton