Project·kite / firmware
Sample first pass of kite / firmware · 10:46
Project · kite / firmware
Fixed sample first pass of kite / firmwareFixed sample first pass
0 of 5 looked at · 0 look right
Proposed objectiveObjectiveFrom README.md and the folder layout · for the top of README.mdFrom README.md and the folder layoutProposed
kite / firmware is the fictional flight software for kite’s inspection quadcopter: sensor fusion, flight control, the radio link and a signed bootloader. Safety comes first: on any fault the drone fails safe. The sample’s rules require simulator checks before release.
What “done” looks likeWhat “done” looks like5 found in the sample docs, quoted to the line5 found in the sample docs, quoted to the line5 statements, quoted to the line
1 “Motors never arm while the drone is tilted more than 30°.”SAFETY.md:14 · kite/flight Safety check
2 “On radio loss, hold position for 5 s, then return home.”SAFETY.md:22 · kite/flight No test
3 “Gyro bias stays under 0.02 °/s after calibration.”docs/hw/imu-calibration.md:41 · kite/sensors No test
4 “Switch to the backup link within 500 ms of losing the primary.”docs/radio/failover.md:9 · kite/radio Unit tests
5 “Every flight lands within 0.5 m of the target.”README.md:58 · kite/flight HIL sim
Docs foundDocs found4 docs, 3 images4 docs, 3 images4 docs, 3 design images
README.mdkite/flight · build steps, release rules
SAFETY.mdkite/flight · 6 rules
docs/hw/imu-calibration.mdkite/sensors
docs/radio/failover.mdkite/radio
board-v3.pngframe-axes.pngantenna-layout.png
Tests foundTests foundFound in the sample, not runFound in the sample, not run86 unit · HIL sim · 1 safety check
86 unit testsctest · kite/flight, kite/sensors, kite/radio · covers 4
HIL simulation · 5 flightsFixed sample HIL simulation · covers 5
1 safety checkscripts/check_arming.py · covers 1
GapsGaps3 places “done” is a guess3 places where “done” would be a guess3 found
Radio loss has no testThe fixed HIL example has no radio-loss scenario. Rule 2 is only written down.
Gyro bias has no testRule 3 is checked by hand in imu-calibration.md.
Low battery isn’t written down#201 Battery sag compensation is on the sample Board, but no rule says what must happen.
Radio loss has no test, gyro bias has no test, low battery isn’t written down.Talk it throughI’ll fix it myself
What’s off?
Proposed objectiveObjectiveFrom README.md and the folder layout · for the top of README.mdFrom README.md and the folder layoutProposed
kite / firmware is the fictional flight software for kite’s inspection quadcopter: sensor fusion, flight control, the radio link and a signed bootloader. Safety comes first: on any fault the drone fails safe. The sample’s rules require simulator checks before release.
GapsGaps3 places “done” is a guess3 places where “done” would be a guess3 found
Radio loss has no testThe fixed HIL example has no radio-loss scenario. Rule 2 is only written down.
Gyro bias has no testRule 3 is checked by hand in imu-calibration.md.
Low battery isn’t written down#201 Battery sag compensation is on the sample Board, but no rule says what must happen.
Radio loss has no test, gyro bias has no test, low battery isn’t written down.Talk it throughI’ll fix it myself
What’s off?
What “done” looks likeWhat “done” looks like5 found in the sample docs, quoted to the line5 found in the sample docs, quoted to the line5 statements, quoted to the line
1 “Motors never arm while the drone is tilted more than 30°.”SAFETY.md:14 · kite/flight Safety check
2 “On radio loss, hold position for 5 s, then return home.”SAFETY.md:22 · kite/flight No test
3 “Gyro bias stays under 0.02 °/s after calibration.”docs/hw/imu-calibration.md:41 · kite/sensors No test
4 “Switch to the backup link within 500 ms of losing the primary.”docs/radio/failover.md:9 · kite/radio Unit tests
5 “Every flight lands within 0.5 m of the target.”README.md:58 · kite/flight HIL sim
Docs foundDocs found4 docs, 3 images4 docs, 3 images4 docs, 3 design images
README.mdkite/flight · build steps, release rules
SAFETY.mdkite/flight · 6 rules
docs/hw/imu-calibration.mdkite/sensors
docs/radio/failover.mdkite/radio
board-v3.pngframe-axes.pngantenna-layout.png
Tests foundTests foundFound in the sample, not runFound in the sample, not run86 unit · HIL sim · 1 safety check
86 unit testsctest · kite/flight, kite/sensors, kite/radio · covers 4
HIL simulation · 5 flightsFixed sample HIL simulation · covers 5
1 safety checkscripts/check_arming.py · covers 1
What “done” looks like5 statements, quoted to the lineTo check
What “done” looks likeWhat “done” looks like5 found in the sample docs, quoted to the line5 found in the sample docs, quoted to the line5 statements, quoted to the line
1 “Motors never arm while the drone is tilted more than 30°.”SAFETY.md:14 · kite/flight Safety check
2 “On radio loss, hold position for 5 s, then return home.”SAFETY.md:22 · kite/flight No test
3 “Gyro bias stays under 0.02 °/s after calibration.”docs/hw/imu-calibration.md:41 · kite/sensors No test
4 “Switch to the backup link within 500 ms of losing the primary.”docs/radio/failover.md:9 · kite/radio Unit tests
5 “Every flight lands within 0.5 m of the target.”README.md:58 · kite/flight HIL sim
Docs found4 docs, 3 design imagesTo check
Docs foundDocs found4 docs, 3 images4 docs, 3 images4 docs, 3 design images
README.mdkite/flight · build steps, release rules
SAFETY.mdkite/flight · 6 rules
docs/hw/imu-calibration.mdkite/sensors
docs/radio/failover.mdkite/radio
board-v3.pngframe-axes.pngantenna-layout.png
Tests found86 unit · HIL sim · 1 safety checkTo check
Tests foundTests foundFound in the sample, not runFound in the sample, not run86 unit · HIL sim · 1 safety check
86 unit testsctest · kite/flight, kite/sensors, kite/radio · covers 4
HIL simulation · 5 flightsFixed sample HIL simulation · covers 5
1 safety checkscripts/check_arming.py · covers 1