Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb2586053d6c5508ef3f420947941d90
2023-09-21 18:25:15 -07:00
Adeeb Shihadeh
1bbc16633c
sensord: test update for provisioning ( #29942 )
...
sensord: update for provisioning
old-commit-hash: ccc8e099b6e3457cc3a4e263491d1bfc92e8c897
2023-09-15 18:50:43 -07:00
Adeeb Shihadeh
6a3da36632
sensord: test updates for provisioning ( #29768 )
...
* sensord: test updates for provisioning
* fix
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0908be80bda09d7cc476693ab17208cf0fca4ded
2023-09-05 15:32:57 -07:00
Greg Hogan
ada436be39
gnss raw measurements through nmea port ( #29745 )
...
* gnss measurements through nmea port
* document values
* flags always zero
* fix linter errors
* fix linter errors
old-commit-hash: de97d32fe0a019186eee03d4bf39d85a2d62dfd8
2023-09-02 16:58:34 -07:00
Greg Hogan
de996d76bb
rename GPIO pin with ublox in the name that is not ublox specific ( #29702 )
...
* rename UBLOX_PWR_EN to GNSS_PWR_EN
* add schematic label as comment
old-commit-hash: 5058f31908ec10e1dad10fc8f1e9921d6df52efe
2023-08-29 22:24:37 +00:00
Dean Lee
228d30d5a9
cpplint: add filter whitespace/tab ( #29588 )
...
old-commit-hash: 9c7bf50703e4da45163e175766b4bdfabcb9916c
2023-08-24 08:06:58 -07:00
Dean Lee
0984736972
cpplint: add filter build/include_subdir ( #29585 )
...
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
2023-08-24 15:42:17 +01:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5d98d57100fd709b9ffe7bfcc6e020a
2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
8960a0912b
sensord: fix LSM magnetometer thermal variation ( #29265 )
...
* do set reset for every measurement cycle
* use one sensorvec
* convert from continuous to manual mode
* separate the set/reset and TM_M
* make magnetometer readings manual, set appropriate sleep
* add more sleep and check validity of values
* add magnetometer to a separate thread
* refactor
* bugfix
* each sensor in a new thread, handle generically
* bugfix
* rm global
* update cpu
* update test
* update test
* revert cereal change
* split out temp sensors
* little more
* fix
* fix
* bump cereal
* linter fixes
---------
Co-authored-by: nuwandavek <vivekaithal44@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 239d6a24bed850a6fbd3e0794da19130cdb773f7
2023-08-23 14:21:10 -07:00
Adeeb Shihadeh
44f1d480f9
sensord: run as many sensors as possible ( #29564 )
...
old-commit-hash: d3fb75a972338e37d5537d900c8d2f55439db961
2023-08-23 14:07:00 -07:00
Adeeb Shihadeh
0ae2523a16
sensord: lower temperature sensor freq to 2Hz ( #29563 )
...
old-commit-hash: 42769345d505cc30978aaf9ed735cb8d644b13aa
2023-08-23 14:00:26 -07:00
Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Adeeb Shihadeh
5c213d7a38
sensord: setup per-sensor threads ( #29558 )
...
* sensord: setup per-sensor threads
* revert cereal
* more cleanup
* bump cereal
* update test
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 6a66b7555679c5cd3511e03ba6e1cb528706f84e
2023-08-23 12:58:09 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Adeeb Shihadeh
29977caa45
sensord: rm light sensor ( #29503 )
...
old-commit-hash: f5071411cb460cc64474f533143f37ba3eb54ce6
2023-08-20 22:38:39 -07:00
Dean Lee
97631ec362
common: C++ RateKeeper ( #29374 )
...
* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
old-commit-hash: 3eef63af9b4f4a25bc4c3a0d6ad450bba9f62205
2023-08-20 21:27:02 -07:00
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e6592439119f360dd64b854e7047f35222ba
2023-08-11 15:33:49 -07:00
Justin Newberry
a14f162bc7
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
old-commit-hash: 4a9afd7554060ac5353e96f1d7feb06d3a3671e9
2023-08-10 16:40:30 -07:00
Justin Newberry
3ee0786de3
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
old-commit-hash: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b0c9bfe5ccfc8e64321af6bb6c56536
2023-08-08 14:24:04 -07:00
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a93cf6cb1f8bd2fff1431716b3a47e4
2023-08-08 13:41:30 -07:00
Adeeb Shihadeh
e83ade5c18
rawgpsd: accept alt assistance file ( #29202 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 42e106dd476b0831048bac9654cb3471911200ca
2023-08-01 13:38:08 -07:00
Adeeb Shihadeh
8519efbc9b
rawgpsd: better download proc cleanup ( #29199 )
...
* rawgpsd: better download proc cleanup
* more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: f310d501f4c5305fbe4577030ea4adf8178812ec
2023-08-01 12:31:04 -07:00
Adeeb Shihadeh
709125ed04
rawgpsd: retry injecting assistance data ( #29115 )
...
* rawgpsd: retry injecting assistance data
* sleep a bit
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 14001be60575eddce59bd23c16a97fc896ae299f
2023-07-23 22:10:36 -07:00
Adeeb Shihadeh
8932524fe8
rawgpsd: fix double setup ( #29108 )
...
* rawgpsd: fix double setup
* speedup test
* update that one
* minimal diff
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9113816e1dd08f7368bcc311d2514dc91033540c
2023-07-23 15:59:26 -07:00
Adeeb Shihadeh
a51824c339
rawgpsd: speedup tests ( #29110 )
...
* rawgpsd: speedup tests
* fix that one
* little more
* prevent subtle bugs
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 5fb2f7072bec37ab4da3ca6558834a9e2fffcb9b
2023-07-23 15:38:47 -07:00
Adeeb Shihadeh
3dfd770fb0
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: d92c9aef23fc789d50bfd03ae09a3abbf23a8429
2023-07-22 17:15:58 -07:00
Adeeb Shihadeh
b0c3778aae
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
Co-authored-by: Yassine <yassine.y10@gmail.com >
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
Co-authored-by: Yassine <yassine.y10@gmail.com >
old-commit-hash: 1945c356c2c127cfe1f2d1930e33f2f3af7a1eb4
2023-07-20 21:56:57 -07:00
Dean Lee
05b2a0b884
common/swaglog: remove trailing semicolon from macros ( #29042 )
...
old-commit-hash: 269ceca27a5fedc1eadd71503cf13450a061b382
2023-07-19 19:46:42 -07:00
Harald Schäfer
fccb8f0a6d
Rawgpsd: retry even more on setup ( #29045 )
...
old-commit-hash: 9054590c95b6abbe002e7b44dd14249ded12bf8d
2023-07-19 18:54:27 -07:00
Vivek Aithal
cb60085777
[Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate ( #28989 )
...
change bearingAccuracyDeg from 0 to 180 deg, when invalid
old-commit-hash: f7471f9108472cc53ea88052df32927d16c68289
2023-07-18 11:21:11 -07:00
Harald Schäfer
a94a56db49
qcom gps: Always pull in thread ( #28951 )
...
* Laikad: cleanup zmq cloudlog warnings
* Handle in cloudlog
* whitespace
* whitespace
* Always pull in thread
* Stop downloading when you have fix
* check if exist
* Atomic move after download
* Increase wait
* merge
old-commit-hash: 601d133bbaa1d737fca20db96bb13b2b1ded6b92
2023-07-17 23:58:57 -07:00
Harald Schäfer
8f7729809d
Qcom gps: retry logs setup ( #28952 )
...
old-commit-hash: 966c5f476a83455ad165b6ad6c44599c66550e9a
2023-07-15 10:31:30 -07:00
Harald Schäfer
f7771c5538
Qcom gps: retry assistance ( #28723 )
...
* Retry assistance
* rm whitespace
* Only inject when it's there
* will be rmd anyway
* Update test
* Actually disable internet in test
* Fix tests
* cleanup test
* fix tests more
* add late assist test
* use process
* Dont double clear
* ignore
* Small improvements
* Make tests
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c8965b0e60433bbc262cfa70e5b40954a195ac56
2023-07-13 14:52:47 -07:00
Harald Schäfer
92c77ef506
Rawgpsd: cleanup init ( #28890 )
...
* Rawgpsd: cleanup init
* back to default
* Fix injection time check
* add quotes
* change to 12 hrs
* Fixes
old-commit-hash: 80eff1b6ce6600c8b93846ac6e096cf38f9ec695
2023-07-11 23:05:25 -07:00
Harald Schäfer
ef407c9ad9
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
old-commit-hash: 47ee0932db6911dd7fc064ae3a17e929d341c94e
2023-07-11 13:22:09 -07:00
Harald Schäfer
71e5af04c3
Laikad: fix qcom report collection ( #28879 )
...
* Make report aggregation variable
* Add laikad test now it passes
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 221cd0ab09fb3e33db010efde52459148e0aba2a
2023-07-11 01:25:49 -07:00
Harald Schäfer
6a37f17f65
Test rawgpsd: Make sure we get fix ( #28875 )
...
* Add fix test
* Add laika to test
* Add fix test
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 771e410262a10ce2ecdd6fedda1bf262d91b6f9a
2023-07-11 00:51:26 -07:00
Adeeb Shihadeh
0fbdad53ab
rawgpsd: bring back SUPL config ( #28858 )
...
old-commit-hash: f2bbb33a8a87171a8e27ad0a6af89f4f3b2e9f4e
2023-07-10 13:26:50 -07:00
Robbe Derks
8a29a9ca43
Increase expected sensor frequency for LSM6DS3 ( #28863 )
...
expected freq of lsm accel/gyro is 104Hz
old-commit-hash: c0e88991b0e02cc05d98091375104f7bc88121fb
2023-07-10 16:21:13 +02:00
Adeeb Shihadeh
812b37fce3
rawgpsd: adjust startup time threshold
...
old-commit-hash: 689ff7e06056c3bc679ebbb1e5700bdce9b9d796
2023-06-24 22:25:31 -07:00
Adeeb Shihadeh
8d80b8445c
rawgpsd tests ( #28683 )
...
* rawgpsd tests
* test xtra
* check freq
* fix
* restart lte
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 5992bf4acc11bd49206b2b0c16926a129cd11f20
2023-06-24 20:04:58 -07:00
Adeeb Shihadeh
1405732c93
bump cereal ( #28650 )
...
* bump cereal
* fix pigeond test
* bump cereal
* bump cereal
* bump cereal
* bump cereal
* update refs
old-commit-hash: a50c191f8df547d65b539438a4f0e9a1a8efb205
2023-06-23 16:01:21 -07:00
Adeeb Shihadeh
91a47d61c5
update pylint ( #28395 )
...
* update pylint
* update config
* fix
old-commit-hash: e276d2a417a5133fb91c93b2ef30df68a7d5f225
2023-06-04 14:06:04 -07:00
Adeeb Shihadeh
3952090f7f
rawgpsd: fix loading assistance data ( #28381 )
...
* rawgpsd: fix loading assistance data
* needs a specific name
* cleanup
* more logging
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 04556652dc15460aa51cd3315982106a66526efb
2023-06-02 22:35:05 -07:00
Harald Schäfer
c957a61c12
Assisted GPS qcom ( #28278 )
...
* Assisted GPS works
* cleanup
* add error handling
* use pycurl instead with timeout
* Add file size check
* More cleanup
* more cleanup
* Dont crash on large file
old-commit-hash: b35d525cc90f4ad5b4213872eacf7429a517c0fa
2023-05-26 17:24:09 +02:00
Shane Smiskol
1f46287206
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
old-commit-hash: c9804f8ec20fd60a42c17d61d07da83406c5ff31
2023-04-10 20:46:12 -07:00
Adeeb Shihadeh
3d9dfbf2bd
tizi: affine IRQ by action instead of number ( #27811 )
...
* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 038d34aa7f25bff127d1265f6b1446cf40fe414b
2023-04-05 16:35:27 -07:00