LED Panel
Set Light auto_sync
set_led(mode, speed, color)
- Parameters
mode: Light mode.0No change.1Off.2Constant on.3Breathing.4Equally divided rotation.5Same color rotation.6Flashing.
speed: Speed.1Fast.2Normal.3Slow.
color: Up to 4 integers between 0 and 15, corresponding to the following colors:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
Example Program
set_led(1, 2, {1, 2, 3, 4})
Set Sound auto_sync
set_voice(voice, volume)
- Parameters
voice: Sound list.0No change1Xiaobai is starting up, please wait2Xiaobai is trying to stop3Warning, collision detected4Updating, please wait5Teaching mode enabled6Teaching mode exited7Fine-tuning started8Fine-tuning ended9Fine-tuning direction changed10Xiaobai is bored, let's play a game together
volume: Volume.0Mute.1Low.2Normal.3High.
Example Program
set_voice(1, 2)
Switch Fan auto_sync
set_fan(status)
Note
When the system detects that the robot's operating temperature is too high, it will automatically turn on the cooling fan.
- Parameters
status:1Off.2On.
Example Program
set_fan(2)
