RangeBearingSensor: line_style and poly_style are accepted but unused; animate the sensing beam and region
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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
- フォーク
- 639
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 73
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
petercorke/robotics-toolbox-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
petercorke/robotics-toolbox-python#709 ·
メンテナーはふだん 1 日以内に返信
-
tech-debt
難易度 2/5 1時間未満 初心者へのやさしさ 25/100
petercorke/robotics-toolbox-python#789 ·
メンテナーはふだん 1 日以内に返信
-
mobile: the occupancy grid should draw the planner background, and planners should agree on units対応中かも @kVinsom が今日担当しました。 オープンtech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
petercorke/robotics-toolbox-python#785 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
petercorke/robotics-toolbox-python#773 ·
メンテナーはふだん 1 日以内に返信
-
CI: a PR influx is serialised by 'require up to date' plus a 12 minute CI; consider a merge queueオープンtech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
petercorke/robotics-toolbox-python#758 ·
メンテナーはふだん 1 日以内に返信
petercorke/robotics-toolbox-python の issue をすべて見る
似ている issue
-
bot-triaged module: correctness (silent) module: mps module: NaNs and Infs triage review
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
SCIInstitute/SCIRun#2842 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
agent:Windows bug code-review LOW testing
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信