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

Use the shared rotation and transformation helpers

Aperta
#125 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 9 giorni

@Tektrix ci sta già lavorando.

Dal 27/10/2026.

  • #156 di @Tektrix — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
numpy, python

Direzione di ricerca

Read src/components/common/matrix_lib.py and src/components/array/xy_array.py, then search src/components for hand-written rotations using the -sin pattern. Replace those rotations with the shared helper, simplify the translation expression, and add a docstring for rot_mat_22; done means behavior stays unchanged. Pull request #156 is already open for this issue.

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

Descrizione

good first issue refactoring

Problem

src/components/common/matrix_lib.py provides rot_mat_22 and hom_mat_33, but rotation matrices are also written by hand in other places, for example XYArray.homogeneous_transformation() in src/components/array/xy_array.py. XYArray also adds the translation with np.ones(shape) * [[x], [y]], where plain broadcasting (+ np.array([[x], [y]])) is enough. rot_mat_22 has no docstring.

Expected fix

Use rot_mat_22 in XYArray and in other hand-written rotations (find them with grep -rn "\-sin" src/components), simplify the translation, and add the missing docstring. Behavior must not change.

Lingua principale
Python
Stelle
1.9k
Fork
313
Merge medio
9g 10h
PR unite (30g)
7

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 ShisatoYano/AutonomousVehicleControlBeginnersGuide

Tutte le issue di ShisatoYano/AutonomousVehicleControlBeginnersGuide

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.