robomaster-c-board-ins-example's People
Forkers
leipopo shake-jarjane sine180 liangyongqin ronghaoxxxu gobelieve2 shenhayi wuyou33 cmjang wangbo13 equati0n wzhbaba scoutmyhub heu-wings-of-dream opteron18 qff233 yry0008 carbonfibercat uid-serendipity hzd000 weakfunc pingshanyibaba arthurlehao ch-justin-wu zmqzhm wwwangguan yangkang411 fixer-itbrobomaster-c-board-ins-example's Issues
关于pitch角的值解算问题
在#include "QuaternionEKF.h"中的pitch解算中
QEKF_INS.Pitch = 57.29578f * asinf(-2.0f * (QEKF_INS.q[1] * QEKF_INS.q[3] - QEKF_INS.q[0] * QEKF_INS.q[2]));
在陀螺仪接近垂直时
我解算得到的asinf的输入值达到了1.05而不是1,超出了定义asin定义域的范围,请问一下可能时参数的原因嘛
我使用的陀螺仪时icm42688
初始化使用代码IMU_QuaternionEKF_Init(10, 0.001, 10000000, 1, 0.001f,0);
更新使用代码
IMU_QuaternionEKF_Update(gyro_value.x / 180.0 * M_PI, gyro_value.y / 180.0 * M_PI, gyro_value.z / 180.0 * M_PI, accel_value.x * 9.8, accel_value.y * 9.8, accel_value.z * 9.8);
其余armdsp库为手动实现,应该不会有问题
但其中逆矩阵解算为esp-dsp库,如果出现无逆矩阵,会输出全零矩阵
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.