Files
dragonpilot/common
Willem Melching 84a3c355e5 sensord: use interrupts to improve LSM6DS3 timing accuracy (#24525)
* change LSM6DS3TR(-c) gyroscope  and accelerometer to interrupt

* add pthread for linking

* add interrupt collector thread to fetch in parallel to non interrupt based sensors

* change get_event interface to return true on successful read

* fetch sensor interrupts via gpiochip

* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)

* add verifier script to sensor interrupts (sensor_data_to_hist.py)

* add/update sensord testsweet (test_sensord.py)

* add poll timed out check

* unexport interrupt gpio pins

* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble

* add test to sensord to verify 100Hz interrupt frequency

* add sensor shutdown/low power mode functionality on sensord exit

* relax test, will be readded in the splitup PR

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-12 22:29:31 -07:00
..
2022-08-30 11:20:55 -07:00
2020-01-17 10:28:44 -08:00
2020-01-17 10:28:44 -08:00
2022-08-31 23:12:26 -07:00
2020-01-17 10:28:44 -08:00
2022-04-05 21:05:45 -07:00
2021-01-14 18:43:50 -08:00
2022-06-01 14:42:32 -07:00
2021-12-28 18:07:00 +01:00
2020-05-31 00:48:47 -07:00
2020-11-06 18:44:04 -08:00
2022-08-23 17:29:03 -07:00
2022-05-02 16:48:04 -07:00