调试指南
调试开关
在 Luban-Lite 中 RTP 驱动的 Log 控制接口共用了全局的 ulog 接口。
查看控制器状态
在 RTP 驱动初始化成功后,会在 shell 命令行中注册生成一个 rtp_status
命令,其中打印了当前的配置及状态信息:
aic /> rtp_status In RTP controller V1.00: Mode hw 2/ sw 2, RTP enale 1, Press detect enable1 Pressure enable1, max 800, x-plate 235, y-plate 0 Sample period: 15 ms, Fuzz: 0