BUG: Incorrect vector rotation in GenericSurface.compute_forces_and_moments
維護者通常 3 天內回覆
@MateusStano 已經在處理了。
開始於 2026年3月21日。
評估
這個 Issue 還沒有評估資料。
描述
Describe the bug
Incorrect vector rotation in GenericSurface.compute_forces_and_moments().
Here, we want to represent the black L, D, Q vectors in the blue body frame.
The M_BA matrix should be direction cosine matrix (DCM), however it is given in vector rotation matrices. Vector rotation matrices rotate the vector without changing/rotating reference frame.
Current implementation rotates the force vectors to match body axis, but results are however presented in aero frame.
If it is intended to use rotation matrix instead of DCM, the rotation should be:
- Start with the
Q,L,Dvectors matching+X,-Y,-Zin body frame (i.e. Vector([side, -lift, -drag]) ) - Rotate the vector by
-alphaon X axis andbetaon Y axis. - The results will match the black
Q,L,Dvectors and presented in body frame
Another POV:
- Only focus on blue Zb axis and body frame.
- Rotate the Zb axis by
-alphaon X axis andbetaon Y axis. - the result will match the black V vector
To Reproduce & Expected behavior & Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
- 主要語言
- Python
- 星號
- 1.1k
- 分支
- 280
- 平均合併
- 3 天 2 小時
- 30 天內合併 PR
- 24
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
RocketPy-Team/RocketPy 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
RocketPy-Team/RocketPy#1255 ·
維護者通常 3 天內回覆
-
難度 1/5 1 小時以內 新手友好度 92/100
RocketPy-Team/RocketPy#1241 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
RocketPy-Team/RocketPy#1202 ·
維護者通常 3 天內回覆
-
Monte Carlo test fixtures write their logs into the working directory可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
RocketPy-Team/RocketPy#1189 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
RocketPy-Team/RocketPy#1171 · 1 則留言 ·
維護者通常 3 天內回覆
查看 RocketPy-Team/RocketPy 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉available documentation good first issue
難度 1/5 1-3 小時 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
JTHCode/secretguard#24 ·
維護者通常 1 天內回覆
-
area: middleware documentation good first issue
難度 2/5 1-3 小時 新手友好度 88/100
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
good first issue
難度 1/5 1 小時以內 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
維護者通常 1 天內回覆