RoboDK Forum
How to link object with robot movement- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:基因ral questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: How to link object with robot movement (/Thread-How-to-link-object-with-robot-movement)



How to link object with robot movement-Hiroe Ota-10-22-2020

Hello,

I would like to link an object to [1][2][3][4][5][6] in a Show Frame in order to synchronize object with robot movement.
Does anyone have an good idea to do that?

Best Regards,

Hiroe Ota


RE: How to link object with robot movement-Jeremy-10-22-2020

Hi Hiroe,

I'm trying to understand what you mean by that.
Do you want to have the object attached to the robot at all times where joints 1 to 6 are?
On the robot or separated?
One object or 6 objects?

Jeremy


RE: How to link object with robot movement-Hiroe Ota-10-23-2020

Dear Jeremy,

Sorry for my first post being unclear...

我们想要实现的是,
1. Set virtual objects surrounding collaborative robot to keep minimum safety distance. Please see the attached image.
2. Synchronize the virtual object around robot with robot movement

Our final goal is to detect collisions between the virtual surrounding objects and other nearby equipment as a risk assessment tool.

We would really appreciate your support.


RE: How to link object with robot movement-Jeremy-10-23-2020

Hi Hiroe,

Interesting.
I don't have a 1 click solution for you, but I do think that we can find a way.

Just adding the volumes to the robot is quite easy. You just have to create geometric shapes on top of the robot model. Exactly like you did. The only thing you need to do is making sure the origin of these shapes is at the base of the robot.
To keep the same kinematic, you can simply modify the existing robot by entering debug mode. "Ctrl" + "Alt" + "Shift" + "G" (latest version of RoboDK)
Right-click the robot and "Modify Robot".

Convert the copy of the robot to object - Select all "little cylinders" -> Right-click -> "Convert to Object"
Merge the existing 3D models of the robot Joints and the Shapes you created: Select both parts -> Right-Click -> "Merge"

You then replace the 3D model in the "Modify Robot" window. Make sure to select the right reference frame, otherwise, the parts will fly around.

Now, we have a robot with a safety zone.
Using this robot all the time is not perfect. But the way it's created, we can't just hide the safety zone.
But what we can do is use a normal robot for our simulation. When it's time to do the collision checking, you "unhide" the safety robot and "hide" the normal robot.

At this point, if you run the program you created, nothing will happen because the program will run on the hidden robot.
But if the safety robot is set to mirror the joints of the normal robot, both robots will follow the exact same paths.
There's a script Albert wrote not so long ago the does exactly that. Here's the thread://www.sinclairbody.com/forum/Thread-Select-multiple-robots?highlight=mirror

I hope it helps.
Let me know if you need more info.
I might edit for clarity tomorrow.

Jeremy


RE: How to link object with robot movement-Hiroe Ota-10-27-2020

Dear Jeremy,

Thank you for your guidance. we would like to proceed based on your advice.

Best Regards,