我想咨询一下,我现在想做一个自动梯形校正,比如我现在能用陀螺仪得到机器的倾斜度,但却不知道梯形校正函数需要写多大的参数才能达到我想要的结果~
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
自动梯形校正的逻辑是这样的:先使能DLPC343x的keystone功能,并设置好光机的相关参数throw ratio和Offset。然后G-sensor感应到倾斜角度,把角度值pitch angle写到DLPC343x的寄存器里面,这样就完成了梯形校正。
关于DLPC343x的寄存器说明请参考文档:http://www.ti.com.cn/cn/lit/ug/dlpu020a/dlpu020a.pdf