Robbe Derks
1edd9bfb60
fix kF value for thermal PI controller ( #23871 )
...
old-commit-hash: f539d9c0bc
2022-02-27 19:51:59 +01:00
Shane Smiskol
961b11e7aa
Toyota: fix learning bad offsets for some models ( #23810 )
...
* Update carstate.py
* comments
* use initializing
* bump opendbc
* bool
* check both
* bump opendbc
* and on TSS-P the initializing bit isn't set
old-commit-hash: a1875ac6f0
2022-02-26 00:54:35 -08:00
Jonathan Frey
baab5d7a7b
Cython acados and minor ( #23835 )
...
* acados_ocp_solver_pyx.pyx: implement get_stats for timings and ints
* long_mpc: use acados timers
* acados_ocp_solver_pyx.pyx: fix dynamics_get
* acados_ocp_solver_pyx.pyx: get statistics
* use acados_ocp_solver_pyx.pyx from commaai/cython2 branch
* acados_ocp_solver_pyx.pyx: implement store_iterate
* acados_ocp_solver_pyx.pyx: implement get_residuals
* acados_ocp_solver_pyx.pyx: fix set() for empty fields
* acados_ocp_solver_pyx.pyx: load_iterate
* cython acados: add print_statistics
* test_following_distance: fix typo
* test_longitudinal: unique names for test maneuvers
* longitudinal MPC: comments for evaluation
* longitudinal MPC: add comments to eval acados residuals
* long_mpc: use qp_solver_cond_N = 1
* long MPC: comments, simplify set_cur_state
* update acados version in build script
* longitudinal mpc: weigh a_change in 1 place only
* update ref
* Update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
old-commit-hash: d09dffb7cd
2022-02-25 14:16:44 -08:00
Willem Melching
7e12817e02
MacOS: ensure 1:1 rendering on HiDPI screens ( #23860 )
...
old-commit-hash: ca8d4e417e
2022-02-25 14:36:27 +01:00
Adeeb Shihadeh
89466907cb
Subaru: add Ascent FW values ( #23848 )
...
old-commit-hash: 71cf938c51
2022-02-23 17:34:39 -08:00
martinl
2caf297f69
Remove unused MPC_COST_LONG class ( #23843 )
...
old-commit-hash: 160a8cfd58
2022-02-23 17:26:05 -08:00
Ross Fisher
aefdfa377e
Toyota: remove outdated comment ( #23844 )
...
old-commit-hash: 49c42c3cd4
2022-02-23 17:03:24 -08:00
Adeeb Shihadeh
9bd6dbea43
Subaru: remove Impreza CAN fingerprints ( #23841 )
...
* Subaru: remove Impreza CAN fingerprints
* fix process replay
* update refs
old-commit-hash: 04b2545ec0
2022-02-23 15:44:17 -08:00
Adeeb Shihadeh
11ca91fadc
boardd: handle missing pandas
...
old-commit-hash: 767bc1aa3b
2022-02-23 13:35:56 -08:00
Robbe Derks
f767c1b930
this seems to about what my car converges to ( #23836 )
...
old-commit-hash: f4d91f71a5
2022-02-23 16:03:31 +01:00
Willem Melching
1597a03cec
Fix watch3 on mac ( #23834 )
...
old-commit-hash: a03685c3f9
2022-02-23 14:31:28 +01:00
Willem Melching
760564da61
replay: use VideoToolbox HW decoder on Mac ( #23832 )
...
* replay: support VideoToolbox HW decoding
* rename flag
* remove debug assert
old-commit-hash: dc7de79dc9
2022-02-23 13:52:50 +01:00
Willem Melching
33a4fda7fd
replay: use QCoreApplication ( #23831 )
...
old-commit-hash: df88280e0f
2022-02-23 13:34:31 +01:00
Adam Wallner
ab90df48fd
Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 ( #23823 )
...
old-commit-hash: 52266b9cd1
2022-02-23 11:58:14 +01:00
Adeeb Shihadeh
ca0cb66a09
Honda: revert to button enable on Nidec ( #23828 )
...
* Honda: revert to button enable on Nidec
* fix test
* bump panda
old-commit-hash: c483a9724d
2022-02-22 22:36:21 -08:00
Adeeb Shihadeh
ef2106ebd2
move lock clearing to uploader ( #23826 )
...
* move lock clearing to uploader
* test case
old-commit-hash: 3243d1a81e
2022-02-22 22:30:11 -08:00
Greg Hogan
ff7419bf32
script to clear DTCs
...
old-commit-hash: de178ea79c
2022-02-22 16:15:39 -08:00
Adeeb Shihadeh
30b63dc0d4
Toyota: fix flaky EV detection ( #23825 )
...
old-commit-hash: 0965155a5b
2022-02-22 16:15:09 -08:00
Adeeb Shihadeh
4ab3f4c5de
adjust comma two model timing thresholds after bigmodel
...
old-commit-hash: c98d9791f0
2022-02-22 13:16:23 -08:00
Willem Melching
5517800a59
omx encoder: move writing into thread ( #23771 )
...
* omx encoder: move writing to separate thread
* fix include
* pop
* log buffers sizes
* split copy and write
old-commit-hash: 2f00271ce6
2022-02-22 13:02:50 +01:00
Robbe Derks
eda2f8c090
Fix unmetered upload over cell ( fix #23811 ) ( #23820 )
...
old-commit-hash: a6214ff3b1
2022-02-22 13:01:53 +01:00
martinl
d4db9082db
Subaru: add FW for Impreza Limited UDM 2017 ( #23802 )
...
* FPv2: Add Subaru Impreza Limited USM 2017
* test_fw_query_on_routes.py: add subaru support
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 412e43206e
2022-02-22 12:17:48 +01:00
Caleb Stultz
888924bb97
HKG: Kia Sorento FPv2 ( #23815 )
...
* Replace Kia Sorento FPv1 with FPv2
* keep old fingerprint
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 989d072025
2022-02-22 12:14:34 +01:00
Greg Hogan
56631af8bf
hyundai: custom fw version for sonata eps ( #23816 )
...
* hyundai: custom fw version for sonata eps
* another comment
old-commit-hash: 35fe2605cf
2022-02-22 12:02:35 +01:00
jdtram
655bac856d
2022 Hyundai Elantra firmware versions ( #23818 )
...
Added 2022 Hyundai Elantra fwdCamera, transmission, and engine fingerprints.
old-commit-hash: 6f766cbb10
2022-02-22 11:57:54 +01:00
HaraldSchafer
fc042cd85a
Fix tici bigmodel ( #23817 )
...
* Fix bigmodel on tici: cam intrinsics arent static
* Give TICI route own name for import
* Make function useable in offline test
* typo
* change tici ecam focal to trained focal
* No shadow variable
* Fixed ref
* Force update this time
* Update model replay ref commit
old-commit-hash: 48154703a7
2022-02-21 19:57:04 -08:00
Adeeb Shihadeh
41de03aa6e
cabana for your terminal
...
old-commit-hash: 768bea48d0
2022-02-21 19:42:46 -08:00
Comma Device
123fd2f6ee
thneed: a few asserts in the optimizer for cases it will fail
...
old-commit-hash: 2b652605a0
2022-02-21 12:08:52 -08:00
Willem Melching
d4f372cfd7
Update raw_logger/framereader to new new ffmpeg api ( #23799 )
...
* Update raw_logger/framereader to new new ffmpeg api
* Can be removed now
* Handled by avcodec_free_context
* handle EAGAIN and clean up
old-commit-hash: 724bab8ef3
2022-02-21 16:39:32 +01:00
Willem Melching
69588ca191
onroad_test: increase camerad cpu usage after debayer changes
...
old-commit-hash: ccdf069c8c
2022-02-21 16:18:01 +01:00
Willem Melching
dc16307917
longitudinal planner: disable change cost when stopped. not engaged or gas pressed ( #23639 )
...
* disable change cost completely on standstill and gas press
* cleanup
* set accel to zero
* clean up logic around standstill
* update ref
old-commit-hash: 428d412c1f
2022-02-21 16:14:41 +01:00
Robbe Derks
7ef4b9115f
Param to allow upload over cellular ( #23811 )
...
* param to allow upload over cellular
* brackets to be consistent
* move outside loop
* fix tests
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 5f64f1c089
2022-02-21 12:17:47 +01:00
ClockeNessMnstr
ee48659eee
cleanup import chaining of T_IDXS ( #23806 )
...
old-commit-hash: f0b3593682
2022-02-20 17:03:01 -08:00
George Hotz
c033732242
Refactor convolutions ( #23807 )
...
* one conv with defines
* add conv
* building works on C3
* this is num_outputs too, process replay is so useful
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 2c7542d34e
2022-02-20 11:55:23 -08:00
Adeeb Shihadeh
4a0c03c7b7
boardd: connect to all pandas if none specified ( #23805 )
...
old-commit-hash: 719801845b
2022-02-19 20:21:05 -08:00
Adeeb Shihadeh
bd6d3bfc0b
paramsd cpu usage has been increasing
...
old-commit-hash: 12cd852fc0
2022-02-19 17:10:29 -08:00
Willem Melching
ad5ccabce3
bigmodel ( #23684 )
...
* Added wide cam vipc client and bigmodel transform logic
* Added wide_frame to ModelState, should still work normally
* Refactored image input into addImage method, should still work normally
* Updated thneed/compile.cc
* Bigmodel, untested: 44f83118-b375-4d4c-ae12-2017124f0cf4/200
* Have to initialize extra buffer in SNPEModel
* Default paramater value in the wrong place I think
* Move USE_EXTRA to SConscript
* New model: 6c34d59a-acc3-4877-84bd-904c10745ba6/250
* move use extra check to runtime, not on C2
* this is always true
* more C2 checks
* log if frames are out of sync
* more logging on no frame
* store in pointer
* print sof
* add sync logic
* log based on sof difference as well
* keep both models
* less assumptions
* define above thneed
* typo
* simplify
* no need for second client is main is already wide
* more comments update
* no optional reference
* more logging to debug lags
* add to release files
* both defines
* New model: 6831a77f-2574-4bfb-8077-79b0972a2771/950
* Path offset no longer relevant
* Remove duplicate execute
* Moved bigmodel back to big_supercombo.dlc
* add wide vipc stream
* Tici must be tici
* Needs state too
* add wide cam support to model replay
* handle syncing better
* ugh, c2
* print that
* handle ecam lag
* skip first one
* so close
* update refs
Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com >
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 85efde269d
2022-02-19 16:06:31 -08:00
Jason Wen
a0d1f77394
HKG: Add FW for 2019 Veloster ( #23756 )
...
* HKG: Add FW for 2019 Veloster
* Add esp FW
old-commit-hash: 9a046e2ef3
2022-02-19 13:57:07 -08:00
Erich Moraga
d89d7e3c03
Add missing CAMRYH_TSS2 fwdCamera f/w ( #23796 )
...
`@Ty.ler#0303` 2022 Toyota Camry SE Hybrid DongleID/route 9477a77ffc4e8bd4|2022-02-18--15-40-25
old-commit-hash: b9f0991df4
2022-02-19 13:53:53 -08:00
George Hotz
10be5aad7a
camerad: use open_v4l_by_name_and_index on c2 also ( #23794 )
...
* use open_v4l_by_name_and_index on c2 also
* remove open_v4l_by_name_and_index from qcom2
old-commit-hash: 51767c037b
2022-02-19 13:31:11 -08:00
George Hotz
5c766bea95
camerad: fast debayer on c2 cameras ( #23795 )
...
* fast debayer on c2 dcam
* add casts
* 128 local worksize on HDR debayer, 8 ms -> 3.5 ms
* width instead of saving rgb_width
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 92e9823cc0
2022-02-18 20:15:20 -08:00
Shane Smiskol
1f5570a96d
Longitudinal control: interpolate longitudinal plan ( #23787 )
...
* interpolate longitudinal actuator delay
rename
* formatting
* interpolate v_target most importantly!
* fix interpolation and rename
* nicer setup
* left in from testing
* update refs
old-commit-hash: 2c7845fce0
2022-02-18 00:45:00 -08:00
Adeeb Shihadeh
3e578e7409
camerad: adjust CL priority on comma three ( #23790 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c6e0f1d841
2022-02-17 19:49:10 -08:00
Willem Melching
849bbc8a2f
process replay: fix branch name alert ( #23783 )
...
* env is modified after start
* update ref
old-commit-hash: 14260c01c6
2022-02-17 16:47:42 +01:00
Adeeb Shihadeh
ddde46c503
keep the new alert consistent for process replay
...
old-commit-hash: f59adbeaaa
2022-02-16 23:47:02 -08:00
Adeeb Shihadeh
693b66c1e0
add branch name to startup master alert ( #23782 )
...
* add branch name to startup master alert
* still orange
* update refs
old-commit-hash: ff965c772b
2022-02-16 20:27:07 -08:00
redacid95
fac6a207f9
Snpemodel: Clean up after #23772 ( #23780 )
...
* #clean up snpemodel after #23772
* Leave benchmark remove loop
old-commit-hash: 1c9bf108af
2022-02-16 09:40:32 -08:00
ClockeNessMnstr
c12656f397
Longitudinal: add Kf to carParams ( #23752 )
...
* sane_kf
* long_kf + cereal
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 9535dc606d
2022-02-16 15:38:22 +01:00
Jack Huang
c0478078ee
statsd: fix crash if there is no git repository ( #23775 )
...
* fix crash if there is no git repository
* return default
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: a84ddaecf1
2022-02-16 14:30:54 +01:00
Adeeb Shihadeh
6ca0269f47
same check
...
old-commit-hash: 95da470795
2022-02-15 16:44:13 -08:00