wpilibsuite/wpilib-docs

Clean up Command factory/constructor documentation

Aberta

#2.293 aberto em 17 de jul. de 2023

 (0 comentário) (0 reação) (0 responsável)JavaScript (297 forks)auto 404
Good First Issue

Métricas do repositório

Stars
 (187 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador