HaraldSchafer
54e54fb585
Qcom use laika timestamp ( #25344 )
...
* Qcom location: use laika to generate unix timestamp
* bump laika
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
HaraldSchafer
32201bbbbd
Quectel unix timestamp ( #25329 )
...
* Use laika
* Fix bug
* Better timestamp name
* Better name
* bump cereal
3 years ago
HaraldSchafer
98146f5858
Gather quectel GPS data ( #25300 )
...
* bump cereal
* Use old name
* back to default
3 years ago
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Adeeb Shihadeh
cb8885cffb
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
3 years ago
Willem Melching
822ea1fbd9
Add sensord test to Jenkins ( #24524 )
...
* Add sensord test to Jenkins
* add second configuration
* add other configs too
* rename
* move into existing HW tests
3 years ago
Dylan Herman
d2eef1955c
add mypy check for return-any ( #24379 )
...
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
George Hotz
5af52627de
rawgps: add oemdre support ( #24059 )
...
* oemdre works
* fast receive
* parse oemdre
* parsing dre
* parsing oemdre
* unused import
* remove unparsed msgs
* import, don't redefine
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Comma Device
c095e7b153
rawgps: add comments to satelite struct
3 years ago
Comma Device
98cde5848e
rawgps: fix crash, disable DPO
3 years ago
George Hotz
1df3c86999
sensord: add support for Quectel raw gps ( #24027 )
...
* connecting to rawgps
* dumping rawfps packets
* this works, but it might be useless
* fix parsing
* parsing 0x1476
* compare
* compare better
* refactoring
* parsing and broadcasting GPS packet
* glonass support
* compare using submaster
* fix compare for glonass
* update cereal
* make linter happy
* other linter issue
* last mypy complaints
* add support for publishing gpsLocationExternal
* set flags to 1 to match ubloxd
* ready to ship
* qcomdiag
* use unused variables
* last one
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
b078d8e425
Make BMX055 optional if MMC5603NJ present ( #22698 )
4 years ago
Greg Hogan
3a578cb5b5
fix cd in process scripts ( #21806 )
...
* ui: fix cd in launch script
* do the rest
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
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>
4 years ago
Willem Melching
8eba02e119
MMC5603NJ support ( #21564 )
...
* read chip id
* set source
* untested driver
* periodic set
* optional
4 years ago
Willem Melching
fd47239274
LSM6DS3TR-C support ( #21563 )
...
* add chip id
* fix temp scale
* cleanup source
4 years ago
Dean Lee
e4e669bb0f
add space after function name and if statement ( #21225 )
4 years ago
Dean Lee
c53cb5d570
Use C++ header files instead of C header files. ( #21192 )
...
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
4 years ago
Willem Melching
79a2f06760
LSM6DS3 fix gyro scale ( #21040 )
4 years ago
Willem Melching
6340c2a996
bmx055 magnetometer fix reference frame ( #21026 )
4 years ago
Dean Lee
0495426535
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
4 years ago
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>
4 years ago
Adeeb Shihadeh
ec414e2eb1
set nice values for non RT processes ( #20812 )
...
* set nice values for non RT processes
* builds
* fix qcom build
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
8a280fbb8e
bump cereal
4 years ago
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
4 years ago
iejMac
4866a39244
cereal: SubMaster refactor, update is now void ( #20730 )
...
* cereal: SubMaster refactor, update is now void
* bump cereal
* mistake
* update void
* checks
* semicolon
* Update selfdrive/camerad/cameras/camera_frame_stream.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* check sensorEvent
* update cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
1c83ae8722
BMX055 dont use FIFO registers ( #20374 )
4 years ago
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
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
4 years ago
Adeeb Shihadeh
fe7f3f0ec6
remove gpsd ( #20027 )
4 years ago
Willem Melching
fd01c89491
BMX055 magnetometer calibration ( #19992 )
4 years ago
Dean Lee
595830135b
merge utilpp.h into util.h ( #19710 )
4 years ago
Dean Lee
86fe2d1697
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
4 years ago
Dean Lee
c1cf0882bd
Replace usleep with util::sleep_for ( #19643 )
...
* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build
4 years ago
Adeeb Shihadeh
ffa7e0cbdb
manager tests + make all processes exit cleanly ( #19595 )
...
* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
4096f86e21
lgtm fixes ( #19610 )
...
* pass matrices by reference
* suppress that
* destructor
* that's wrong, suppress it
4 years ago
Dean Lee
bd4f6650fa
simplify building capnp messages with arrays ( #2617 )
4 years ago
robbederks
c5c875bad9
Tici Focal ( #2459 )
...
* fix i2c
* fix libi2c (again?)
* qt 5.12.8
Co-authored-by: Willem Melching <willem.melching@gmail.com>
5 years ago
Adeeb Shihadeh
9e03c2e929
tap to wake with accelerometer ( #2267 )
5 years ago
Willem Melching
2e739aa77c
Fix gyro field name
5 years ago
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>
5 years ago
Adeeb Shihadeh
06cb2f963d
UI: refactor light sensor ( #2129 )
...
* refactor light thread
* qcom low power mode
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Willem Melching
f55e79e46a
tici: BMX055 magnetometer& temperature sensor ( #2212 )
...
* BMX055 Magnetometer support
* add temp sensor
5 years ago
Dean Lee
9fa56b4eab
more messagebuilder ( #2162 )
...
* more messagebuilder
* little more
* revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
Adeeb Shihadeh
4d5733924a
message builder ( #2161 )
...
* use custom MessageBuilder from cereal
* use MesageBuilder.toBytes
* bump cereal
* unused
* another one
* fix ui msg
Co-authored-by: deanlee <deanlee3@gmail.com>
5 years ago
Willem Melching
7cc5710974
Tici light sensor ( #2150 )
...
* more generic sensor base class
* add file sensor
* light sensor working
* correct sensor type
5 years ago
Adeeb Shihadeh
daea946ad2
sensord cleanup ( #2111 )
...
* sensors_qcom cleanup
* include vector and map
* abstract sensor init
* use a set
* add to relase files
* fix this up
* no ui changes
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Willem Melching
41b0cba0dd
sensord: more precise 100 Hz, compensate for time spend measuring
5 years ago