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

WindowsとArch Linuxで計算結果が異なる #37

Open
sksat opened this issue Dec 27, 2019 · 11 comments
Open

WindowsとArch Linuxで計算結果が異なる #37

sksat opened this issue Dec 27, 2019 · 11 comments
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@sksat
Copy link
Owner

sksat commented Dec 27, 2019

config-example.toml11月大島用の推力履歴を使ってWindows on X1CとArch Linux on Desktop上で計算した結果がかなり異なるものになった.

可視化してみた結果,離床直後に大きなずれが確認できた.

@sksat sksat added the invalid This doesn't seem right label Dec 27, 2019
@sksat sksat self-assigned this Dec 27, 2019
@sksat
Copy link
Owner Author

sksat commented Dec 27, 2019

おそらく,実際に違いを生んでいるのは三角関数の実装の差異と思われるが,それでもここまで大きな違いが生まれてしまうのは計算の仕方に問題があるということになる.
また,離床直後に大きなずれがあるということを踏まえると,迎角・横滑り角がごく小さい時に問題が発生すると見て良いと思われる.

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

法線力がこんなかんじになってたあ

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

迎角はこんなかんじ

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

Windowsの方が精度良いんだという感想がある

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

http://herumi.in.coocan.jp/prog/prog90.html#SAME
こういう話かもしれない

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

clangにしたらまた変わったあ

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

試したがあまり変化が見られないのでやはり逆三角関数では...?

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

これよく考えたらランチャに刺さってる間回転しないようにするやつで治せるやつだな?

@sksat
Copy link
Owner Author

sksat commented Dec 29, 2019

と思ったけどそもそもダウンレンジもアホですね,,,

@sksat
Copy link
Owner Author

sksat commented Dec 30, 2019

対気速度ベクトルが最初の何ステップか0,0,0でそれはおかしくない?ちゅてる

@sksat
Copy link
Owner Author

sksat commented Jan 7, 2020

ちゃんと調査をね,します(研究室mtgで言ったので)

@sksat sksat added the bug Something isn't working label Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant