Assignment

Description

The Assignment command enables you to assign values to created variables.


To access Assignment command

  1. Go to the main program screen. See Command Nodes.

  2. Tap the Assignment icon in the Commands toolbox.

    A node with three editable fields is inserted into the program tree:

    • Variable

    • Value Type

    • Set Expression

 
  1. Tap the Variable field to choose your variable:

    • grid

    • grid_iterator

    • var

    The Variable field contains the name of the variable. By default, the variable is called var.

  2. Tap the Value Type field to and select your choice:

    • Array

    • Boolean

    • Float

    • Grid

    • Integer

    • Matrix

    • Pose

    • String

    • Timer

    • Waypoint

    The Value Type contains the type of variable you are creating.

 
  1. Tap the Set Expression field and select your variables and expression.

    The Set Expression is the value to assign the variable.

  2. Tap Confirm.

    Note: Tap the icon arrow left and arrow right in the right sidebar of the main screen if you want the assignment to be reverted.