Skip to content

Editor (Project)

Michal Kapinus edited this page Dec 14, 2021 · 13 revisions

Action object

All objects presented in scene are available in the corresponding project as well. They could be used as a spatial anchor for any action points or they could provide actions.

Parameters override

Each action object could have 0..n parameters, such as address of the service, virtual or physical port, type of workpiece to be manipulated etc. Such a parameter is usually set in the scene, but it could be overrided in the project, to achieve higher versatility of the system. Using the gear button in utility menu, the action object settings menu could be opened (see image). In this menu, all available parameters and their actual value could be seen and altered. When some parameter is overrided, the trash button could be used to remove the override and return to the default value.

!!! TODO: image

Block list

Any action object or collision object could be added to the block list, causing that it will not be rendered in the scene and no interaction using the sight will be enabled. It is done by the block list switch in the same menu, where parameters overrides are defined (see above). This is especially useful with for example safety fences around the workplace, which needs to be defined for the robot to avoid them, but the user usually don't want to interact with them. Any object placed on the block list could be selected using the block list button in the selector menu.

!!! TODO: add reference to selector menu

Action points

Action objects servers as a spatial anchors in the scene. They represent important points in the environment, such as position of the object to be picked, position of the hole where a peg should be inserted etc. The action point itself only represent the position and not the rotation. Each action point in fact is a container, which could contain several orientations or robot's joints values. This means that one action point could represents several poses and/or robot arm configurations.

The action point could be defined as global (i.e. has no parent) or it could be added into a hierarchy (action object or another action point could serve as a parent), meaning that any spatial change to the parent will influence corresponding spatial change for all descendants.

Visualization in the scene

The action points are visualized as a spheres at the defined position. The size of the action point could be altered using a main settings menu (!!! TODO: add reference). Hierarchy of the action points is visualized using an arrow from the action point to its parent.

!!! TODO: add image

Adding to the scene

An action point could be added to the scene using the add category of the left menu. When the user has selected any object which could serves as a parent of an action point (i.e. any action object or another action point), the new action point is added with the selected object as its parent. When no object is selected, the new action point is added with no parent (i.e. is global).

Manually

Using the action point button in the add category of the left menu, the action point is added manually to the scene, meaning that its position is set 0.5 meters from the tablet in the direction of sight.

Using robot

Using the action point with robot button in the add category of the left menu, the action point is added at the position of the currently selected end-effector. Default orientation is added to the newly created action point, representing the current pose of the end-effector. Joint configuration of the selected robot's arm is added as well.

Orientations

Orientations could be optionally stored in any action point. Together with the action point position, they represent poses in the environment. In the scene, they are represented with small arrow around the action point, showing the actual orientation (and, for example, orientation of the end effector in that pose).

The orientations could be managed in the action point aiming menu (see image). The user could create a new orientation, delete old one or update name or position of existing one. The orientation could be updated manually as a quaternion or euler angles, or using a selected robot's end-effector.

When the action point is created using the robot (see above), a current orientation of its end-effector is added to the action point (with name Default).

Robot joints

Robot joints represent an arbitrary robot's arm configuration (i.e. the posture of the arm). They could be managed similarly to the orientation, using the action point aiming menu* (see above). The only difference there is that any robot joints could be either valid or invalid. The state of the joints is indicated with the tight line on the side of the joints name, which could be red (invalid) or green (valid). The validity of the joints mean that when the robot is set to that joints configuration, its end effector will be in the position of the action point. The joints gets invalidated when the action point's position is changed after the joints configuration has been created. To make them valid again, they needs to be updated using the robot.

Contrary to orientations, any robot joints are valid only for the robot they have been created with.

!!! TODO: add images

Positioning of AP

The position of the action point is determined upon the creation process and it could be changed later, by various ways.

Aiming using robot

The most precise method of defining position of action point in "free space" is by using a robot. The action point's position could be aligned with currently selected robot either by using the object manipulation menu (!!! TODO: add reference), or by using the action point aiming menu.

Manual

The action points could be manipulated using the object manipulation menu. In the action point aiming menu, the position of the action point could also be set directly, using its 3D coordinates (only when expert mode is enabled).

Actions

The action represents one step in the robot's program. This step could be composed from several atomic robot instructions (such as action pick could be composed from several move instructions and gripper position instruction). Each action belongs to exactly one action point. This relationship is made purely for visualization and has no implicit semantical meanings, although the action is typically placed to the action point in the spot, where the actual action takes place.

Visualization in the scene

The actions are represented by small, 3D arrows above the action points. When the action is connected with a following action, the orientation of the arrow is set in the direction of the following action.

Adding to the scene

Actions are added using the Add action button in the add category of the left menu. To add an action, some action point needs to be selected first. After the button was hit, a menu with all available actions is opened. The actions are categorized by corresponding action objects, presented in the scene, which servers as a actions providers (i.e. any action object could provide an action). After selection of desired action, the action is added to the selected action point with default parameters.

Action parameters

Execution of action

Connections

Visualization in the scene

Adding to the scene

Program

Package creation

Temporary package run

Debug mode

Break points