行动#
介绍#
VEX 123 机器人可以通过执行一系列行驶、转弯和发声行为来表达不同的情绪。
以下是所有方法的列表:
行动——将情绪付诸实践。
act— Acts out a specified emotion.
行动#
act#
act makes the robot act out an emotion by performing a sequence of drive, turn, and sound behaviors.
Usage:
robot.act(emotion)
范围 |
描述 |
|---|---|
|
The emotion to act out:
|
# Act happy
robot.act(HAPPY)