wpilibsuite/wpilib-docs

Clean up Command factory/constructor documentation

开放

#2,293 创建于 2023年7月17日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (297 个派生)auto 404
Good First Issue

仓库指标

星标
 (187 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

https://docs.wpilib.org/en/2023_a/docs/software/commandbased/commands.html

Currently there is an inconsistent/incomplete mix of using the constructor and using the factory method inside the code blocks, while the documentation refers to the factory methods.

The code blocks/RLIs also use the factory methods of Subsystem in the context of a subsystem (eg using this.runOnce) which can be confusing without the surrounding context.

贡献者指南