Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at "Continuous Motion" #4

Open
ahmad-saeed opened this issue May 25, 2019 · 3 comments
Open

Error at "Continuous Motion" #4

ahmad-saeed opened this issue May 25, 2019 · 3 comments

Comments

@ahmad-saeed
Copy link

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.

@evanatherton
Copy link
Member

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

@ahmad-saeed
Copy link
Author

ahmad-saeed commented May 25, 2019

@evanatherton still getting the same error

@evanatherton
Copy link
Member

evanatherton commented Jun 17, 2019

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants