Difference between revisions of "Bounding Box / Virtual Box"

From Wiki
Line 10: Line 10:
  
 
=Example=
 
=Example=
If the robot is mounted on a table, one could, for example, limit the movement of the end effector 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  
 
* y: -4000 / +4000  
 
* y: -4000 / +4000  
 
* 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.

Revision as of 22:32, 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

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.