Read scene object position

Write position/pose of a scene object in variable.

If the 2D search of the scene object is activated, two scenarios are created for this task:

  1. The scene object has not yet been localized (see Task Search scene object):
    In this case, the task returns the default pose of the object as the position.
  2. The scene object has already been localized (see Search scene object, Find object):
    The current position (and therefore the result of the last search for the object) is written to the output variable.

Variables

Input/Output

Name

Type

Description

Input (optional)

Object

Box, ROI, Obstruction, Integer

The name of the scene object or the ID of the scene object

Output

Position

Pose

The position or pose of the object is written to this variable by the task.