Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to link object with robot movement
#1
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


Attached Files Thumbnail(s)
   
#2
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
#3
Dear Jeremy,

Sorry for my first post being unclear...

What we would like to achieve is, 
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.


Attached Files Thumbnail(s)
       
#4
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: https://robodk.com/forum/Thread-Select-m...ght=mirror

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

Jeremy
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


#5
Dear Jeremy,

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

Best Regards,
  




Users browsing this thread:
1 Guest(s)