blocks/Icons: no record of how icons are made (see MVTB#121 for a no-LaTeX script)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- latex, matplotlib, python
- Lĩnh vực
- documentation, tooling
Hướng nghiên cứu
Bắt đầu tại src/roboticstoolbox/blocks/Icons/ và blocks/README.md, sau đó so sánh quy ước về biểu tượng và các ghi chú về việc tạo biểu tượng từ các công việc MVTB và bdsim được tham chiếu. Ghi lại cách các biểu tượng hiện có được tạo, nguồn của chúng hoặc đường dẫn tái tạo nếu đã biết, cùng các dependency hoặc giới hạn liên quan; công việc được xem là hoàn tất khi một người mới có thể hiểu quy ước và tái tạo hoặc bảo trì các biểu tượng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 3.5k
- Fork
- 639
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 73
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của petercorke/robotics-toolbox-python
-
tech-debt
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 25/100
petercorke/robotics-toolbox-python#789 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mobile: the occupancy grid should draw the planner background, and planners should agree on unitsCó thể đã có người làm @kVinsom đã nhận 1 ngày trước. Đang mởtech-debt
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
petercorke/robotics-toolbox-python#785 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 22/100
petercorke/robotics-toolbox-python#773 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CI: a PR influx is serialised by 'require up to date' plus a 12 minute CI; consider a merge queueĐang mởtech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
petercorke/robotics-toolbox-python#758 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs investigation tech-debt
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
petercorke/robotics-toolbox-python#755 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của petercorke/robotics-toolbox-python
Issue tương tự
-
os:Linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
acceptable_buffer_backends: unknown backend names are silently ignoredCó thể đã có người làm @mini-1235 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
ros2/rmw_fastrtps#945 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bot-triaged module: correctness (silent) module: mps module: NaNs and Infs triage review
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày