RangeBearingSensor: line_style and poly_style are accepted but unused; animate the sensing beam and region
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- matplotlib, python
- Área
- data-visualization
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C++
- Estrellas
- 3.5k
- Forks
- 639
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 65
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de petercorke/robotics-toolbox-python
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
petercorke/robotics-toolbox-python#709 ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 22/100
petercorke/robotics-toolbox-python#773 ·
Los mantenedores suelen responder en 1 día
-
CI: a PR influx is serialised by 'require up to date' plus a 12 minute CI; consider a merge queueAbiertotech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
petercorke/robotics-toolbox-python#758 ·
Los mantenedores suelen responder en 1 día
-
needs investigation tech-debt
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
petercorke/robotics-toolbox-python#755 ·
Los mantenedores suelen responder en 1 día
-
mobile planners and PoseGraph: small defects found while adding tests (#743)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotech-debt
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
petercorke/robotics-toolbox-python#746 ·
Los mantenedores suelen responder en 1 día
Todos los issues de petercorke/robotics-toolbox-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
bitcoin-core/gui-qml#1030 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
tesseract-robotics/tesseract#1384 ·
-
Fix the silent drop of oversized clusters in the plain EuclideanClusterObjectDetectorPosiblemente ocupada @xmfcx la tomó hoy. Abiertocomponent:perception type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
autowarefoundation/autoware_core#1497 ·
Los mantenedores suelen responder en 2 días
-
agent:WSL bug linux LOW
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Build failure: limoAbierto0.kind: build failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día