Jason Wen
9e3f57d53e
Merge branch 'master' into SP-59-sync-priv-20240507
2024-05-09 15:48:29 -04:00
Adeeb Shihadeh
a0389d7120
add hasFix field to gpsLocation ( #31778 )
...
* add hasFix field to gpsLocation
* migration
* update refs for ubloxd
* cereal master
2024-03-08 11:32:38 -08:00
Justin Newberry
9d4d5f6077
torqued: use correct time from carOutput ( #31712 )
...
fix timings
2024-03-05 11:02:02 -08:00
Justin Newberry
8ec0d87de0
card: prepare for separate process ( #31660 )
...
* Card
* update ref
* bump cpu
* sub to caroutput
* update ref
2024-03-04 09:53:42 -08:00
Harald Schäfer
85eb221e4c
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
2024-02-28 19:55:57 -08:00
Jason Wen
f588a0367b
Merge branch 'master' into sync-priv-20240227
...
# Conflicts:
# panda
# selfdrive/car/chrysler/values.py
# selfdrive/car/ford/carstate.py
# selfdrive/car/ford/interface.py
# selfdrive/car/ford/values.py
# selfdrive/car/interfaces.py
# selfdrive/car/nissan/values.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/volkswagen/interface.py
# selfdrive/car/volkswagen/values.py
# selfdrive/controls/radard.py
# selfdrive/manager/process.py
# selfdrive/modeld/modeld.py
2024-02-27 21:22:16 -05:00
Harald Schäfer
c05b37979d
Wheeled body ( #31614 )
...
* Wheeled body
* 100hz only for balance
* No carparams in locationd no more
* Update ref
2024-02-27 13:23:04 -08:00
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
2024-02-25 13:29:18 -08:00
Cameron Clough
995250ae49
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
2024-02-24 16:41:23 -08:00
Jason Wen
8eb043ec7d
Merge branch 'master' into sync-priv-20240220
...
# Conflicts:
# CHANGELOGS.md
# panda
# selfdrive/car/toyota/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/manager/manager.py
# selfdrive/modeld/fill_model_msg.py
# selfdrive/modeld/modeld.py
2024-02-24 09:35:16 -05:00
Shane Smiskol
c3e3103830
torqued: log raw params if calculable ( #31521 )
...
* log params when calculable
* better
* Update ref_commit
* this is redundant
* this is only used in one place, confusing which to use so remove
* better
2024-02-20 22:30:51 -08:00
Jason Wen
47caf0e0a4
Merge branch 'master' into sync-priv-20240216
...
# Conflicts:
# panda
# release/files_common
# selfdrive/car/hyundai/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/plannerd.py
# selfdrive/sentry.py
# system/version.py
2024-02-16 08:47:13 -05:00
Adeeb Shihadeh
279d2c3b23
SubMaster: improve service aliveness checks ( #31391 )
...
* bump cereal
* fix
* fixes
* single poll
* bump
* bump
---------
Co-authored-by: Comma Device <device@comma.ai >
2024-02-12 10:11:37 -08:00
Jason Wen
75b38db870
Merge branch 'sync-20240201' into sync-priv-20240201
2024-02-07 22:49:01 -05:00
Justin Newberry
3846130d8e
pytest: add marker for sharing the download cache ( #31082 )
...
* fix cache
* with a marker
2024-01-22 16:30:59 -08:00
Harald Schäfer
e6c97c3846
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com >
2024-01-21 12:09:48 -08:00
Justin Newberry
d39b31aed1
remove get_url instances ( #30986 )
...
rm
2024-01-12 17:36:38 -08:00
Jason Wen
059cf0f3a3
Torque: Subaru: Ignore paramsd valid checks
2023-12-27 20:08:36 +00:00
Adeeb Shihadeh
bd8a99ba28
fix put_nonblocking reference
2023-12-13 20:52:43 -08:00
Dean Lee
3c4c4d1f7f
common/params: support nonblocking write ( #29808 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-12-13 20:36:01 -08:00
Jason Wen
fcc671297e
torqued: cache bucket points every minute while onroad ( #30515 )
...
* torqued: cache bucket points every minute while onroad
* use put_nonblocking
* remove caching on exit
* unused
* more unused
* remove logging
2023-12-13 20:30:33 -08:00
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
2023-12-06 17:27:51 -08:00
Adeeb Shihadeh
a1d36961cf
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
2023-12-03 10:50:17 -08:00
Kacper Rączy
f65e6bc30e
locationd: remove models unused in openpilot ( #30481 )
...
* Remove filters used exclusively by xx
* Update SConstruct
* Remove from release
* Accomodate rednose build changes
* Update rednose ref
* rednose/helpers in rpath
* Add rednose_filters to files_common
* Change rednose_root
* Copy rednose site_scons to docker images
* Remove rednose from rpath
* Bump rednose
* Bump rednose
* Bump rednose
2023-11-22 13:25:29 -08:00
Kacper Rączy
2de13bea91
Remove laika submodule ( #30453 )
...
* Remove laika submodule
* Remove laika check for minimal builds
* Fix minimal build check
* Bring back exclude for opendbc in codespell
* Fix typo
* Copy GNSS indices from laika
* Delete laika dependencies
2023-11-15 10:06:37 +01:00
Justin Newberry
31c682d407
Pytest: load by group by default ( #30466 )
...
* wip
* use a class marker
* this one should be grouped too
2023-11-14 17:33:47 -08:00
Jason Wen
9e00a2f066
Merge branch 'master' into sync-priv-20231108
...
# Conflicts:
# panda
# selfdrive/car/subaru/interface.py
# selfdrive/locationd/torqued.py
2023-11-12 01:00:33 -05:00
Vivek Aithal
2eb487c9a5
params: Remove separate CarParams from each daemon ( #30405 )
...
* remove separate previous route carparams from each daemon and add centrally to controlsd
* extract out sigint handler
* make process replay work for torqued
* don't write param if None
2023-11-08 15:25:41 -08:00
Jason Wen
3efe44db07
Merge branch 'master' into sync-priv-20231025
...
# Conflicts:
# selfdrive/car/hyundai/interface.py
2023-10-25 15:22:57 -04:00
Harald Schäfer
56dea7b0b4
Rm laikad ( #30299 )
...
* rm laika
* Rm laika
* Needed this
* More rm
* More rm
2023-10-23 00:15:39 -07:00
Jason Wen
ccfb7ff153
Merge branch 'master' into sync-priv-20231016
...
# Conflicts:
# panda
# selfdrive/car/chrysler/values.py
# selfdrive/car/ford/values.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/values.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/plannerd.py
# selfdrive/sentry.py
# selfdrive/ui/qt/offroad/settings.cc
2023-10-16 11:52:39 -04:00
Jason Wen
6c67abe65f
Revert "Sync master-priv with public sunnypilot:master"
2023-10-16 04:53:55 +00:00
Adeeb Shihadeh
b68cfbb332
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
2023-10-13 23:27:04 -07:00
Vivek Aithal
9e24a11f17
torqued: Refactor to share code with magd ( #30238 )
...
* refactor to extract common functions and classes out
* Add helpers.py to release files
* refactor
2023-10-13 17:24:04 -07:00
DevTekVE
f885863e1e
Sync master-priv with public sunnypilot:master
2023-10-13 16:40:08 +00:00
Jason Wen
613d5b4aba
Torque Lateral Control: Refactor settings ( #300 )
...
* Torque Lateral Control: Refactor settings
* don't need this
* only offroad allowed
* Don't need this
* allow when offroad
* gate them
* flipped
* handle them better
* cleaner
* remove duplicate
* toggle checks cleanup
* 2.5 second check
* trigger refresh when going offroad
* cleanup
* move toggle
* update title and description
* fix ampersand
* update live torque toggle
* live torqued every 2.5 second
2023-09-29 02:36:55 -04:00
Harald Schäfer
2162d149e8
calibrationd: Pitch spread different tolerance ( #30065 )
...
* calibrationd: Pitch spread different tolerance
* Improve calibrationd tests
2023-09-28 14:27:50 -07:00
Vivek Aithal
0461ea8a82
paramsd: Add condition to sensor valid check ( #30066 )
...
add condition to sensorvalid check
2023-09-27 21:00:36 -07:00
Shane Smiskol
61c5618f15
torqued: useParams field reflects if using torque control ( #30059 )
...
fix useParams
2023-09-26 17:23:10 -07:00
Vivek Aithal
6d5f4f149d
locationd: Replace allAliveAndValid with allValid ( #30064 )
...
* replace allaliveandvalid check with allvalid, all necessary time checks are already used
* update refs
2023-09-26 15:31:40 -07:00
Justin Newberry
0251742079
CI: use "slow" marker for pytest ( #30063 )
...
* skip to mark
* fix quotes
2023-09-26 13:44:18 -07:00
Jason Wen
31c56ca708
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/controls/controlsd.py
# selfdrive/manager/custom_dep.py
2023-09-23 00:06:34 -04:00
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2023-09-21 18:25:15 -07:00
Justin Newberry
7e54882458
test_locationd: don't redownload logs ( #29929 )
...
don't redownload logs
2023-09-15 13:11:39 -07:00
Vivek Aithal
e9edf1300a
locationd: Unit tests for different scenarios ( #29908 )
...
* add different scenarios for locationd
* add locationd scenario tests to unit tests
2023-09-14 13:59:21 -07:00
Vivek Aithal
01011c6c1d
liblocationd: No longer used ( #29909 )
...
remove liblocationd
2023-09-13 18:59:32 -07:00
Justin Newberry
73eda51a11
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
2023-09-07 12:49:03 -07:00
Jason Wen
e50f3baa45
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# panda
# selfdrive/car/nissan/interface.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/interface.py
2023-09-07 00:05:25 -04:00
Vivek Aithal
dbada885ac
locationd: Add camera-IMU cross-checks ( #29727 )
...
* camera-gyro cross checks, but one way
* increase factor to account for gyro noise (potholes, bad roads etc
* increase factor to reduce FP with device taps, bad roads, etc
* factor to 30
* add inputsok to sensoir data invalid alert
* bugfix
* move the sensors check
* add localizer catchall alert
* update refcommit
* remove permanent alert
* revert sensorDataInvalid alert change, split into new PR
2023-09-06 21:01:01 -07:00
Adeeb Shihadeh
ec479322d3
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 0d797f4e8b .
2023-09-06 13:44:20 -07:00