Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Spark position wrapping with REVLib 2027

Aperta
#401 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
robotics

Direzione di ricerca

Start with the Java configuration entry point ClosedLoopConfig.positionWrappingEnabled and the relative-encoder setup, then trace how position wrapping handles its [0, 1) range after positionWrappingInputRange and positionConversionFactor were removed. Compare the available configuration with the swerve turn-controller use case; done means the intended mechanism-reduction behavior and supported configuration path are established.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What is the intended way of using closed-loop position wrapping (i.e. ClosedLoopConfig.positionWrappingEnabled) on a Spark using a relative encoder? I see that it wraps to [0, 1) rotations after the removal of positionWrappingInputRange, but as far as I can tell there's no way to configure the mechanism reduction after the removal of positionConversionFactor. Am I missing a config option somewhere? This was a useful feature when using a Spark as a turn controller for swerve.

It's possible to work around this by manually wrapping the setpoints in the robot program, but that's obviously not ideal.

Lingua principale
Java
Stelle
190
Fork
25
Merge medio
6h 28m
PR unite (30g)
12

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wpilibsuite/SystemcoreTesting

Tutte le issue di wpilibsuite/SystemcoreTesting

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.