Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: singline on May 12, 2016, 11:03:06 AM

Title: Custom tool axis issue
Post by: singline on May 12, 2016, 11:03:06 AM
So I've setup a very simple custom tool to hold a chalk pen - photo attached.

The simulation runs all correct based on the 'drawing and engraving' sample provided, but for some reason when exported to the KUKA the robot is going through the table instead of coming down on the z-axis as shown in the simulation?

In the simulation if I set the custom tool Tool B rotation to -90 the simulation is correct but it doesn't seem to correct at the KUKA end?

Any ideas what I'm missing?
Title: Re: Custom tool axis issue
Post by: Johannes @ Robots in Architecture on May 12, 2016, 04:47:54 PM
Hello,

Generally, the XYZABC values of the physical and virtual tool always have to be the same. If they are not, you will have differences between the simulation and the actual robot.
So if you change the simulation to B = -90, you have to do the same with the robot!
Note that KUKA|prc uses X as the tool axis (which is not a setting of the robot, it only affects how the ABC values have to be laid out).

Does that solve the problem, or does it still occur?

Best,
Johannes
Title: Re: Custom tool axis issue
Post by: singline on May 18, 2016, 10:16:21 AM
Yes, that was exactly the issue, thank you for the prompt reply!

(https://scontent-lax3-1.xx.fbcdn.net/t31.0-8/13220678_10153585783436935_2952671581771444426_o.jpg)
Title: Re: Custom tool axis issue
Post by: Johannes @ Robots in Architecture on May 20, 2016, 11:48:26 PM
...I'm somehow unsure whether to delete your photos as offensive or to consider them as artwork ;)
Let's just presume that I've never seen them and never wrote that post.
Best, Johannes
Title: Re: Custom tool axis issue
Post by: singline on May 21, 2016, 09:01:59 AM
the way I see it, if I'm going devote months of my time getting it all working smoothly, it may as well be funny!

I can assure you since figuring this out, I am now head deep into advanced pick & place with emergence algorithms via GH + KUKA prc.. thanks again for your assistance, couldn't have done it without it.
Title: Re: Custom tool axis issue
Post by: Johannes @ Robots in Architecture on May 21, 2016, 06:11:00 PM
Glad to hear that!
All the best with your further "pick and placing" ;)