mobile planners and PoseGraph: small defects found while adding tests (#743)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Six separate defects are listed: a stray print in RRTPlanner.query(), the shared PGVertex.nvertices counter used by PoseGraph, a bare KeyError on unknown vertex ids during PoseGraph file loading, start validation in PRMPlanner.query(), optional-import fallbacks versus the hard pgraph-python dependency in pyproject.toml, and the _dist_thresh attribute in PRMPlanner.init. Start with the planner and PoseGraph modules, then check the tests in tests/test_graph_planners.py. Done means each item is fixed or explicitly rejected, with a test covering the changed behaviour.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found while writing tests/test_graph_planners.py (#743). The two crashes are fixed in #744 and #745; these remain.
-
RRTPlanner.query()has a stray debugprint(vpath)that writes the whole vertex list to stdout on every call -
PoseGraphkeeps its vertex counter as the class attributePGVertex.nvertices, reset at the start of each load, so loading or building two graphs interleaved corruptsindex/vindex; it should be per graph -
PoseGraphfile loading: an edge that refers to a vertex id that is not in the file raises a bareKeyError: '9'; it should be aRuntimeError/ValueErrornaming the file, line and id (as the unexpected-record case already does) -
PRMPlanner.query()accepts a start outside the map (e.g.(-5, 2)) and returns a path from it; the goal is validated but the start is not -
PRMPlanner,RRTPlanner,LatticePlannerandPoseGraphwrap the pgraph import in an "optional dependency" fallback, butpgraph-pythonis a hard dependency inpyproject.toml; one of those is wrong -
PRMPlanner(occgrid, dist_thresh=...)raisesAttributeError: 'PRMPlanner' object has no attribute '_dist_thresh':__init__only assignsself._dist_threshwhendist_thresh is None, then reads it unconditionally. The documented argument cannot be used
🤖 Generated with Claude Code
- Lingua principale
- C++
- Stelle
- 3.5k
- Fork
- 639
- Merge medio
- 2g 14h
- PR unite (30g)
- 65
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di petercorke/robotics-toolbox-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
petercorke/robotics-toolbox-python#709 ·
I maintainer di solito rispondono entro 1 giorno
-
tech-debt
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 25/100
petercorke/robotics-toolbox-python#789 ·
I maintainer di solito rispondono entro 1 giorno
-
mobile: the occupancy grid should draw the planner background, and planners should agree on unitsForse già presa @kVinsom l’ha presa oggi. Apertatech-debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
petercorke/robotics-toolbox-python#785 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
tech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 22/100
petercorke/robotics-toolbox-python#773 ·
I maintainer di solito rispondono entro 1 giorno
-
CI: a PR influx is serialised by 'require up to date' plus a 12 minute CI; consider a merge queueApertatech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
petercorke/robotics-toolbox-python#758 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di petercorke/robotics-toolbox-python
Issue simili
-
agent:Windows bug code-review LOW testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
[Cleanup] Include the public header in work_split.cppForse già presa @blozano-tt l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
tenstorrent/tt-metal#60850 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beehive-lab/TornadoVM#1248 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SimVascular/svZeroDSolver#253 ·
-
core: RAC_LLM_OPTIONS_DEFAULT.min_p disagrees with the IDL's annotated defaultForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug core p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
RunanywhereAI/runanywhere-sdks#1083 ·
I maintainer di solito rispondono entro 5 giorni