|
A Switch Case construction can make the robot change behavior based on sensor inputs or variable values.
Use the Expression Editor to describe the base condition and define the cases under which the robot should proceed to the sub-commands of this Switch.
If the condition is evaluated to match one of the cases, the lines inside the Case are executed. If a Default Case has been specified, then the lines will be executed only if no other matching cases were found.
|