EasyManua.ls Logo

dji RoboMaster EP - Page 160

dji RoboMaster EP
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
159
(1) Objective: Creates a name for a new variable
(2) Type: Settings block
(3) Example: Name a new variable
Each variable name must be unique and simple to understand.
For example, we often name the variable for a marker in the sequence as Flag, and the variable used to store
value as Number.
Variable names need to begin with an underscore or a letter, and can only contain numbers, uppercase and
lowercase letters, and underscores.
Note:
After a variable name is created, you can assign and adjust the value using the three blocks available.
(1) Objective: Contains information about the variable
(2) Type: Information block (variable-type)
(3) Example: Switch on LEDs one after another
This will command the robot to switch off all gimbal LEDs, and then switch on LEDs 1 to 8 in sequence.

Related product manuals