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 合併指標
 (平均合併 7天 6小時) (30 天內合併 14 個 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.

貢獻者指南