Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about px4 ekf2 setting #8

Open
dssdyx opened this issue Jun 24, 2023 · 1 comment
Open

Question about px4 ekf2 setting #8

dssdyx opened this issue Jun 24, 2023 · 1 comment

Comments

@dssdyx
Copy link

dssdyx commented Jun 24, 2023

Hi! I have successed to let the nxtpx4 board work. But there is a little confusion about ekf2 estimator. In px4 user guider, EKF2 seems to require minimal sensors : a imu, a yaw estimator source(mag / vision),a height resource(baro). In nxtpx4, it only has imu and baro, no yaw source. But ekf2 can run well in this situation. It makes me really confusion. Would you like to tell me why it's ok? Thank you for your such brilian project!

@Peize-Liu
Copy link
Contributor

I am not very familiar with EKF2 esimator in PX4, however, from my own experience and knowledge about EKF: without magnetor should be ok for picth and roll estimation, but diable the udpate stage of EKF in yaw estimate, so we just use gyro to update instead. If gyro data is good enough, yaw angle estimation should be fine in short-time, but you will see a drift if you put the board over 10-20 min.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants