blocks/Icons: no record of how icons are made (see MVTB#121 for a no-LaTeX script)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 68/100
- Type d'issue
- Documentation
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- latex, matplotlib, python
- Domaine
- documentation, tooling
Piste de recherche
Commencez par src/roboticstoolbox/blocks/Icons/ et blocks/README.md, puis comparez la convention des icônes et les notes de génération des travaux MVTB et bdsim référencés. Documentez la manière dont les icônes existantes ont été créées, leurs sources ou leur chemin de régénération s’il est connu, ainsi que les dépendances ou limitations pertinentes ; la tâche est terminée lorsqu’une personne débutante peut comprendre la convention et reproduire ou maintenir les icônes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C++
- Étoiles
- 3.6k
- Forks
- 650
- Merge moyen
- 1 j 1 h
- PR mergées (30 j)
- 149
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de petercorke/robotics-toolbox-python
-
trapezoidal accepts the zero-blend velocity boundary but returns NaN at the initial samplePeut-être pris @tandede l’a pris aujourd’hui. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 75/100
petercorke/robotics-toolbox-python#924 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Isaac Sim backendOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
petercorke/robotics-toolbox-python#903 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Backend registry: single name → constructor dispatchPeut-être pris @petercorke l’a pris il y a 11 jours. Ouverteenhancement
petercorke/robotics-toolbox-python#902 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Speed up the coverage job (about 25 minutes since coverage became real)Peut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertetech-debt
Difficulté 4/5 1-2 jours Accessibilité débutants 55/100
petercorke/robotics-toolbox-python#898 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
LatticePlanner: integer headings, and motion primitives with finer turn steps (design first)Peut-être à nouveau libre @kVinsom l’a pris il y a 13 jours, et aucune pull request n’est ouverte. Ouverteenhancement help wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
petercorke/robotics-toolbox-python#895 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de petercorke/robotics-toolbox-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
mw00/project-maya#877 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
llvm/offload-test-suite#1703 ·
Les mainteneurs répondent en général sous 1 jour
-
test(tools): test_invite_answer_wiring scans nothing in a checkout whose path contains tests/Ouvertebacklog bug
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
EchoTools/nevr-runtime#2154 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
BGI-shenzhen/PopLDdecay#25 ·