Jason Wen
d35cdb510d
Sync: commaai/msgq:master into sunnypilot/msgq:master
...
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-08-03 21:22:09 -04:00
Kacper Rączy
86d8d1d996
torqued: use livePose ( #33136 )
...
* Use livePose
* Replace it in process replay
* Add liveCalibration to messages
* Update ref commit
2024-07-29 20:20:31 -07:00
Kacper Rączy
84cff4fc03
paramsd: use livePose ( #33099 )
...
* Use livePose instead of llk
* Update process replay sockets
* Fix import
* Fix calib
* Fix field name
* Dont store device_from_calib
* Update ref commit
2024-07-29 19:51:21 -07:00
Harald Schäfer
996bced674
livePose log ( #32868 )
...
* add livepose
* Formatting
* Add to sevices
* Update locationd to publish livePose
* Remove fields and increase decimation
* Fix field indices
* Remove the line
* Add livePose to pubmaster
* Fix llk decimation
* Update ref commit
* XYZ measurements instead of lists
* Update locationd
* Update ref commit
* Lower the qlog size in test_onroad
* Update lower and upper boundary
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com >
2024-07-17 16:17:23 -07:00
Shane Smiskol
b247c3caaa
torqued: check steer override to current time ( #32963 )
...
* lat active/steer override: check up to now
* lint
* Update ref_commit
2024-07-10 17:25:39 -07:00
Shane Smiskol
fbc53a24a3
torqued: clean up ( #32958 )
...
* formatting
* function signatures didn't match
* function signatures didn't match
* filtered and raw mean something totally different when it comes to params
filtered and raw mean something totally different when it comes to params
* cmt
* probably better for organization
* add todo
* STASH
* revert some stuff
* clean up
* oof
2024-07-09 22:26:58 -07:00
Shane Smiskol
5efdaf2026
torqued: option to keep track of all points ( #32957 )
...
* how about this
* here
* rename
* revert
* revert this too
* can do this
* ugh inside TorqueBuckets it implicitly limits steer torque to 50%!!!!!!!!
* fix
* move up
2024-07-09 22:21:50 -07:00
Shane Smiskol
0c58e35b6c
format torqued.py
2024-07-09 21:16:36 -07:00
Shane Smiskol
35df0a4fda
torqued: rename lat_active ( #32942 )
...
* Update torqued.py
* lint
* not necessary
2024-07-08 22:53:59 -07:00
Dean Lee
12d729a0a0
CarParams: set no traversal limit ( #32929 )
...
* Increase traversal_limit_in_words to Fix Traversal Limit Errors
* just use log_from_bytes
* come on pycharm
* no free lunch
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-08 13:50:31 -07:00
Jason Wen
c55d11a865
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-06-12 21:43:05 -04:00
Jason Wen
524d7b73f9
Sync: sunnypilot/panda:master into sunnypilot/panda-special:master-priv
2024-06-12 16:21:36 -04:00
Harald Schäfer
e70dc90a45
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2024-06-09 17:44:34 -07:00
Harald Schäfer
e71ec4e8d7
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
2024-06-03 15:48:56 -07:00
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
2024-05-25 12:41:17 -07:00
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
2024-05-20 17:43:54 -07:00
cl0cks4fe
dd9d5d4528
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2024-05-17 11:01:44 -07:00
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