Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: Nicholas Ziglio on March 16, 2020, 04:51:05 PM

Title: How to avoid weird and unnecessary rotations from start/end positions?
Post by: Nicholas Ziglio on March 16, 2020, 04:51:05 PM
How can I avoid these weird rotations at the start and end of my program?
I have tried modifying the custom tool rotations (ABC) and the initial start/end positions of the robot but I can't seem to figure it out.
Rhino and GH files in attachments if needed

(https://i.imgur.com/9ctSbL1.png)
Title: Re: How to avoid weird and unnecessary rotations from start/end positions?
Post by: Johannes @ Robots in Architecture on March 17, 2020, 10:59:17 AM
Hello Nicholas,

Your program starts with a linear movement, which does not contain any information regarding the posture of the robot, so it chooses a default value.
You can go to Settings/Advanced and then look at the Start-/Endposition tab. Change the Initial Posture e.g. to 010 and it will move the more directly.
At the end, the robot is moving back to its position given in axis values. As you are winding up your A6 it will unwind.
You can right-click the robot component and set A6 to infinite, note that you also need to set that in the robot configuration. The settings in KUKA|prc will only affect the simulation.

Best,
Johannes
Title: Re: How to avoid weird and unnecessary rotations from start/end positions?
Post by: Nicholas Ziglio on March 18, 2020, 03:08:42 PM
Thank you, that fixed it  :)