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

GRP Shadow Set Issues with the Attitude Estimator #318

Open
kylekrol opened this issue Feb 28, 2021 · 1 comment
Open

GRP Shadow Set Issues with the Attitude Estimator #318

kylekrol opened this issue Feb 28, 2021 · 1 comment
Labels
bug Something isn't working psim

Comments

@kylekrol
Copy link
Member

Sometimes the GRP attitude representation error just explodes with the attitude estimator. @stewartaslan mentioned that it may be because of a "shadow set" of GRP values. Not really sure what this means at the moment but negating the initial equation of the dynamics simulation solves the issue. To be clear, the filter actually doesn't perform well but it's GRP representation doesn't agree with the truth model - as in a negative sign is flipped but the estimated attitude is still correct.

The results can be currently replicated with the following command:

python -m psim -s 1000 -p fc/attitude -ps 1 -c sensors/base,truth/base,truth/detumble -v AttitudeEstimatorTestGnc

on master with this commit 3d6c340.

Some plots are given below. As you can see, the GRP error is horrid but actual degrees error and angular rate estimation error are still performing very well. The gyroscope bias estimate plots are not shown here but are behaving nominally.

px
qdeg
w

@kylekrol kylekrol added bug Something isn't working psim labels Feb 28, 2021
@kylekrol kylekrol self-assigned this Feb 28, 2021
@kylekrol kylekrol removed their assignment Feb 28, 2021
@kylekrol
Copy link
Member Author

Marking this an noncritical given the results of #319.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working psim
Projects
None yet
Development

No branches or pull requests

1 participant