Commit Graph

21 Commits (master)

Author SHA1 Message Date
arfy slowy d74def61f8
fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 12:05:49 -07:00
Willem Melching 8eba02e119
MMC5603NJ support (#21564)
* read chip id

* set source

* untested driver

* periodic set

* optional
2021-07-13 15:38:06 +02:00
Willem Melching fd47239274
LSM6DS3TR-C support (#21563)
* add chip id

* fix temp scale

* cleanup source
2021-07-12 19:37:30 +02:00
Dean Lee e4e669bb0f
add space after function name and if statement (#21225) 2021-06-11 10:17:52 +02:00
Willem Melching 79a2f06760
LSM6DS3 fix gyro scale (#21040) 2021-05-26 15:44:51 +02:00
Willem Melching 6340c2a996
bmx055 magnetometer fix reference frame (#21026) 2021-05-25 21:53:15 -07:00
Dean Lee 0495426535
Cleanup includes (#20925)
* remove #include <pthread.h>

* remove #include<stdbool.h> for cc files

* remove #include<iostream>
2021-05-17 10:31:31 +02:00
Dean Lee 7222d0f20d
Cleanup selfdrive/ includes (#20822)
* cleanup include path

* continue

* format includes

* fix testraw.cc

* remove include path from SConstruct

* regroup

* rebase master

* almost done

* apply review

* rename FileReader.xx to filereader.xx

* rename Unlogger.x->unlogger.x

* rename FrameReader.xx -> framereader.xx

* apply reviews

* ui.h

* continue

* fix framebuffer.cc build error:mv util.h up

* full path to msm_media_info

* fix qcom2 camerad

Co-authored-by: Comma Device <device@comma.ai>
2021-05-08 22:15:17 -07:00
Dean Lee 81491dc57f
c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h

* cleanup files_common
2021-05-03 11:53:11 +02:00
Willem Melching 1c83ae8722
BMX055 dont use FIFO registers (#20374) 2021-03-16 14:37:14 +01:00
Willem Melching 17f3683228
BMX055 magnetometer fixes and advanced self-test (#20118)
* bmx055 magnetometer selftest

* try this

* cleanup trim data reading

* parsing fixed now?

* make self test work and increase numreps
2021-02-25 16:14:54 +01:00
Willem Melching fd01c89491
BMX055 magnetometer calibration (#19992) 2021-02-02 12:10:08 +01:00
Dean Lee 595830135b
merge utilpp.h into util.h (#19710) 2021-01-10 14:57:32 -08:00
Dean Lee c1cf0882bd
Replace usleep with util::sleep_for (#19643)
* replace usleep with sleep_for

* sleep microseconds

* sleep nanoseconds

* Trigger Build
2021-01-04 18:03:11 +01:00
Adeeb Shihadeh 4096f86e21
lgtm fixes (#19610)
* pass matrices by reference

* suppress that

* destructor

* that's wrong, suppress it
2020-12-28 20:36:23 -08:00
Dean Lee bd4f6650fa
simplify building capnp messages with arrays (#2617) 2020-11-30 12:08:52 +01:00
Willem Melching 2e739aa77c Fix gyro field name 2020-10-07 13:43:35 +02:00
Willem Melching e51da619c1
LSM6DS3 (#2268)
* add initial lsm6ds3 setup

* accel works

* ignore lsm6ds3 in locationd

* add gyro

* add temp

Co-authored-by: Comma Device <device@comma.ai>
2020-10-05 16:16:25 +02:00
Willem Melching f55e79e46a
tici: BMX055 magnetometer& temperature sensor (#2212)
* BMX055 Magnetometer support

* add temp sensor
2020-09-21 17:33:36 +02:00
Willem Melching 7cc5710974
Tici light sensor (#2150)
* more generic sensor base class

* add file sensor

* light sensor working

* correct sensor type
2020-09-10 15:11:13 +02:00
robbederks 622e42d504
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>
2020-08-26 11:30:30 +02:00