Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Adeeb Shihadeh
ccc8e099b6
sensord: test update for provisioning ( #29942 )
...
sensord: update for provisioning
2 years ago
Adeeb Shihadeh
0908be80bd
sensord: test updates for provisioning ( #29768 )
...
* sensord: test updates for provisioning
* fix
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Greg Hogan
de97d32fe0
gnss raw measurements through nmea port ( #29745 )
...
* gnss measurements through nmea port
* document values
* flags always zero
* fix linter errors
* fix linter errors
2 years ago
Greg Hogan
5058f31908
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
2 years ago
Dean Lee
9c7bf50703
cpplint: add filter `whitespace/tab` ( #29588 )
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
Adeeb Shihadeh
239d6a24be
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>
2 years ago
Adeeb Shihadeh
d3fb75a972
sensord: run as many sensors as possible ( #29564 )
2 years ago
Adeeb Shihadeh
42769345d5
sensord: lower temperature sensor freq to 2Hz ( #29563 )
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Adeeb Shihadeh
6a66b75556
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>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Adeeb Shihadeh
f5071411cb
sensord: rm light sensor ( #29503 )
2 years ago
Dean Lee
3eef63af9b
common: C++ RateKeeper ( #29374 )
...
* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
2 years ago
Adeeb Shihadeh
a9626f95b6
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 db5e13b991
.
* fix pm test
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2 years ago
Justin Newberry
7fdd9fc37c
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
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Adeeb Shihadeh
42e106dd47
rawgpsd: accept alt assistance file ( #29202 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
f310d501f4
rawgpsd: better download proc cleanup ( #29199 )
...
* rawgpsd: better download proc cleanup
* more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
14001be605
rawgpsd: retry injecting assistance data ( #29115 )
...
* rawgpsd: retry injecting assistance data
* sleep a bit
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9113816e1d
rawgpsd: fix double setup ( #29108 )
...
* rawgpsd: fix double setup
* speedup test
* update that one
* minimal diff
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
5fb2f7072b
rawgpsd: speedup tests ( #29110 )
...
* rawgpsd: speedup tests
* fix that one
* little more
* prevent subtle bugs
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
d92c9aef23
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
1945c356c2
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 c5132f8a27
.
* 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>
2 years ago
Dean Lee
269ceca27a
common/swaglog: remove trailing semicolon from macros ( #29042 )
2 years ago
Harald Schäfer
9054590c95
Rawgpsd: retry even more on setup ( #29045 )
2 years ago
Vivek Aithal
f7471f9108
[Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate ( #28989 )
...
change bearingAccuracyDeg from 0 to 180 deg, when invalid
2 years ago
Harald Schäfer
601d133bba
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
2 years ago
Harald Schäfer
966c5f476a
Qcom gps: retry logs setup ( #28952 )
2 years ago
Harald Schäfer
c8965b0e60
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>
2 years ago
Harald Schäfer
80eff1b6ce
Rawgpsd: cleanup init ( #28890 )
...
* Rawgpsd: cleanup init
* back to default
* Fix injection time check
* add quotes
* change to 12 hrs
* Fixes
2 years ago
Harald Schäfer
47ee0932db
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
2 years ago
Harald Schäfer
221cd0ab09
Laikad: fix qcom report collection ( #28879 )
...
* Make report aggregation variable
* Add laikad test now it passes
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Harald Schäfer
771e410262
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>
2 years ago
Adeeb Shihadeh
f2bbb33a8a
rawgpsd: bring back SUPL config ( #28858 )
2 years ago
Robbe Derks
c0e88991b0
Increase expected sensor frequency for LSM6DS3 ( #28863 )
...
expected freq of lsm accel/gyro is 104Hz
2 years ago
Adeeb Shihadeh
689ff7e060
rawgpsd: adjust startup time threshold
2 years ago
Adeeb Shihadeh
5992bf4acc
rawgpsd tests ( #28683 )
...
* rawgpsd tests
* test xtra
* check freq
* fix
* restart lte
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
a50c191f8d
bump cereal ( #28650 )
...
* bump cereal
* fix pigeond test
* bump cereal
* bump cereal
* bump cereal
* bump cereal
* update refs
2 years ago
Adeeb Shihadeh
e276d2a417
update pylint ( #28395 )
...
* update pylint
* update config
* fix
2 years ago
Adeeb Shihadeh
04556652dc
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>
2 years ago
Harald Schäfer
b35d525cc9
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
2 years ago
Shane Smiskol
c9804f8ec2
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
2 years ago
Adeeb Shihadeh
038d34aa7f
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>
2 years ago