如何从 Arduino“9 Axis Motion Shield”获取数据和校准
How to get data and calibration from Arduino "9 Axis Motion Shield"
我正在尝试从 Arduino“9 Axis Motion Shield”获取数据并且我没有连接它的问题,但是,在尝试示例代码时,校准值始终为 0(低)并且我只得到来自所有传感器的零点。有没有进入校准模式的特定方法? github repo 中的自述文件不是很清楚。
我正在使用 arduino 的库以及示例代码。 https://github.com/arduino-org/arduino-library-nine-axes-motion
Euler 示例代码的输出是:
时间:3296ms H:0.00deg R:0.00deg P:0.00deg A:0 M:0 G:0 S:0
时间:3316ms H:0.00deg R:0.00deg P:0.00deg A:0 M:0 G:0 S:0
时间:3336ms H:0.00deg R:0.00deg P:0.00deg A:0 M:0 G:0 S:0
Andrew Bullock 找到了解决方案。
github 上的库是为旧版本的盾牌编码的。 github 用户 "trullock" (Andrew Bullock) 解决了这个问题。您可以在他的存储库中找到他的解决方案:https://github.com/trullock/arduino-library-nine-axes-motion
我正在尝试从 Arduino“9 Axis Motion Shield”获取数据并且我没有连接它的问题,但是,在尝试示例代码时,校准值始终为 0(低)并且我只得到来自所有传感器的零点。有没有进入校准模式的特定方法? github repo 中的自述文件不是很清楚。
我正在使用 arduino 的库以及示例代码。 https://github.com/arduino-org/arduino-library-nine-axes-motion
Euler 示例代码的输出是:
时间:3296ms H:0.00deg R:0.00deg P:0.00deg A:0 M:0 G:0 S:0
时间:3316ms H:0.00deg R:0.00deg P:0.00deg A:0 M:0 G:0 S:0
时间:3336ms H:0.00deg R:0.00deg P:0.00deg A:0 M:0 G:0 S:0
Andrew Bullock 找到了解决方案。 github 上的库是为旧版本的盾牌编码的。 github 用户 "trullock" (Andrew Bullock) 解决了这个问题。您可以在他的存储库中找到他的解决方案:https://github.com/trullock/arduino-library-nine-axes-motion