Tici sensord (#2072)

* tici sensord: WIP

* add sensor constants

* rename files

* base class

* init sensors

* publish something

* dont leak memory

* try reading from accel

* Accel works

* add time and sensor source

* Update release files

* If we want low BW we want 125hz

* this should run gyro as well

* add filter on gyro

* also filter accel data

* Add i2c files

* cast makes macos unhappy

* Same outputs as android sensord

Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
This commit is contained in:
robbederks
2020-08-26 11:30:30 +02:00
committed by GitHub
parent 521b6688ea
commit 622e42d504
17 changed files with 559 additions and 8 deletions
+7 -1
View File
@@ -215,8 +215,11 @@ selfdrive/common/visionimg.cc
selfdrive/common/visionimg.h
selfdrive/common/spinner.c
selfdrive/common/spinner.h
selfdrive/common/gpio.cc
selfdrive/common/gpio.h
selfdrive/common/i2c.cc
selfdrive/common/i2c.h
selfdrive/controls/__init__.py
@@ -313,7 +316,10 @@ selfdrive/loggerd/deleter.py
selfdrive/sensord/SConscript
selfdrive/sensord/gpsd.cc
selfdrive/sensord/libdiag.h
selfdrive/sensord/sensors.cc
selfdrive/sensord/sensors_qcom.cc
selfdrive/sensord/sensors_qcom2.cc
selfdrive/sensord/sensors/*.cc
selfdrive/sensord/sensors/*.hpp
selfdrive/sensord/sensord
selfdrive/sensord/gpsd