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 天内回复