LED Panel
auto_sync
Set Lightset_led(mode, speed, color)
- Parameters
mode
: Light mode.0
No change.1
Off.2
Constant on.3
Breathing.4
Equally divided rotation.5
Same color rotation.6
Flashing.
speed
: Speed.1
Fast.2
Normal.3
Slow.
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})
auto_sync
Set Soundset_voice(voice, volume)
- Parameters
voice
: Sound list.0
No change1
Xiaobai is starting up, please wait2
Xiaobai is trying to stop3
Warning, collision detected4
Updating, please wait5
Teaching mode enabled6
Teaching mode exited7
Fine-tuning started8
Fine-tuning ended9
Fine-tuning direction changed10
Xiaobai is bored, let's play a game together
volume
: Volume.0
Mute.1
Low.2
Normal.3
High.
Example Program
set_voice(1, 2)
auto_sync
Switch Fanset_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
:1
Off.2
On.
Example Program
set_fan(2)