EasyManua.ls Logo

dji Robomaster EP Core - Page 122

dji Robomaster EP Core
152 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...
121
15. ( ) and( )
(1) Description: Return the condition Truewhen two conditions are met; otherwise, the condition Falseis returned.
(2) Return value: Boolean
(3) Example: Clap to summon the robot
When a person stands one meter away from the robot and claps twice, the robot will approach. Both Personand Clap two
timesare essential conditions, and thus use AND.
Note:
and,” “or,and not are logical operations, and the returned result will be a Boolean value: True,or False.
The and of Boolean truth list:
16. ( ) or ( )
(1) Description: Return Trueif either condition is met; or Falseif neither condition is met.
(2) Return value: Boolean

Other manuals for dji Robomaster EP Core

Related product manuals