-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
local position acceleration: use mean value between two publications #24105
Conversation
For navigation you could also rather use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your changes makes sense as it's better to avoid aliasing anyways
02bf276
to
5c1a6bc
Compare
@bresch Thank you for the review. |
To avoid aliasing on the ned acceleration, add an accumulation of acceleration to improve the downsampling
Co-authored-by: Mathieu Bresciani <[email protected]>
bfd931e
to
ce6a428
Compare
Solved Problem
On our onboard computer, we use the vehicle local position message for estimation and control purpose.
We use the acceleration fields to have a higher order than just velocity and position.
We have observed aliasing on tests with vibrations. The NED acceleration integral become very different from the velocity.
Solution
To avoid aliasing on the NED acceleration, add an accumulation of acceleration to improve the down sampling.
This implementation looks like a hack... Of course, I'm open to any suggestions for a better implementation.
Test coverage