Set scene object position¶
Set position/pose of a scene object.
The position of a scene object can be replaced by any pose. For example, obstacles can be moved to new positions in the sequence or poses of ROIs can be adjusted.
Hint
This task can be used, for example, to adjust the position of an ROI to a moving crate. The crate is localized with Search scene object and the current pose of the crate is read out using the Read scene object position task. The read pose is then used as input for this task to set the ROI position.
Variables¶
Name |
Type |
Description |
|---|---|---|
Object |
Crate, ROI, Obstruction, Integer |
The name or ID of a scene object (optional) |
New position |
Pose |
The position or pose to be used for the scene object. |
Hint
This task triggers a pre-run stop. This means that all robot movements accumulated from previous tasks are executed and must be completed before this task is executed.