7.12 Light Strip Control Section
7.12 Light Strip Control Section
Section titled “7.12 Light Strip Control Section”7.12.1 Overview
Section titled “7.12.1 Overview”The light strip control interface is used to control the color and brightness of the robot’s light strip.
The lighting control logic is as follows:
- All light strip LEDs are controlled uniformly, and several preset lighting effects such as solid color, flowing lights, and breathing lights can be set. It is not possible to control a specific light strip or LED individually.
- The default lighting for the robot is a blue breathing light, which can be overridden by user-defined control commands.
- Red flashing warning lights for low battery, joint overheating, etc., have a higher priority than all user-defined control commands and cannot be overridden.
7.12.2 Set Light Mode RPC Interface
Section titled “7.12.2 Set Light Mode RPC Interface”| Interface Name | pb:/aimdk.protocol.HalRgbLightService/SetRgbLightCommand |
|---|---|
| Function Summary | Set light mode |
| Interface Type | HTTP JSON RPC |
| URL | http://192.168.100.110:52893/rpc/aimdk.protocol.HalRgbLightService/SetRgbLightCommand |
| Input Parameters | |
| Output Parameters |
|
| Example Script | examples/light/SetRgbLightCommand.sh |
| Notes |
7.12.3 Get Light State RPC Interface
Section titled “7.12.3 Get Light State RPC Interface”| Interface Name | pb:/aimdk.protocol.HalRgbLightService/GetRgbLightState |
|---|---|
| Function Summary | Get light state |
| Interface Type | HTTP JSON RPC |
| URL | http://192.168.100.110:52893/rpc/aimdk.protocol.HalRgbLightService/GetRgbLightState |
| Input Parameters | |
| Output Parameters |
|
| Example Script | examples/light/GetRgbLightState.sh |
| Notes |