Jason Wen
741dfaa0b0
Merge remote-tracking branch 'sunnypilot/sunnypilot/master' into nnlc-lateral-jerk
2024-08-05 14:14:16 -04:00
Jason Wen
c70db1030c
Toyota: comma Pedal: Fix upstream merge conflicts ( #393 )
2024-08-04 12:09:00 -04:00
Jason Wen
0b7d3805ff
ui: Network: Disable refresh button while scanning ( #383 )
2024-08-03 21:29:22 -04:00
Jason Wen
03f76199f3
ParamManager: Convert missed params in cars (#390 )
2024-08-03 21:26:23 -04:00
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
Dean Lee
2cd9975e4f
modeld: remove redundant pred_mu assignment ( #33152 )
...
remove redundant pred_mu assignment
2024-08-02 13:40:33 -07:00
Jason Wen
bdb733ddc9
car: Fix typo with ParamManager variable ( #382 )
2024-08-02 12:36:49 -04:00
Jason Wen
09d1604b84
MADS: Honda: Fix PCM ACC disengage fault ( #363 )
...
* MADS: Honda: Fix PCM ACC disengage fault
* try this out
* honda only
2024-08-02 11:41:20 -04:00
Jason Wen
9be3925ee1
MADS: Hyundai: Independent control with LFA button ( #362 )
...
* MADS: HKG CAN-FD: Disallow cruise buttons to engage when pcmCruiseSpeed is off
* handle states properly
* this is better
* make sure main button is pressed
* oops flipped main
* same behavior
* handle cruise main button universally
* both
* not needed
* oops
* wtf how did i miss
2024-08-01 23:34:35 -04:00
Jason Wen
8d760272c7
car: Move all live param checks to ParamManger ( #378 )
...
car: Move all live param checks to ParamManger
2024-08-01 23:23:00 -04:00
Mathew Locoteta
22e0b4d597
Honda Longitudinal: Remove tuning from 4-CYL 9th Gen Accord ( #359 )
...
Remove ACC tuning from 9th Gen Accord
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2024-08-01 22:42:13 -04:00
Jason Wen
08afbd7cb5
car: Check params before car state is updated ( #364 )
...
* car: Check params before car state is updated
* read params in a thread instead
* initialize list
* Do this instead
* type hint
* ParamManager
* make them internal
2024-08-01 18:12:27 -04:00
Jason Wen
54d5281064
MADS: Map cruise main and lateral buttons to button events ( #373 )
...
* MADS: Map cruise main and lateral buttons to button events
* MADS: Map cruise main and lateral buttons to button events
* different style
* nah
(cherry picked from commit 4d7afe3a7b )
* reimplement
2024-08-01 10:26:27 -04:00
Shane Smiskol
7de618a5cf
ensure alerts_generated.h is built ( #33157 )
...
don't build alerts_generated.h in test, and ensure scons builds it more reliably + clean up support
2024-07-31 16:12:37 -07:00
Jason Wen
b3926faebb
Revert "MADS: Map cruise main and lateral buttons to button events" ( #372 )
...
Revert "MADS: Map cruise main and lateral buttons to button events (#361 )"
This reverts commit 4d7afe3a7b .
2024-07-31 18:41:17 -04:00
Shane Smiskol
7c112341c3
Reapply "update to new opendbc API ( #32009 )" ( #33151 )
...
This reverts commit ac130001cc .
2024-07-31 15:37:39 -07:00
Shane Smiskol
ebff7cab1a
get_fw_versions: test the full stack ( #33156 )
...
* add the test
fix
* bump
* not sure why mypy didn't catch this
2024-07-31 14:53:13 -07:00
Maxime Desroches
1dd8bdc791
Remove hexdump package ( #33155 )
...
* remove hexdump
* uv lock
* cleanup
2024-07-31 13:34:14 -07:00
Shane Smiskol
ac130001cc
Revert "update to new opendbc API ( #32009 )"
...
This reverts commit 0dddc97dca .
2024-07-31 02:38:44 -07:00
Dean Lee
0dddc97dca
update to new opendbc API ( #32009 )
...
* use new opendbc api
* export pandad_python
* merge master
* merge master
* bump opendbc
* bump opendbc
* improve func
* keep interface unchanged
* fix test_car_interfaces
* bump opendbc
* bump opendbc
* fix test_models
* the interface now has to convert from can capnp to list, so we should include this time
* goes from ~210 to ~240 mean ms real time
* remoe busTime
* lowercase sendcan
* consistent msgtype
* bump
* bump
* not used in lat_mpc
* space
* bump to master
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-31 00:24:46 -07:00
Shane Smiskol
1b6ac2d876
CarController: call to super's init ( #33148 )
...
* this should be common
* super!
* bump
* and frame is common
* bump
2024-07-30 23:55:23 -07:00
Shane Smiskol
42f2601416
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
2024-07-30 21:26:58 -07:00
Shane Smiskol
b6d124d268
tester present msgs: use helper ( #33147 )
...
use helper
2024-07-30 18:09:22 -07:00
Shane Smiskol
661ef03a24
Ford: add long controls todo
2024-07-30 15:18:26 -07:00
Shane Smiskol
0739d79a51
cars: remove some external imports ( #33133 )
...
* ford and gm
* clean that up
* also this
* honda
* temp fix
* move into selfdrive.car
* clean up
* more
2024-07-30 14:27:27 -07:00
Shane Smiskol
0fe143e4a7
test_onroad: lower lower log size bound
2024-07-30 14:07:47 -07:00
Maxime Desroches
9536dd07c6
unpin numpy ( #33132 )
...
* unlock numpy
* remove old cache
* sheel
* lock
* remove temp
* depends
* export
* put this back
* use __version__
* move this
---------
Co-authored-by: quebec <quebec@quebec.attlocal.net >
2024-07-30 13:11:05 -07:00
Jason Wen
4d7afe3a7b
MADS: Map cruise main and lateral buttons to button events ( #361 )
...
* MADS: Map cruise main and lateral buttons to button events
* different style
* nah
2024-07-30 10:58:35 -04:00
Shane Smiskol
dfd387520e
process replay: use zst ( #33138 )
...
* test
* update refs to zst
* update
2024-07-30 01:46:03 -07: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
Shane Smiskol
11cb2d3a0b
qlog_size.py: use zstd ( #33137 )
...
qlog_size: use zstd
2024-07-29 20:13:43 -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
Jason Wen
4e237e59a5
Translations: Add untranslated
2024-07-29 21:01:11 -04:00
Kacper Rączy
6e185f4eea
process_replay: regenerate locationd logs ( #33134 )
...
* Filter out non-relevant services in most_messages_valid check
* Set as comprehension
* Update segments
* Update ref commit
* New check for hyundai2
2024-07-29 17:12:05 -07:00
Shane Smiskol
606890cba5
[bot] Fingerprints: add missing FW versions from new users ( #33123 )
...
Export fingerprints
2024-07-29 12:32:51 -07:00
Maxime Desroches
01c0756974
Remove control usage ( #33103 )
...
* manual matrix exp
* remove control
2024-07-29 11:52:33 -07:00
Jason Wen
447f76d9cf
ui: Split sunnypilot into its own classes
2024-07-29 06:40:35 -04:00
Jason Wen
be72a8ed06
Revert "Toyota: Auto Brake Hold"
...
This reverts commit 15d94a01
2024-07-29 06:40:34 -04:00
Jason Wen
ca8c74bc0d
MADS: Use modern button events parsing
2024-07-29 06:21:01 -04:00
Jason Wen
2f3d999c67
ui: Lead car chevron: Time to Lead Car
2024-07-29 06:21:01 -04:00
Jason Wen
05536bf439
Driving Model Selector v5: Bug fixes
2024-07-29 06:21:01 -04:00
Jaosn Wen
e994c2cb96
Scons: Split sunnypilot/Sconscript
2024-07-29 06:20:37 -04:00
Jaosn Wen
fb04ddc9a1
Scons: Set SUNNYPILOT to CPPDEFINES
2024-07-29 06:20:37 -04:00
Jason Wen
1fb0cb59a6
Scons: Build sunnypilot elements with added GPG keys
2024-07-29 06:20:37 -04:00
Maxime Desroches
583e89d3a4
remove cv2 usage ( #33101 )
...
remove cv2
2024-07-28 15:08:27 -07:00
Shane Smiskol
1b3b5ab758
use zstandard library ( #33110 )
...
* use zstandard
* run 10
* bye bye
* this was a little overzealous
* clean up
2024-07-28 02:03:47 -07:00
Shane Smiskol
4caecf2143
test_onroad: use zstd compression ( #33100 )
...
* use zstd in test_onroad
* debug
* now leans towards 0.4 instead of 0.5
* 5x runs
* better
* more
* Update selfdrive/test/test_onroad.py
* revert Jenkinsfile
* and this
2024-07-26 21:14:06 -07:00
Shane Smiskol
e68bb26e14
tools: keep re pattern file small ( #33084 )
...
remove bz2 from re file
2024-07-25 22:05:10 -07:00
eivegau
cd8a603ad0
Kia: add missing Optima EUR FW versions ( #33027 )
...
* Update fingerprints.py
* Apply suggestions from code review
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-25 13:47:43 -07:00
Dean Lee
313a2826c2
mcid.py: optimize FFT and A-weighting calculations ( #33057 )
...
* Precomputing weighting
* add comments back
* use cache
* spacing
spacing
* clean up
* lower by diff
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-25 13:36:44 -07:00