EPIC: Time-varying sensor fusion
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- embedded-iot
Direzione di ricerca
Start by reading the existing sensor pipeline and the sensor interrupt handlers; the issue does not name specific files or tests. Before implementation, agree on a smaller task and define the filter state, data-timing behavior, and acceptance criteria. Done should mean the chosen task has clear criteria and can be verified without relying on stale sensor data.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version: 2.8.0 maybe
Describe the feature you'd like
We can write an Extended Kalman Filter to process our sensor data in a way that doesn't reuse stale data. Our current sensor pipeline processes and logs data mostly all at once, which is fine for just logging, but we get different data rates from our sensors:
IMU: super fast, like 1000 Hz
GPS: around 10 Hz, but we get different types of messages with different data
Mag: up to 30 Hz
Baro: about 200 Hz
If we try to combine all the data during each sensor dump like we do now, we use old data that doesn't necessarily reflect the current state of the FC, especially GPS. We could set up our interrupt handlers for the sensors to set a flag that the data is ready along with a timestamp, then only process data that's ready when we do a sensor dump.
There are a lot of options on what the state vector of the filter will actually contain, but at a bare minimum, for example, something for vertical translation should output position, velocity, and acceleration. Also consider using an indirect Kalman filter, which estimates error and applies a feedback correction.
It might be desirable to write a complicated filter like this in MATLAB because otherwise we will need some solution to how to do linear algebra in our code. Other things, like interrupt service routine changes can be done in smaller tasks.
Describe alternatives you've considered
Leave most things the way they are and check if previous data is duplicated
CMSIS has linear algebra support, but we don't have SIMD so it wouldn't be super beneficial.
Additional context
I might update this with resources, but I think Phil's Lab has some stuff of this type of filtering.
Indirect Kalman filter (basically exactly what we're looking for): https://mars.cs.umn.edu/tr/reports/Trawny05b.pdf - this uses JPL quaternions but we use Hamilton quaternions
Points of Contact
Firmware Lead/Sensor SME: @NArmistead
Avionics Lead/ISR SME: @ETSells
- Lingua principale
- C
- Stelle
- 8
- Fork
- 6
- Merge medio
- 2g 17h
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SunDevilRocketry/Flight-Computer-Firmware
-
Sensor: Set magnetometer ODR to 30 HzForse già presa @NArmistead l’ha presa 5 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
SunDevilRocketry/Flight-Computer-Firmware#347 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
SQA: Define high priority files with low-level requirements and higher coverage requirementForse già presa @ETSells l’ha presa 7 giorni fa. Apertaadvanced documentation enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
SunDevilRocketry/Flight-Computer-Firmware#342 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
EPIC: v2.8.0 major refactors and breaking changesForse già presa @NArmistead l’ha presa 13 giorni fa. Apertaadvanced Epic refactor
SunDevilRocketry/Flight-Computer-Firmware#341 · 2 assegnatari ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement
SunDevilRocketry/Flight-Computer-Firmware#327 ·
I maintainer di solito rispondono entro 2 giorni
-
Test: Update tests and trace to HLRsForse già presa @ETSells l’ha presa 7 giorni fa. Apertaverification
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
SunDevilRocketry/Flight-Computer-Firmware#324 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di SunDevilRocketry/Flight-Computer-Firmware
Issue simili
-
[raylib] update to 6.2Apertacategory:port-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
native-cpu: -Wreturn-type in skainet_row_threads.c:150 (worker fn has no return)Forse già presa @Doomguy-BFG9000 l’ha presa oggi. Apertagood first issue size:xs skill:native
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
SKaiNET-developers/SKaiNET#1358 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno