RangeBearingSensor: line_style and poly_style are accepted but unused; animate the sensing beam and region
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- matplotlib, python
调研方向
Start in sensors.py: the _line_style and _poly_style attributes are set in RangeBearingSensor.__init__, and plot() currently draws only the robot-to-landmark line. Read reading() to see where the robot's pose and the sensor's range and angle are available, then add a sector polygon and a beam line that are drawn or updated on each call using those styles. Done means the Agg-backend test shows both artists exist and change position after the robot moves, and the class docstring note from #750 is removed.
由索引模型根据 Issue 内容生成。
描述
RangeBearingSensor.__init__ accepts line_style and poly_style and stores them as _line_style and _poly_style, but nothing reads them. They were meant to style the sensor beam and the sensing region polygon, which should be drawn and updated every time reading() is called, based on the robot's current configuration (the toolbox's MATLAB ancestor did this).
At present plot=True only displays the map and draws a line from the robot to the landmark observed (sensors.py, plot()); the range limit and the angular field of view are never shown.
- draw the sensing region (the sector between
rangeandangle) as a polygon inpoly_style, updated at each reading - draw the beam to the observed landmark in
line_style - test with the Agg backend that the artists exist and move
- remove the "accepted but not currently used" note from the class docstring (added in #750)
Deliberately left as is for now; this is the planned future work on animating the beam.
🤖 Generated with Claude Code
- 主要语言
- C++
- 星标
- 3.5k
- 派生
- 630
- 平均合并
- 3 天 7 小时
- 30 天内合并 PR
- 50
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
petercorke/robotics-toolbox-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
petercorke/robotics-toolbox-python#709 ·
维护者通常 2 天内回复
-
tech-debt
难度 3/5 1-2 天 新手友好度 45/100
petercorke/robotics-toolbox-python#746 ·
维护者通常 2 天内回复
-
JupyterLite: in-browser install fails (spatialmath-python pulls in pre-commit -> packaging>=26.3)未关闭bug
难度 3/5 半天 新手友好度 40/100
petercorke/robotics-toolbox-python#742 ·
维护者通常 2 天内回复
-
Adapt to pgraph-python 1.0: plot() option names and the single Vertex class可能重新可做 关联的 PR 已关闭且未合并。 未关闭dependencies tech-debt
难度 2/5 1-3 小时 新手友好度 35/100
petercorke/robotics-toolbox-python#738 ·
维护者通常 2 天内回复
-
jacob0_dot: docstring errors, and analytic-representation path is a numerical Hessian可能已有人在做 @paneendrakumar0 于 2 天前认领。 未关闭tech-debt
难度 4/5 3-5 天 新手友好度 25/100
petercorke/robotics-toolbox-python#734 ·
维护者通常 2 天内回复
查看 petercorke/robotics-toolbox-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
leanprover/lean4#15683 ·
维护者通常 1 天内回复
-
[Bug] [geo] Haversine distance calculation can return NaN for antipodal coordinates可能已有人在做 @516665061 今天认领。 未关闭status:needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
PX4/PX4-Autopilot#29211 ·
维护者通常 1 天内回复
-
llvm.memcpy with destination align but no source align asserts "Missed Source alignment!"可能已有人在做 @pvelesko 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
KhronosGroup/SPIRV-LLVM-Translator#4093 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复