jacob0_dot: docstring errors, and analytic-representation path is a numerical Hessian
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- backend, documentation, robotics
Direzione di ricerca
Start with src/roboticstoolbox/robot/Robot.py and inspect Robot.jacob0_dot, its overloads, and the representation= path through jacob0_analytical and smb.numhess. Review the method's tests and documentation examples before deciding how to handle the ignored J0, q=None, and commented derivation. Done means the behavior and docstring agree, the reported edge case is resolved, and the documented example and tests reflect the result.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Robot.jacob0_dot (src/roboticstoolbox/robot/Robot.py) has a weak docstring, and the representation= path behaves differently from what the docstring implies.
Docstring
- Text says
robot.jacob_dot(q, qd); the method isjacob0_dot - Typo: "to to save computation time"
- No shape info: add
:type J0: ndarray(6,n)and:rtype: ndarray(6,n) -
q=None(allowed by the overload whenJ0is given) is undocumented -
See Also/--------heading is NumPy style; should be.. seealso:: - References bullet continuation is mis-indented (likely renders as a block quote)
- Summary line "Derivative of Jacobian" should say it is the time derivative, in frame {0}
- No
.. runblock:: pyconexample
Behaviour behind the docstring
- With
representationset, the result comes fromsmb.numhessofjacob0_analytical(a numerical Hessian), not the analytic Hessian mode-3 product the docstring describes. It is slower and approximate; this should be stated. - On that path
J0is ignored andq=Nonefails (jacob0_analytical(None)). Either raise a clear error or support it. - About 15 lines of commented-out closed-form derivation in the body, with the note "not actually sure this can be written in closed form". Decide: derive and implement it, or delete the comments and record the open question here.
History
Last touched by repo-wide sweeps only (2026-06-30 type-hint/docstring modernisation, 2026-05-19 Sphinx cleanup); never reviewed on its own.
- Lingua principale
- C++
- Stelle
- 3.5k
- Fork
- 630
- Merge medio
- 3g 7h
- PR unite (30g)
- 50
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 2 giorni
-
tech-debt
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
petercorke/robotics-toolbox-python#753 ·
I maintainer di solito rispondono entro 2 giorni
-
tech-debt
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
petercorke/robotics-toolbox-python#746 ·
I maintainer di solito rispondono entro 2 giorni
-
JupyterLite: in-browser install fails (spatialmath-python pulls in pre-commit -> packaging>=26.3)Apertabug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 40/100
petercorke/robotics-toolbox-python#742 ·
I maintainer di solito rispondono entro 2 giorni
-
Adapt to pgraph-python 1.0: plot() option names and the single Vertex classForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertadependencies tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
petercorke/robotics-toolbox-python#738 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di petercorke/robotics-toolbox-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
`IO.FS.realPath` reports every failure as `noFileOrDirectory` instead of classifying by `errno`Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
leanprover/lean4#15683 ·
I maintainer di solito rispondono entro 1 giorno
-
llvm.memcpy with destination align but no source align asserts "Missed Source alignment!"Forse già presa @pvelesko l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
KhronosGroup/SPIRV-LLVM-Translator#4093 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
SIMQ silently truncates multi-query batch search to the first queryForse già presa @LHT129 l’ha presa oggi. Apertakind/bug module/index needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
antgroup/vsag#3080 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno