Setup for Motion Planning

To use the motion planner, there needs to be a robot, ideally with a tool. It also makes sense to have at least one object within the workspace otherwise collision-avoidance is not needed. It can be helpful to have at least two targets assigned which will serve as the start and end locations for the generated collision-free path.

The example welding setup can be created using the following process:

1.Select a robot:

a.SelectFileCollision Avoidance - Image 7Open online library

b.Use the filters to find your robot. For example, select the ABB IRB 2600-12/1.85 (choose the following filters: ABB (brand), 10-20 kg payload and 1500-2000mm reach.

c.Select Download and the robot should automatically appear on the main screen.

2.Select a tool:

a.From the same online library, filter byTypeTool(clickReset filterfirst to remove the previous filters)

b.Download a tool, e.g. the "Weld Gun"

c.The tool should be automatically attached to the robot

d.Once the tool is loaded, the Online library can be closed

3.Add a reference frame:

a.SelectProgramCollision Avoidance - Image 8Add Reference Frame

b.Select the new reference frame in the tree and press F2 to rename it to "Obstacle Reference"

4.Add some objects:

a.SelectFileCollision Avoidance - Image 9Opento open the RoboDK Library directory located in your computer (it will be in the RoboDK install directory).

b.Select an object, such as the "Object Table.wrl"

c.Drag and drop the object onto the Obstacle Reference within the station tree.

d.Select another object, such as "box.stl" and drag this onto the Obstacle Reference also.

e.Move the table in front of the robot by doing the following:

i.Right click on the Obstacle Reference and choose "Options" (or just double click on the reference in the tree) to bring up theFrame Detailspanel

ii.Enter the following values in the panel namedReference position with respect to: Project:1000, 0, 400, 90, 0, 0

Collision Avoidance - Image 10

f.If necessary, increase the size and position of your object (e.g. the "box") by following these steps:

iii.Right click on the object in the station tree and chooseOptions(or just double click on the object in the tree) to bring up theObject Detailspanel

iv.Scale the box by clickingMore options…Apply Scaleand enter "4.0" in theScale ratio

v.Move the box onto the table by entering the following values in the panel namedObject position with respect to Obstacle Reference:0, 0, 200, 0, 0, 0

Collision Avoidance - Image 11

5.Create targets:

a.SelectProgramCollision Avoidance - Image 12Teach Target

b.Select the new Target in the station tree and select F2 to rename it toStart Target

c.Move the target by doing this:

vi.Right click on the target in the station tree and chooseOptions(or press F3) to bring up theStart Targetpanel.

vii.Enter the following values in theTarget position with respect to Obstacle Referencepanels: 500, 0, 0, 90, 0, 180

d.Create a second target, in the same way, and rename itEnd Target. Using the same method as before, move it to the location: -500, 0, 0, 90, 0, 180

Collision Avoidance - Image 13