blocks/Icons: no record of how icons are made (see MVTB#121 for a no-LaTeX script)
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- latex, matplotlib, python
- Área
- documentation, tooling
Línea de trabajo
Comienza en src/roboticstoolbox/blocks/Icons/ y blocks/README.md, y después compara la convención de iconos y las notas sobre su generación de los trabajos de MVTB y bdsim referenciados. Documenta cómo se crearon los iconos existentes, sus fuentes o la ruta de regeneración, si se conoce, y las dependencias o limitaciones relevantes; la tarea estará terminada cuando una persona nueva pueda entender la convención y reproducir o mantener los iconos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 3.5k
- Forks
- 629
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 29
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
-
Robot `repr`Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
petercorke/robotics-toolbox-python#711 ·
Los mantenedores suelen responder en 2 días
-
tech-debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
petercorke/robotics-toolbox-python#705 ·
Los mantenedores suelen responder en 2 días
-
Verify DH.Panda inertial parametersPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotech-debt
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
petercorke/robotics-toolbox-python#688 ·
Los mantenedores suelen responder en 2 días
-
URDF.Panda() has no inertial data -- robot_descriptions alternative exists but has a collision-query performance costPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertotech-debt
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
petercorke/robotics-toolbox-python#686 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Misc: examples folder rationalization, benchmarking, more trajectory generators, gripper compositionAbiertoenhancement help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
petercorke/robotics-toolbox-python#677 ·
Los mantenedores suelen responder en 2 días
Todos los issues de petercorke/robotics-toolbox-python
Issues similares
-
feature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gavinlouuu-kpt/mib-studio-qt#517 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
ws_bridge: stripping format=evr for matchmaker connections can concatenate the path and queryAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
EchoTools/nevr-runtime#116 ·
Los mantenedores suelen responder en 1 día