Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Attach an object to an axis

#1
Good morning.
我想将一个对象附加到一个轴(arm)of the robot.
Suppose that I need to put a small box fixed in the axis 4. This box should move along with the axis 4, to allow me to check collisions.
Is it possible?
Thanks in advance.
#2
Hi Mario,

Yes, it's possible, here's the method to do so.

1 - Import the object to add to the robot.
2 - Import the robot to the station
3 - Contact us via email to reach developer mode.
4 - Right-click the robot and select "Modify robot". That will open a window for custom robot building (keep it on the side, don't close it) and create a copy of the robot on the side.
5 - Position your object where you want on the robot copy.
6 - In your station tree, convert the parts of the robot to object (one by one, right-click -> "Convert to object")
7 - Select the object and the robot joint it's attached to, right-click -> "Merge"
8 - Bring back the custom robot window, make sure that all the parts of the robot are listed properly and click update.
9 - Test the newly created robot.

Jeremy
#3
Hi Jeremy.
It works properly.
Thanks.
#4
(10-15-2020, 01:10 PM)Jeremy Wrote:3 - Press XXXX to enter developer mode
Hi Jeremy,

How to exit developer mode after attaching an object?
Thanks,

Yishin
#5
Press the same keys and select "No".

It should exit the dev mode.
If it doesn't, just restart RoboDK.

Jeremy
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.


#6
Hi Mario,

You can attach an object to a robot arm by following these steps:
  1. Select Tools-Run Script
  2. Select Add_Object_To_Robot
  3. Select the object if prompted
  4. Select the robot link
Albert
#7
(11-01-2021, 03:49 PM)Albert Wrote:You can attach an object to a robot arm by following these steps:
  1. Select Tools-Run Script
  2. Select Add_Object_To_Robot
  3. Select the object if prompted
  4. Select the robot link

Hi Albert,

After doing "setp2 - Add_Object_To_Robot", there's no response from RoboDK.
Basically, with my DK-5.3.0, there's no script of "Run Script" can output any response.
I could run post process script, so the Python settings seems to be fine.

How should I proceed for the "Run Script" issue?

Thanks,

Yishin
#8
(10-14-2020, 10:21 PM)Mario Mendes Wrote:Good morning.
我想将一个对象附加到一个轴(arm)of the robot.
Suppose that I need to put a small box fixed in the axis 4. This box should move along with the axis 4, to allow me to check collisions.
Is it possible?
Thanks in advance.

Thanks for the useful information :)
#9
Yishin,

Are you saying that none of your script are working?

Could you give it a go to ScaleXYZ?
It's a very simple script and you should see if it works right away.

Jeremy
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.


#10
(11-08-2021, 07:38 PM)Jeremy Wrote:Are you saying that none of your script are working?
Could you give it a go to ScaleXYZ?
Correct, none of the script is working.
For example, when I click "SacleXYZ", and click "OK", there's no new window pop out, no error message, neither.
FYI, my Python is installed in c:/Program Files/Python37.

Is it possible to catch any debug messages for clicking "ScaleXYZ"?

Yishin




Users browsing this thread:
2 Guest(s)