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

attitude: Implement sensor decimation. #2230

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

glowtape
Copy link
Member

Moves the collection of the gyro samples from the updateAttitudeINSGPS/updateAttitudeComplementary functions to the task function, and collects samples averaging them based on a decimator value calculated. Current default runtime for the attitude filter in this patch is 100hz, which drops the CPU usage in TaskInfo from 15% to about 2-3%. It still flies good (at least in the living room, rain and all).

PR for Maquiabelo, for artifacts.

@glowtape
Copy link
Member Author

Jenkins, build artifacts please.

@dronin-ci
Copy link
Collaborator

Artifacts built, by request of @glowtape

@glowtape
Copy link
Member Author

Seems to work fine according to the guy on the forum triggering this PR.

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

Successfully merging this pull request may close these issues.

2 participants