blocks/Icons: no record of how icons are made (see MVTB#121 for a no-LaTeX script)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- latex, matplotlib, python
- 領域
- documentation, tooling
調査の方向性
src/roboticstoolbox/blocks/Icons/ と blocks/README.md から始め、参照されている MVTB および bdsim の作業にあるアイコンの規約と生成に関する注記を比較します。既存のアイコンがどのように作成されたか、既知であればそのソースまたは再生成の手順、関連する依存関係や制限事項を文書化します。新しく参加する人が規約を理解し、アイコンを再現または保守できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C++
- スター
- 3.5k
- フォーク
- 630
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 29
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
petercorke/robotics-toolbox-python のほかの issue
-
Robot `repr`オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
petercorke/robotics-toolbox-python#711 ·
メンテナーはふだん 2 日以内に返信
-
tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
petercorke/robotics-toolbox-python#705 ·
メンテナーはふだん 2 日以内に返信
-
Verify DH.Panda inertial parameters対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンtech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
petercorke/robotics-toolbox-python#688 ·
メンテナーはふだん 2 日以内に返信
-
URDF.Panda() has no inertial data -- robot_descriptions alternative exists but has a collision-query performance cost対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンtech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
petercorke/robotics-toolbox-python#686 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Misc: examples folder rationalization, benchmarking, more trajectory generators, gripper compositionオープンenhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
petercorke/robotics-toolbox-python#677 ·
メンテナーはふだん 2 日以内に返信
petercorke/robotics-toolbox-python の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
EsotericSoftware/spine-runtimes#3186 ·
-
An empty line splits a signature where an ordinary comment is right above an argument's Haddockオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Round video messages start gray and blocky with libx264: encoder is configured for 1,000,000 fpsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
telegramdesktop/tdesktop#31422 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 5 日以内に返信