raspberry pi sense hat 校准不工作

raspberry pi sense hat calibration not working

我正在尝试使用 raspberry pi 和 运行 RTIMULibCal,并将 RTIMULib.ini 文件放入包含我的 python 代码的文件夹中(我还找到了一个指南告诉我把它放到 /etc,所以我也把它复制到那里)。我尝试了作为此存储库的一部分下载的指南针程序:https://github.com/RPi-Distro/python-sense-hat.git (它在示例文件夹中),但蓝点根本没有移动。我尝试打印 get_compass() 和 get_compass_raw(),get_compass() 的值在 130 到 150 之间,y 的值在 -80 到 -40 之间,-70 之间x为-40,z为-60到30之间,所以对我来说这似乎是一个校准错误。有没有人遇到过类似的问题,或者知道如何解决?

我遇到了同样的问题。按照说明解决问题:

安装必要的软件和运行校准程序如下:

sudo apt-get update
sudo apt-get install octave -y
cd
cp /usr/share/librtimulib-utils/RTEllipsoidFit ./ -a
cd RTEllipsoidFit
RTIMULibCal

m并按照说明进行操作(我也使用了e)。

更多信息https://www.raspberrypi.org/documentation/hardware/sense-hat/