You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AllenSu007
changed the title
添加IOT代码,编译烧录都通过了,但是运行时,后台提示Failed to parse IoT descriptors
添加IOT代码,实现小智AI通过LEDC控制舵机的方案,后台提示Failed to parse IoT descriptors
Mar 18, 2025
Answers checklist.
XiaoZhi AI firmware version.
bread-compact-wifi-lcd
Operating System used.
Windows
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
None
Power Supply used.
USB
What is the expected behavior?
E (38154) Protocol: Failed to parse IoT descriptors: [{"name":"Speaker","description":"
扬声器","properties":{"volume":{"description":"当前音量值","type":"number"}},"methods":{"SetVolume":{"description":"设置音量","parameters":{"volume":{"description":"0到100之间
的整数","type":"number"}}}}},{"name":"Lamp","description":"一个测试用的灯","properties":{"power":{"description":"灯是否打开","type":"boolean"}},"methods":{"TurnOn":{"description":"打开灯","parameters":{}},"TurnOff":{"description":"关闭灯","parameters":{}}}},{"name":"Motion","description":"机器人身体控制","properties":{"nod_speed":{"description":"点头
速度(ms)",},"shake_range":{"description":"摇头幅度",},"is_moving":{"description":"是否运
动中","type":"boolean"}},"methods":{"emotion_ctrl":{"description":"情感控制","parameters":{"text":{"description":"语义文本","type":"string"},"intensity":{"description":"强度等
级1-5","type":"number"}}},"set_emotion":{"description":"设置情感状态","parameters":{"emotion":{"description":"情感名称","type":"string"},"intensity":{"description":"强度1-5","type":"number"}}},"calibrate":{"description":"舵机校准","parameters":{"angle":{"description":"校准角度0-180","type":"number"}}},"upload_sequence":{"description":"上传动作序列","parameters":{"actions":{"description":"JSON格式动作数组","type":"string"}}}}},{"name":"Backlight","description":"屏幕背光","properties":{"brightness":{"description":"当前亮度百
分比","type":"number"}},"methods":{"SetBrightness":{"description":"设置亮度","parameters":{"brightness":{"description":"0到100之间的整数","type":"number"}}}}}]
What is the actual behavior?
在小智代码内,通过IOT-PWM LEDC来控制舵机。
Steps to reproduce.
...
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: