Dont present CAN items if CAN is not present in hwdef
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- build-system, frontend
调研方向
在其 hwdef 不包含 CAN1 的板卡上打开 Rangefinders,点击两次并观察构建失败,以复现此问题。跟踪 Rangefinders 和 DroneCAN 选项的处理,以及 CAN1 hwdef 检查;当没有 CAN1 时不再显示与 CAN 相关的选项,或者文档所述的切换行为能够阻止无效选择并且构建成功时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
This causes a build error
Replicate:
- Any board without CAN
- Click on Rangefinders twice to remove all of them
this will fail since the first click enables all rangefinders, including DroneCAN, which ticks the DroneCAN box, next click removes all Rangefinders but does not uncheck the DroneCAN causes a build failure(which is generally desired behavior since we cant know if a box with driving dependencies is or is not desired)
solutions:
Best: don't present any CAN related options anywhere if the hwdef for the board does not have a "CAN1" define
Easiest: clicking a partially filled section, first REMOVES all the selections, next click Adds all, instead of the other way around...
btw, I have not found another feature that depends on onboard hardware(there may be and I don't recognize it)....I thought ENET might, but currently we have no build option that depends on having that on board...and including sensor drivers for missing onboard sensors might waste space but does not cause a build error
- 主要语言
- Python
- 星标
- 33
- 派生
- 73
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ArduPilot/CustomBuild 的其他 Issue
-
generator issue未关闭
难度 2/5 1-3 小时 新手友好度 85/100
ArduPilot/CustomBuild#259 ·
-
misspelling未关闭
难度 1/5 1 小时以内 新手友好度 90/100
ArduPilot/CustomBuild#254 ·
-
Defaults for boards when selecting heli include multi copter frames and non compatibly flight modes.未关闭
难度 3/5 1-2 天 新手友好度 55/100
ArduPilot/CustomBuild#255 ·
-
难度 3/5 1-2 天 新手友好度 55/100
ArduPilot/CustomBuild#237 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
ArduPilot/CustomBuild#236 · 2 条评论 ·
查看 ArduPilot/CustomBuild 的全部 Issue
相似的 Issue
-
ui
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
accepted
难度 2/5 1-3 小时 新手友好度 68/100
future-agi/future-agi#5070 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
juandresrodca/AdminForge#69 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
deepset-ai/haystack-integrations#817 ·
维护者通常 12 天内回复
-
[Bug]: test_remote_realpath_uses_argument_vector fails on Windows with Python 3.13+ (ntpath.isabs)可能已有人在做 @gouyu-hou 今天认领。 未关闭triage/confirmed
难度 1/5 1 小时以内 新手友好度 90/100
agentscope-ai/agentscope#4397 ·
维护者通常 2 天内回复