Adeeb Shihadeh
c65ca6ab1d
mac setup: add catch2
3 years ago
Jason Wen
2928507f44
Remove KIA_NIRO_HEV_2021 from STEER_MAX = 255 blacklist ( #23906 )
3 years ago
Shane Smiskol
274885fc4d
controlsd: fix vCruise jumping on pcmCruise cars ( #23388 )
...
* clean up v_cruise_kph
fix
fix
* Revert "clean up v_cruise_kph"
This reverts commit 211b5c3dbe073414ef5c39b19d6d2c6e8de2cf0b.
* always update vCruise and don't init if pcmCruise
* revert change
* update refs
3 years ago
Shane Smiskol
7254db3906
LongControl: fix control state oscillation ( #23333 )
...
* check if plan is to accelerate or not
* remove comment
* needed to see it
needed to see it
* test logic with Toyota TSS2
* hackily log conditions
* Revert "hackily log conditions"
This reverts commit 7a6b5691e2b982c7a1e3911d980fb7530647affd.
Revert "test logic with Toyota TSS2"
This reverts commit e583d6e3caaa5f5b896165cd7949dfc1caabfd9a.
order
* revert
* fix
3 years ago
Jonathan Frey
ab371f888a
Longitudinal MPC set qp tolerance to 1e-3 ( #23899 )
...
* initialize solverExecutionTime longitudinal_planner
* test_onroad: improve timing evaluation
* longitudinal MPC: set qp_tol to 1e-3
* update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
3 years ago
Jonathan Frey
1801baba68
remove trivial terminal constraint and associated CasADi generated functions ( #23898 )
...
* remove trivial terminal constraint and associated CasADi generated functions
* Update refs
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
3 years ago
George Hotz
8d6f49aecf
model: mse err from 0.02-> 0.000056 ( #23891 )
...
* mse err from 0.028070712 -> 5.8073703e-05
* build with weights fixup
* need thneed lib also
* don't break for binaries
* static analysis says i need init
* check the bias
* load_dlc_weights
* nicer scons
* tested scons
* fix static
* pylint issue
* new ref
* a few more asserts
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
3 years ago
Shane Smiskol
77fd64ee30
Move 2020 Lexus NX 300 fw fingerprints to TSS2 ( #23893 )
...
* Revert "Toyota: add Leuxs NX fingerprint (#23808 )"
This reverts commit 4f999b44c6
.
* Add engine and fwRadar fw
3 years ago
Adeeb Shihadeh
52cd58068e
thermald: use latest modem temps ( #23878 )
...
* thermald: use latest modem temps
* move that
3 years ago
Robbe Derks
8c971f24e3
Fan controller cleanup + testing ( #23886 )
...
* clean up fan controllers in preparation for testing
* add fan controller to release
* add some unit tests around the fan controller
* subclass ABC
3 years ago
Willem Melching
f4c822e8c6
locationd: fix writing LastGPSPosition interval ( #23895 )
3 years ago
Willem Melching
aabd9a0dff
camerad: log debayer + yuv processing time ( #23894 )
...
* camerad: log debayer + yuv processing time
* bump cereal
3 years ago
Vivek Aithal
7e6903b58f
locationd, paramsd: Check conditions before updating kalman filters ( #23789 )
...
* update filters only when all messages are alivbe and valid
* update message valid and fix unit test
* update refs
* move check outside loop
* modify fake message fn in test
* deprecate inputsOK and resolve PR comments
* avoid double looped list comprehension
* follow import conventions
* modify paramsd valid to only be invalid in case of commIssue
* update refs
3 years ago
Adeeb Shihadeh
87849f93b1
better steer fault names ( #23890 )
...
* better steer fault names
* bump cereal
3 years ago
George Hotz
825c924c1c
minor cleanups, fix non binary compile ( #23882 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Shane Smiskol
8eab496ce3
Update Santa Fe 2019 route ( #23888 )
...
* new santa fe route, mid-drive to parking lot
* bump
3 years ago
Jason Wen
47aa3f60ba
Hyundai: Add FW for 2022 Ioniq Plug-in Hybrid ( #23862 )
...
* Add car port: Hyundai Ioniq Plug-in Hybrid 2022
* minSteerSpeed is 0
* Remove from crc8 checksum
* Add test route
* Revert "Add test route"
This reverts commit a76ddca888
.
* Revert "Remove from crc8 checksum"
This reverts commit eb2be0a20c
.
* Revert "minSteerSpeed is 0"
This reverts commit 3f40eba611
.
* Revert "Add car port: Hyundai Ioniq Plug-in Hybrid 2022"
This reverts commit f4084989d0
.
* Hyundai: Add FW for 2022 Ioniq Plug-in Hybrid
* Remove IONIQ_PHEV from STEER_MAX = 255
* Add additional FW version
3 years ago
Jason Young
0502486c16
VW MQB: Add FW for 2017 Audi S3 ( #23881 )
3 years ago
Adeeb Shihadeh
8a19d9892e
modeld: remove support for small model ( #23803 )
...
* modeld: remove support for small model
* use extra
3 years ago
Adeeb Shihadeh
1f66bc46b3
CAN FD support in packer + parser ( #23877 )
3 years ago
Comma Device
83159a09bf
THNEED_DEBUG env var support
3 years ago
Jason Wen
6a072886e9
HKG: Add FW for 2022 Kia Niro HEV ( #23863 )
...
* HKG: Add FW for 2022 Kia Niro HEV
* Expand model year
3 years ago
sintman
4f999b44c6
Toyota: add Leuxs NX fingerprint ( #23808 )
3 years ago
teknonut
bfa854f31c
HKG: Add FW for 2021 Hyundai Santa Fe ( #23858 )
3 years ago
seven121-ym
9a663214b9
Subaru: add FW for 2019 Subaru Impreza ( #23873 )
...
* Update values.py
* Update selfdrive/car/subaru/values.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
45a5297e77
Hyundai: add FW versions for 2022 Elantra
3 years ago
Robbe Derks
f539d9c0bc
fix kF value for thermal PI controller ( #23871 )
3 years ago
Shane Smiskol
a1875ac6f0
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
3 years ago
Adeeb Shihadeh
8344f3c087
update python packages ( #23864 )
3 years ago
Jonathan Frey
d09dffb7cd
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>
3 years ago
Willem Melching
ca8d4e417e
MacOS: ensure 1:1 rendering on HiDPI screens ( #23860 )
3 years ago
Igor Biletksyy
9c70e8bcad
bump panda
3 years ago
Adeeb Shihadeh
71cf938c51
Subaru: add Ascent FW values ( #23848 )
3 years ago
martinl
160a8cfd58
Remove unused MPC_COST_LONG class ( #23843 )
3 years ago
Ross Fisher
49c42c3cd4
Toyota: remove outdated comment ( #23844 )
3 years ago
Adeeb Shihadeh
04b2545ec0
Subaru: remove Impreza CAN fingerprints ( #23841 )
...
* Subaru: remove Impreza CAN fingerprints
* fix process replay
* update refs
3 years ago
Adeeb Shihadeh
767bc1aa3b
boardd: handle missing pandas
3 years ago
Robbe Derks
f4d91f71a5
this seems to about what my car converges to ( #23836 )
3 years ago
Willem Melching
a03685c3f9
Fix watch3 on mac ( #23834 )
3 years ago
Willem Melching
dc7de79dc9
replay: use VideoToolbox HW decoder on Mac ( #23832 )
...
* replay: support VideoToolbox HW decoding
* rename flag
* remove debug assert
3 years ago
Willem Melching
cc1aab2a73
scons: use correct brew prefix ( #23833 )
3 years ago
Willem Melching
df88280e0f
replay: use QCoreApplication ( #23831 )
3 years ago
Andrew
df627de7bf
fix mac_setup w/ tools+plotjuggler ( #23552 )
...
* fix pycurl issue:
* use newer curl backend for pip install
* update lib paths based on brew prefix
* fix cert issue when using pycurl using certifi
* make output setup nicer
* fix linter
* typo
* dont need that actually
* revert
* pipenv in brew
* forgot this
* make brew available on fresh install
* undo
* more undo
* oops
* use sytem curl, but homebrew openssl
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adam Wallner
52266b9cd1
Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 ( #23823 )
3 years ago
Adeeb Shihadeh
c483a9724d
Honda: revert to button enable on Nidec ( #23828 )
...
* Honda: revert to button enable on Nidec
* fix test
* bump panda
3 years ago
Adeeb Shihadeh
3243d1a81e
move lock clearing to uploader ( #23826 )
...
* move lock clearing to uploader
* test case
3 years ago
Greg Hogan
de178ea79c
script to clear DTCs
3 years ago
Adeeb Shihadeh
0965155a5b
Toyota: fix flaky EV detection ( #23825 )
3 years ago
Adeeb Shihadeh
c98d9791f0
adjust comma two model timing thresholds after bigmodel
3 years ago
Willem Melching
2f00271ce6
omx encoder: move writing into thread ( #23771 )
...
* omx encoder: move writing to separate thread
* fix include
* pop
* log buffers sizes
* split copy and write
3 years ago