blocks/Icons: no record of how icons are made (see MVTB#121 for a no-LaTeX script)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 68/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- latex, matplotlib, python
- Ambito
- documentation, tooling
Direzione di ricerca
Inizia da src/roboticstoolbox/blocks/Icons/ e blocks/README.md, quindi confronta la convenzione delle icone e le note sulla generazione contenute nei lavori MVTB e bdsim referenziati. Documenta come sono state create le icone esistenti, le loro fonti o il percorso di rigenerazione, se noto, nonché le dipendenze o limitazioni rilevanti; il lavoro è completo quando un nuovo contributore può comprendere la convenzione e riprodurre o mantenere le icone.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Note for later, prompted by a cleanup in the Machine Vision Toolbox (MVTB).
What I found in RTB
src/roboticstoolbox/blocks/Icons/ has 27 PNGs plus 250x250/ and 50x50/ subfolders, but no script and no README explaining how the icons are made, and blocks/README.md doesn't mention icons. I found no reference to bdtex2icon or an icons.sh anywhere in the repo. Several names (coriolis.png, fdyn.png, fdynx.png, ...) match icons in bdsim, which are made with bdtex2icon from LaTeX, so these were probably made the same way, but I haven't verified that.
What MVTB did
MVTB had the same gap: its icons came from an untracked icons.sh that needs bdsim, a LaTeX installation and the unpublished rvc-notation macros. The open PR petercorke/machinevision-toolbox-python#121 adds, in MVTB's blocks/Icons/:
make_icons.py: renders TeX math to a 250x250 black-on-transparent RGBA PNG using matplotlibmathtext(Computer Modern), so no LaTeX and no extra dependency;- a short
README.mddescribing the icon convention (shared with bdsim'sIconsfolder); - a test for the script.
Findings from the prototype, including how many of bdsim's own icon expressions render and one gotcha (math_to_image output has an opaque white background), are in petercorke/bdsim#109.
Possible follow-up for RTB
- Add a
blocks/Icons/README.mdrecording the convention and how each icon was made (even if just "bdtex2icon, see bdsim"). - If the LaTeX sources for the icons are still known, record them (an
icons.sh, or a table like MVTB'sICONS) so they can be regenerated. - Note for whoever tries it: in bdsim's list, the expressions that did not render under mathtext used the custom macros
\dvec,\ddvecand\sbulletandarraymatrices; icons likecoriolisandfdynuse\dvec/\ddvec, so those would need the macro definitions fromrvc-notation. I haven't tried RTB's actual expressions.
Not urgent.
- Lingua principale
- C++
- Stelle
- 3.5k
- Fork
- 630
- Merge medio
- 2g 7h
- PR unite (30g)
- 29
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
-
Robot `repr`Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
petercorke/robotics-toolbox-python#711 ·
I maintainer di solito rispondono entro 2 giorni
-
tech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
petercorke/robotics-toolbox-python#705 ·
I maintainer di solito rispondono entro 2 giorni
-
Verify DH.Panda inertial parametersForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertatech-debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
petercorke/robotics-toolbox-python#688 ·
I maintainer di solito rispondono entro 2 giorni
-
URDF.Panda() has no inertial data -- robot_descriptions alternative exists but has a collision-query performance costForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertatech-debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
petercorke/robotics-toolbox-python#686 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Misc: examples folder rationalization, benchmarking, more trajectory generators, gripper compositionApertaenhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
petercorke/robotics-toolbox-python#677 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di petercorke/robotics-toolbox-python
Issue simili
-
Status: Awaiting triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
espressif/arduino-esp32#12984 ·
I maintainer di solito rispondono entro 1 giorno
-
torch_ops/logprob.cu does not compile with the serving container's nvcc (13.3.73); check_torch_ops.py cannot run as shippedForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 72/100
ashhart/TensorFold#535 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
agent:Windows bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno