Dean Lee
303cb411b4
replay: thread-safe seek ( #22228 )
...
old-commit-hash: f5aa3a30c94386c3761e1a01ac15815034b5ebaf
2021-09-16 23:45:46 -07:00
Adeeb Shihadeh
757e768d9f
UI: show steering wheel icon while engaged or engageable
...
old-commit-hash: 78b97eaa3611e2bcf27f6363a1574c44bd42c760
2021-09-16 23:43:19 -07:00
HaraldSchafer
e190dfaf13
Dont run plannerd for long tests ( #22260 )
...
old-commit-hash: f0be9a57ac1cf4931d7ebbfeb80a25e5d185167b
2021-09-16 20:45:13 -07:00
HaraldSchafer
97e5c25f13
Add stopping for stopped car tests ( #22250 )
...
* add stopping for stopped car tests
* too extreme
old-commit-hash: 2c04176b5fd469ac7ed00b69859f4caad89a22b5
2021-09-16 20:05:09 -07:00
Greg Hogan
e010874de8
hyundai: update radar message names ( #22258 )
...
old-commit-hash: 3eac5fc1775b9a3b9f70a7c76456a7414ad5fd96
2021-09-16 19:07:54 -07:00
HaraldSchafer
8f84b2421a
sane lead clips to prevent reset ( #22255 )
...
old-commit-hash: 5e995e5aff9f6b25b8c0a0e9d898add039294019
2021-09-16 17:31:32 -07:00
George Hotz
b4adcd2e56
Use thneed directly on the loaded YUV data ( #22236 )
...
* completely untested
* it builds now
* bug fixes, save 1ms
* using a kernel to copy works
* more sane API to loadyuv
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 83ff9ca3314b3d551949c822a98290713a0917bf
2021-09-16 14:13:03 -07:00
Kyle Greenlaw
a73499c66d
Additional FW for Sonata Hybrid ( #22252 )
...
* Additional Fingerprint for Sonata Hybrid
* Update selfdrive/car/hyundai/values.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: f10ac7d06022011c5d5d570bd2a26085f90af538
2021-09-16 11:59:48 -07:00
Greg Hogan
e7ad7b91e6
improve instructions for enabling hyundai radar tracks
...
old-commit-hash: 9db5edae724d88e5b797e4d1bee03372cd6b8611
2021-09-16 00:15:56 -07:00
HaraldSchafer
3305024cfc
remove ACADO ( #22247 )
...
* remove acado
* not relevant anymore
old-commit-hash: 42d93e94df410dc38b7f96e8061cff462a97d646
2021-09-15 21:14:11 -07:00
Adeeb Shihadeh
b3a1f2c67d
UI: fix getting stuck after vipc recv timeout
...
old-commit-hash: 86beb9a81afcc940f780f56dab3c238f024dfaef
2021-09-15 20:31:24 -07:00
Scott Adair
ed25cf30f4
Update FW Version for the 2020 Palisade ( #22245 )
...
Confirmed the FW version for my 2020 Palisade. Updated and executed the script without issue.
old-commit-hash: 3be48c5cded149186e63dfb37b58c95a45a1636c
2021-09-15 20:27:33 -07:00
Adeeb Shihadeh
dbc41b847d
add shouldBeRunning field to managerState ( #22246 )
...
old-commit-hash: 2f57f1729da92b10a7518849619b0c889b026a20
2021-09-15 19:51:55 -07:00
Adeeb Shihadeh
b41c5e2393
temporarily relax camerad timings
...
old-commit-hash: 174aa908bae042f1cfee27e10540c1b7e607aef3
2021-09-15 19:26:20 -07:00
John Belmonte
a410244e3d
Honda carstate: refactor MAIN_ON signal ( #22226 )
...
* Honda carstate: refactor MAIN_ON signal
MAIN_ON handling was scattered throughout the code since
the enclosing message differed by model. Store the message
name in the instance.
Several cases in get_can_signals() and update() were
subsequently collapsed.
* remove duplicate BRAKE_HOLD_ACTIVE signal
* Update selfdrive/car/honda/carstate.py
* add some whitespace
* cleanup carstate
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 7ee9ba34dd6117a68974314ba0bd6c79cc7ddbd4
2021-09-15 19:00:44 -07:00
HaraldSchafer
2d4b64ed04
Acados long fast ( #22233 )
...
* acados long
* new ref
* SPPEEEEEDDD
* less iterations
* this shouldn't be so high
* reset only essentials
* minimal reset for long mpc
* more cpu usage plannerd
* Use lead mpc even when going to crash
* reset to current state
* Use open loop speed for lead mpc
* 1 iteration is too little for cruise mpc
* add whitespace
* update refs
old-commit-hash: 66c275b71128355d634d4daf0f5c18891d4fb047
2021-09-15 19:00:12 -07:00
Chris McCammon
9ffbc81b07
2020 Corolla Engine fw ( #22244 )
...
old-commit-hash: d6201ce95a7fcaf052ef4efbf188113dcd2e705e
2021-09-15 17:13:22 -07:00
Willem Melching
4e529f843b
Hyundai radar parser ( #22241 )
...
* add radar parser for 0x5XX range
* fix speed
* enable based of fingerprint
* fix speed scale
* use proper signal names
* add to release files
* hyundai: script to enable radar points
* typo
* add comment
* fix tests
* cleanup
* add note about persistent
* Update selfdrive/car/hyundai/radar_interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* fix bugs in hyundai enable radar points script
* accidentally removed comment
* add some other cars
* add cosine to dRel
* fw versions do not match openpilot
* bump opendbc
* include state 4
Co-authored-by: Greg Hogan <gregjhogan@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6fd980c63e803b433c25e75e423193cef9287f9c
2021-09-15 15:43:01 -07:00
Harald Schafer
985593f21a
add model exec time printout
...
old-commit-hash: aed91c5906aff71b908aeb2279972dd474f51b21
2021-09-15 11:41:18 -07:00
Jason Young
2712607627
VW MQB: Škoda Kamiq Mk1 ( #22240 )
...
* VW MQB: Škoda Kamiq Mk1
* footnote about the China market Kamiq
old-commit-hash: b7e74f3b241e33990bacb7ff0ce9f26badc624bf
2021-09-15 11:29:37 -07:00
Adeeb Shihadeh
47a983fb00
updated: add persistent param for build date ( #22237 )
...
old-commit-hash: ed70c5aaf537d14ca870d30851172c7a5242b7d1
2021-09-14 20:24:41 -07:00
Adeeb Shihadeh
35e6e0f33b
add TSS2 Rav4 hybrid fw versions from #22216
...
old-commit-hash: b670868bcd741017f04c0bc9e1dd6e123564afaa
2021-09-14 19:37:22 -07:00
Willem Melching
d688b62c62
Add upper/lower bounds for longitudinal lag ( #22235 )
...
* Add upper/lower bounds for longitudinal lag
* add ref
* update ref
* bump cereal
* bump cereal
old-commit-hash: 417e229624583a3a618aaf7fe6bd48162dfc35b6
2021-09-14 18:57:16 -07:00
Trae
3534e4a8bd
Add 2022 Corolla Hatchback Engine FP ( #22232 )
...
old-commit-hash: b6c65aca0841df30241f2b1dd8045f63b69910ad
2021-09-14 15:51:05 -07:00
HaraldSchafer
8877772a95
Less QP iterations for lateral acados ( #22231 )
...
* Less QP iterations for lateral acados
* update ref
old-commit-hash: 96a8f8a831a2e72e195d5b384723644e8499c531
2021-09-14 13:55:30 -07:00
George Hotz
0fe0095d9f
demo route note in replay
...
old-commit-hash: 8d554abbf7acd9c58ae34ce67a9a6fbff7f0d0fa
2021-09-14 13:53:49 -07:00
Willem Melching
c3a226afbf
Revert "ui: use C3 video sizes by default on PC"
...
This reverts commit 71484f14c0d13f9b3eb9bece3629726e834ea304.
old-commit-hash: abae4ef72c462eef55c8a35f14365ed8b94c2bcc
2021-09-14 11:48:34 -07:00
Willem Melching
b85209979a
ui: use C3 video sizes by default on PC
...
old-commit-hash: cf4cd3b6935f7d0fcfc35ef0e9ea4ec0aae7155f
2021-09-14 11:27:34 -07:00
George Hotz
73a4b05065
allow PC to emulate TICI with TICI=1
...
old-commit-hash: 362f067c9c1c608dbe5adb7d318bab1fa8b9760e
2021-09-14 10:48:43 -07:00
John Belmonte
a84744e158
Honda carstate: use common gas pedal signal ( #22010 )
...
* Honda carstate: refactor GAS_PEDAL handling
* collapse SCM signal cases
* stop using CAR_GAS signal (combined user pedal + computer)
* cleanup
* update refs
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: f07e1ae99ebce1e809fb4a07ef39f4b0ca1bcc5a
2021-09-13 22:41:50 -07:00
Willem Melching
a8ce1288fd
Hyundai longitudinal prerequisites ( #22121 )
...
* panda
* bring over changes
* dont check car model
* remove comment
* fix typo
* more stuff gated behind long
* not
* not used
* gate that too
* try honda tuning
* clip accel values
* fix up merge
* fix stopping
* add retry logic around knockout
* increase timeout
* keep flipping lead bit
* true for now
* less tuning
* update comment
* 0.1 s is fine now
* merge honda and hyundai knockout
* more lead fields
* another obj bit
* increase timeout
* fix stopping flag
* only lag compensate for braking
* no lead
* less tuning
* only do knockout if not readonly
* try controlling using jerk
* tuning
* try higher stopping rate
* set stopping flag at higher speed
* clip upper jerk when stopping
* remove comments
* tester present 1hz
* use positive start accel
* 1.0 to maybe improve low speed stuff
* no point going over 0
* bump panda
* bump panda
* revert that change
* update ref
old-commit-hash: c4bac6bd68ce2a91beb15bb4f4472d76525288e0
2021-09-13 22:03:08 -07:00
HaraldSchafer
65a1b386dc
Fix 0 init bug for acados lateral ( #22225 )
...
* this is needed somehow
* new ref
old-commit-hash: 0dc45eaf1cebc4247b59a4508b4ef192ea7b0e56
2021-09-13 21:23:22 -07:00
Adeeb Shihadeh
a9221d6eaf
timing tests ( #22214 )
...
* timing tests
* tuning
* more tuning
* passes?
* increase min/max
* eon tuning
* more lax
* even more
* fix plannerd cpu
* should pass
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 369c5d5bff8d6635f86215540e3c34fc25d16998
2021-09-13 21:12:25 -07:00
Adeeb Shihadeh
b3893511db
fix live_cpu_and_temp.py for c3
...
old-commit-hash: c4e9f4de99adc9329051fc480bd23b8188a4e149
2021-09-13 20:27:53 -07:00
Adeeb Shihadeh
0c29c7928b
check_timings.py: start printing immediately
...
old-commit-hash: a7cc34fd77f780d5c45abb0d0bfaefd000f96b2b
2021-09-13 20:08:43 -07:00
HaraldSchafer
c422cce205
Port lateral planning to ACADOS ( #22080 )
...
* lateral acados
* looks good!
* add another solve, needed for init somehow
* use copy
* init correctly
* cleanup sconstruct
* Update files_common
* update cpu usage
* reset when invalid
* fix cpu usage
* cost_set doesnt leak
* new ref
* non leaky reset
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7081ab4fb7473a5be424db4b63e6bdaacf62157f
2021-09-13 19:06:54 -07:00
ZwX1616
0e661532a2
refactor dm pitch/yaw thresholding ( #22191 )
...
* use indiviual pitch/yaw instead of norm
* update process replay
old-commit-hash: dac8597a08097235cc63a77e025043f618878d6f
2021-09-13 16:05:42 -07:00
Dean Lee
00e02325ab
boardd: new function get_time_str ( #22158 )
...
* new function get_time_str
* apply review
old-commit-hash: e90eb79ceb8fce4542d7cbba1f02e5a6f4a9d9f9
2021-09-13 10:32:12 -07:00
Dean Lee
1e1c4fcd83
fix Replay::mergeEvents: use std::end() ( #22215 )
...
old-commit-hash: a89bdb6a05b7c5302702030ee3981aa2f7d7f941
2021-09-13 09:49:32 -07:00
Dean Lee
1fd8466af0
replay: unlock mutex before sleep ( #22213 )
...
old-commit-hash: 365e8bfd93046dc16caf23867ea094d2fe0f8e6a
2021-09-13 00:57:03 -07:00
Dean Lee
b8c56b5b75
replay: fix bugs in merging events ( #22205 )
...
old-commit-hash: eb4a28af1164d4d615a9bcdd4711e0d539bda7ed
2021-09-12 16:29:37 -07:00
Adeeb Shihadeh
6cdb496204
version.py: set terms and training version
...
old-commit-hash: a19738cba8b95a7a4c342ab4e17ec0b7859a29f3
2021-09-11 21:07:41 -07:00
Dean Lee
66c6adc436
UI: lazy onboarding widgets init ( #21780 )
...
* don't show onboarding on startup
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d640e25c3b95ebaef137c550907e29eb50bc837
2021-09-11 18:18:58 -07:00
Willem Melching
523219c678
Parameterize longitudinal control using carParams ( #22200 )
...
* use CP.startAccel
* missing values
* order
* update ref
* cereal
old-commit-hash: b7d1aac1972d8317e77d1f48edb22156b2c67bd6
2021-09-11 18:01:54 -07:00
Dean Lee
7100381a02
replay: thread safe merge & free logs ( #22196 )
...
old-commit-hash: a1a0201069aade71dc16e663073f2b40955752b3
2021-09-11 17:35:04 -07:00
Willem Melching
b079219b93
Use CP.vEgoStopping and clean up CP.startAccel ( #22199 )
...
* use CP.vEgoStopping and clean up
* update ref
old-commit-hash: 1e62b09e5dd70cae6721d2da9f7bcef59aa87c10
2021-09-11 17:13:30 -07:00
Dean Lee
0d226299e7
test_replay.cc: temporarily comment out the rand seek test ( #22192 )
...
* Temporarily comment out the rand seek test
* enable ci
* trigger ci
* trigger ci
* trigger ci
* trigger ci
* trigger ci
old-commit-hash: f3683dd4cbead3e090f48bbec60f35483c194193
2021-09-10 21:53:46 -07:00
Adeeb Shihadeh
9193e1afa1
Unify neos/agnos updaters ( #22109 )
...
* start moving neos updater
* downloading
* ui
* move recovery
* resuming
* add verification
* fix up launch
* test
* update updater
* fix mypy
* fake updater
* review suggestions
* more tests
* abc
* update bin
* raise
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
2021-09-10 17:03:54 -07:00
Jason Young
03ba5918c8
VW MQB: Škoda Karoq Mk1 round 2 ( #22190 )
...
* VW MQB: Škoda Karoq Mk1
* Update README
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: d5e6dd3d5b3ef3aaae16b50e3ca5b34de0025368
2021-09-10 14:41:31 -07:00
ntegan1
d508125f35
Upload when on ethernet ( #22188 )
...
in addition to when on wifi
Co-authored-by: ntegan <nick@egan.gg >
old-commit-hash: 54b5972cf6f7220ba6af061c6dadc2dc80d813d0
2021-09-10 12:05:12 -07:00