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

enhance the gyro calibration process #101

Merged
merged 5 commits into from
Aug 23, 2023
Merged

Conversation

kikoqiu
Copy link
Contributor

@kikoqiu kikoqiu commented Aug 19, 2023

Enhance the gyro calibration process to avoid false positvie signals of still, which sometimes causes the quad to flip on arm, because of the gyro bias.

commit 1

enhance sixaxis_wait_for_still to avoid false positive signals of still.
remove no-effect code for limit in sixaxis_gyro_cal.
pause gyro bias calibration when move is detected.

commit 2

implement MSP_ANALOG to enable DJI goggles osd voltage display.

Copy link
Collaborator

@bkleiner bkleiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We gonna have to have a discussion if we want to get rid of the limit. I will try to have a test asap.

src/flight/sixaxis.c Outdated Show resolved Hide resolved
src/flight/sixaxis.c Show resolved Hide resolved
src/flight/sixaxis.c Outdated Show resolved Hide resolved
@bkleiner
Copy link
Collaborator

Still want to test but otherwise looks good to me.

@kikoqiu
Copy link
Contributor Author

kikoqiu commented Aug 21, 2023

Still want to test but otherwise looks good to me.

Of course it needs a test. My test is ok with the neutronrc 2s aio. Maybe it needs a test on another board.

@bkleiner bkleiner merged commit 2adb9a4 into BossHobby:develop Aug 23, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants