Get area center coordinates

Action group: Base actions


The action returns the area center coordinates.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
AreaArea location and sizeRobin.RectangleL ocation
Yes
Results
ResultArea center coordinatesRobin.LocationPo int

Special conditions of use

None. 

Example of use

Task

Get area center coordinates.

Solution

Use the "Get area center coordinates" action.

Implementation

  1. Move the "Get area center coordinates" action to the workspace ("Base actions" group).
  2. Create "Area" type variable and select coordinates by clicking the PickArea button and save changes.

  3. In the "Area" field in the action parameters specify the variable with area coordinates.

  4. Start the robot by clicking "Start" in the top panel.

Result

The program robot completed successfully, the area center coordinates were obtained.

  • Нет меток