Jason Wen
c4ee64c0aa
Disable Onroad Upload: Cleanup
2023-10-31 00:27:53 -04: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
Jason Wen
08a271b678
Merge remote-tracking branch 'commaai/openpilot/master' into sync-20231025
...
# Conflicts:
# README.md
# selfdrive/car/hyundai/interface.py
2023-10-25 15:18:53 -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
Adeeb Shihadeh
67f2321060
delete clocksd ( #30252 )
2023-10-22 14:47:38 -07:00
Jason Wen
80da209baf
Merge branch 'master' into sync-priv-20231020
...
# Conflicts:
# selfdrive/car/toyota/carstate.py
# selfdrive/controls/lib/longitudinal_planner.py
2023-10-20 16:59:04 -04:00
Jason Wen
1ee8df2d28
Merge remote-tracking branch 'commaai/openpilot/master' into sync-20231020
...
# Conflicts:
# selfdrive/car/chrysler/interface.py
2023-10-20 16:53:09 -04:00
Adeeb Shihadeh
2338f76fdd
eSIM profile management ( #30262 )
...
* eSIM profile management
* start download
* loaded a profile
* more stuff
* fixups
* fix linter
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-10-19 14:54:11 -07:00
YassineYousfi
cad17b1255
modeld: parsing and publishing in python ( #30273 )
...
* WIP try modeld all in python
* fix plan
* add lane lines stds
* fix lane lines prob
* add lead prob
* add meta
* simplify plan parsing
* add hard brake pred
* add confidence
* fix desire state and desire pred
* check this file for now
* rm prints
* rm debug
* add todos
* add plan_t_idxs
* same as cpp
* removed cython
* add wfd width - rm cpp code
* add new files rm old files
* get metadata at compile time
* forgot this file
* now uses more CPU
* not used
* update readme
* lint
* copy this too
* simplify disengage probs
* update model replay ref commit
* update again
* confidence: remove if statemens
* use publish_state.enqueue
* Revert "use publish_state.enqueue"
This reverts commit d8807c8348338a1f773a8de00fd796abb8181404.
* confidence: better shape defs
* use ModelConstants class
* fix confidence
* Parser
* slightly more power too
* no inline ifs :(
* confidence: just use if statements
2023-10-19 14:23:51 -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
cfeba34d5d
Merge branch 'upstream/openpilot/master-20231016-sync' into master-20231016
...
# Conflicts:
# cereal
# panda
# selfdrive/car/hyundai/interface.py
# selfdrive/car/hyundai/values.py
# selfdrive/car/subaru/values.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/plannerd.py
# selfdrive/monitoring/dmonitoringd.py
2023-10-16 11:03:27 -04:00
Jason Wen
6c67abe65f
Revert "Sync master-priv with public sunnypilot:master"
2023-10-16 04:53:55 +00:00
Adeeb Shihadeh
f616dd77a1
loggerd: add wall time to initData ( #30251 )
...
* loggerd: add wall time to initData
* bump cereal
* fix
2023-10-15 15:21:51 -07:00
Adeeb Shihadeh
f0aa631818
cleanup up old lib64 references ( #30246 )
...
* cleanup sensord
* rm rest
* fix that
* update that
2023-10-14 20:39:15 -07:00
Adeeb Shihadeh
b68cfbb332
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
2023-10-13 23:27:04 -07:00
DevTekVE
f885863e1e
Sync master-priv with public sunnypilot:master
2023-10-13 16:40:08 +00:00
Adeeb Shihadeh
377722fd5e
Update Python packages and pre-commit hooks ( #30149 )
...
* Update Python packages and pre-commit hooks
* fixes
* Update common/transformations/README.md
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* fix
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-10-03 15:31:26 -07:00
Adeeb Shihadeh
c347096c3e
finish hardware move to system/ ( #30140 )
...
* finish hardware move to system/
* fix release
* couple more
2023-10-02 16:49:07 -07:00
Adeeb Shihadeh
1dd4ade197
delete some old files
2023-09-30 16:07:26 -07:00
Adeeb Shihadeh
e185e5ffcd
move remaining big files into LFS ( #30053 )
2023-09-25 21:53:03 -07:00
Jason Wen
da58d5114b
Fleet Manager: paths cleanup ( #216 )
2023-09-23 10:33:33 -04:00
Jason Wen
64e38459d0
Merge branch 'master' into dev-priv/master
...
# Conflicts:
# system/fleetmanager/fleet_manager.py
# system/fleetmanager/helpers.py
2023-09-23 00:36:44 -04:00
Jason Wen
9308c16823
Core management ( #232 )
...
* set core affinity and priority for gpxd and gpx_uploader
* use higher cores
* 4 is available offroad
* sync them all
* set for fleet manager
* only upload gpx while offroad
2023-09-23 09:43:29 -04: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
Jason Wen
eb2a58185d
Merge branch 'upstream/openpilot/master'
...
# Conflicts:
# .pre-commit-config.yaml
# README.md
# cereal
# opendbc
# panda
# selfdrive/car/torque_data/override.yaml
2023-09-22 23:49:13 -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
Dean Lee
494228e0e1
proclogd: fix test failures ( #29971 )
2023-09-21 10:25:35 -07:00
Adeeb Shihadeh
ccc8e099b6
sensord: test update for provisioning ( #29942 )
...
sensord: update for provisioning
2023-09-15 18:50:43 -07:00
Adeeb Shihadeh
2c1dfc2f34
use pytest for cpp tests ( #29833 )
...
* add pytest-cpp package (#29828 )
* add pytest-cpp package
* disable for now
* use in ci
* use pytest cpp
* use my branch
* add missing tests
* that doesn't make sense
* it was merged upstream
* replace TEST_RLOG_URL with a publicly accessible url
* PR Cleanup
* assert instead
* update poetry lock
* add comment about pytest-cpp
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
Co-authored-by: Justin Newberry <justin@comma.ai >
Co-authored-by: deanlee <deanlee3@gmail.com >
2023-09-11 14:01:50 -07:00
Justin Newberry
110cfef1c2
Ruff: disallow non-openpilot imports ( #29841 )
2023-09-08 10:43:02 -07:00
Adeeb Shihadeh
4111ac36b2
ubloxd: remove unused file ( #29829 )
2023-09-07 19:29:34 -07:00
Justin Newberry
b0a71d4553
Pytest: enforce a default timeout ( #29793 )
...
* pytest: enforce default timeout
* disable that for now
* 30 second timeout on tests
2023-09-07 17:53:51 -07:00
Justin Newberry
dde225221e
CI: run unittests in parallel with xdist ( #29756 )
...
* parallel tests
* review suggesions
* add to pyproject
* add a bit more buffer on that
* fix rare athena issue
* remove from pypoetry
2023-09-07 16:29:36 -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
Justin Newberry
bfe990b112
System: cleanup paths to use a common class ( #29816 )
...
* use OP prefix for logmessage
* cleanup paths too
* cleanup the paths too
* add hw.py to release
* fix those issues
* fix unittests
* fix unittests
* fix unittests
* do swaglog_ipc properly across all the files
* fix that
* fix swaglog in c++
* review suggestions
2023-09-07 11:32:47 -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
Jason Wen
ebfe40b76a
Merge remote-tracking branch 'commaai/openpilot/master'
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# .pre-commit-config.yaml
# cereal
# opendbc
# panda
2023-09-06 23:58:35 -04:00
Jason Wen
9219b7966c
Merge branch 'master' into dev-priv/master-test
...
# Conflicts:
# panda
# release/build_release.sh
# selfdrive/car/car_helpers.py
# selfdrive/car/chrysler/carcontroller.py
# selfdrive/car/chrysler/carstate.py
# selfdrive/car/chrysler/interface.py
# selfdrive/car/ford/carstate.py
# selfdrive/car/ford/interface.py
# selfdrive/car/gm/carcontroller.py
# selfdrive/car/gm/carstate.py
# selfdrive/car/gm/interface.py
# selfdrive/car/honda/carcontroller.py
# selfdrive/car/honda/interface.py
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/interfaces.py
# selfdrive/car/mazda/carcontroller.py
# selfdrive/car/mazda/carstate.py
# selfdrive/car/mazda/interface.py
# selfdrive/car/nissan/carcontroller.py
# selfdrive/car/nissan/interface.py
# selfdrive/car/subaru/carstate.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/toyota/carcontroller.py
# selfdrive/car/toyota/carstate.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/toyotacan.py
# selfdrive/car/volkswagen/carcontroller.py
# selfdrive/car/volkswagen/carstate.py
# selfdrive/car/volkswagen/interface.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol_torque.py
# selfdrive/controls/lib/lateral_planner.py
# selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/locationd/paramsd.py
# selfdrive/manager/manager.py
# selfdrive/manager/process.py
# selfdrive/manager/process_config.py
# selfdrive/sentry.py
# selfdrive/ui/SConscript
# selfdrive/ui/qt/home.cc
# selfdrive/ui/qt/maps/map_settings.cc
# selfdrive/ui/qt/maps/map_settings.h
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/onroad.cc
# selfdrive/ui/qt/onroad.h
# selfdrive/ui/qt/util.cc
# selfdrive/ui/qt/util.h
# selfdrive/ui/soundd/sound.h
# selfdrive/ui/ui.h
# system/version.py
2023-09-05 20:17:19 -04:00
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2023-09-05 16:33:26 -07:00
Adeeb Shihadeh
0908be80bd
sensord: test updates for provisioning ( #29768 )
...
* sensord: test updates for provisioning
* fix
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-09-05 15:32:57 -07:00
Jason Wen
9bc73b85ff
Merge remote-tracking branch 'commaai/openpilot/master'
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# .pre-commit-config.yaml
# README.md
# cereal
# common/version.h
# opendbc
# panda
# selfdrive/car/chrysler/carcontroller.py
# selfdrive/car/chrysler/carstate.py
# selfdrive/car/chrysler/interface.py
# selfdrive/car/gm/carstate.py
# selfdrive/car/honda/carstate.py
# selfdrive/car/hyundai/carcontroller.py
# selfdrive/car/hyundai/carstate.py
# selfdrive/car/hyundai/hyundaican.py
# selfdrive/car/hyundai/interface.py
# selfdrive/car/hyundai/radar_interface.py
# selfdrive/car/hyundai/values.py
# selfdrive/car/interfaces.py
# selfdrive/car/subaru/carcontroller.py
# selfdrive/car/subaru/carstate.py
# selfdrive/car/subaru/interface.py
# selfdrive/car/subaru/subarucan.py
# selfdrive/car/torque_data/override.yaml
# selfdrive/car/toyota/carcontroller.py
# selfdrive/car/toyota/carstate.py
# selfdrive/car/toyota/interface.py
# selfdrive/car/toyota/toyotacan.py
# selfdrive/car/volkswagen/carstate.py
# selfdrive/controls/lib/desire_helper.py
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/monitoring/dmonitoringd.py
# selfdrive/thermald/power_monitoring.py
# system/loggerd/uploader.py
2023-09-05 11:50:47 -04:00
Justin Newberry
ca435d3447
CI: use pytest for unittesting ( #29709 )
...
* switch to pytest
* static analysis
* fix the helpers
* static analysis
* remove that
* more parallel test
* cleanup
* static analysis
* durations min and tolerance
* reduce those iterations
* sleep time could be decreased too
* in case it's negative
* try using caching
* remove parallelization for first PR
* PR Cleanup
* reduce diff
* fix that
* bump panda
2023-09-04 11:54:35 -07:00
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
2023-09-02 16:58:34 -07:00
Kacper Rączy
0bda43d71c
encoderd: fix crash when filename is null ( #29748 )
...
Use publish_name for thread name and debugging messages
2023-09-01 11:51:59 -07:00
Shane Smiskol
2dd7a6fc64
timezoned: set headers ( #29725 )
...
* timezoned: set headers
* Update system/timezoned.py
* this is useful
* newline
2023-08-31 14:11:51 -07:00
Adeeb Shihadeh
18fbc1c29a
Update test_camerad.py
2023-08-31 14:09:52 -07:00
Justin Newberry
a5ef9febb9
Tests: loggerd reduce iterations ( #29713 )
...
* reduce those iterations
* sleep time could be decreased too
* in case it's negative
2023-08-30 13:36:55 -07:00
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
2023-08-29 22:24:37 +00:00
Justin Newberry
5dc7028f91
Tests: logmessaged reduce global state ( #29680 )
...
* reduce global state
* use a decorator here too
* use that one
* use base imports
* ipchandler in setup
* move to common dir
* move to helpers
* wip
* fix the decorator
2023-08-29 13:36:26 -07:00
Adeeb Shihadeh
72e2e2c9ec
pytest: strict config ( #29676 )
...
* pytest: strict config
* collection works
* fixes
2023-08-28 10:26:19 -07:00