RangeBearingSensor: line_style and poly_style are accepted but unused; animate the sensing beam and region
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 58/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- matplotlib, python
- Bereich
- data-visualization
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- C++
- Sterne
- 3.5k
- Forks
- 639
- Ø Merge
- 1 T. 16 Std.
- Gemergte PRs (30 T.)
- 88
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus petercorke/robotics-toolbox-python
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
petercorke/robotics-toolbox-python#709 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt Tests needed
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
petercorke/robotics-toolbox-python#804 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
petercorke/robotics-toolbox-python#803 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 25/100
petercorke/robotics-toolbox-python#789 ·
Maintainer antworten meist innerhalb von 1 Tag
-
tech-debt
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 22/100
petercorke/robotics-toolbox-python#773 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in petercorke/robotics-toolbox-python
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB MacsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
champion good first issue remake source/qq
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
metasequoiaime/msime-windows#1025 ·
Maintainer antworten meist innerhalb von 1 Tag
-
backlog bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
EchoTools/nevr-runtime#653 ·
Maintainer antworten meist innerhalb von 1 Tag
-
`--fail-require-skip` never fires: run_tests.py searches stdout, but the unittest binary writes the skip summary to stderrEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag