Difference between revisions of "Bounding Box / Virtual Box"

From Wiki
Line 9: Line 9:
 
This is a bounding box centered around the origin of the coordinate system, extending 4000mm to the left, right, front, back, up and down.
 
This is a bounding box centered around the origin of the coordinate system, extending 4000mm to the left, right, front, back, up and down.
  
=Example=
+
=Example: Do not collide with table=
 
If the robot is mounted on a table, one could, for example, limit the movement of the end effector in the z axis to 100mm above the table by entering the following box parameters:
 
If the robot is mounted on a table, one could, for example, limit the movement of the end effector in the z axis to 100mm above the table by entering the following box parameters:
 
* x: -4000 / +4000  
 
* x: -4000 / +4000  
Line 15: Line 15:
 
* z:  +100 / +4000
 
* z:  +100 / +4000
 
This would prevent the robot colliding with the table. It would stop 100mm above the table.
 
This would prevent the robot colliding with the table. It would stop 100mm above the table.
 +
 +
=Example: Stay in corridor=
 +
To restrict the robot movement in y direction, e.g. to prevent collisions, one could limit the y movement to +/- 200mm from the origin.
 +
* x: -4000 / +4000
 +
* y: -200  / +200
 +
* z: -4000 / +4000

Revision as of 23:34, 4 June 2018

In order to avoid collisions a bounding box can be established for the robot to operate in: If the end effector is moved outside the boundaries of the box, CPRog will produce a warning and the movement of the robot will stop. Subsequently the end effector can be moved back into the box but not further out to avoid any collisions

The box is set up in the absolute coordinate system of the robot. That means the origin of that coordinate system is at the base of the robot below the center of the first joint.

The unit of the bounding box parameters is millimeters. The default setting is:

  • x: -4000 / +4000
  • y: -4000 / +4000
  • z: -4000 / +4000

This is a bounding box centered around the origin of the coordinate system, extending 4000mm to the left, right, front, back, up and down.

Example: Do not collide with table

If the robot is mounted on a table, one could, for example, limit the movement of the end effector in the z axis to 100mm above the table by entering the following box parameters:

  • x: -4000 / +4000
  • y: -4000 / +4000
  • z: +100 / +4000

This would prevent the robot colliding with the table. It would stop 100mm above the table.

Example: Stay in corridor

To restrict the robot movement in y direction, e.g. to prevent collisions, one could limit the y movement to +/- 200mm from the origin.

  • x: -4000 / +4000
  • y: -200 / +200
  • z: -4000 / +4000