HaraldSchafer
85dc43d166
Small long MPC optimizations ( #22360 )
...
* Revert "temporarily relax camerad timings"
This reverts commit 174aa908ba
.
* cleanup
* wrong weight size
* changes ever so slightly
* seems enough
* Revert "seems enough"
This reverts commit 24f64e9b18583462206bb77c37ba7727b9e47245.
* new ref
2021-09-28 17:37:31 -07:00
Adeeb Shihadeh
4c0b82308d
honda nidec: fix no acceleration with pedal ( #22368 )
2021-09-28 16:31:12 -07:00
Adeeb Shihadeh
3b8fa4b7fd
controls: only send cruise cancel while cruise is enabled ( #22359 )
...
* controls: only send cruise cancel while cruise is enabled
* cleanup
* might actually do something
* update refs
* update refs again
* update refs
2021-09-28 12:30:50 -07:00
cto424
d95641a594
2021 Hyundai Sonata engine FW ( #22355 )
...
* Update values.py
* Apply suggestions from code review
* Also duplicate
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-28 14:56:56 +02:00
Dean Lee
a548d4b5b8
c++ replay: improve seeking&updating events ( #22319 )
...
* improve seeking
* qDebug
* cleanup
* wait on cv
robust
* Trailing underscores for member variables
* group log variables
* small cleanup,remove unnecess std::atomic
* remove debug output
* fix seek problem
* add comment
* better lambda
* faster seek.don't block stream thread if segment already loaded
* remove assert
2021-09-28 12:28:29 +02:00
Dean Lee
4e6ff308a8
c++ replay: chunking and concurrent downloads ( #22308 )
...
* download segment files by chunks in multiple threads
* remove easy_handl on aborting
* add test cases
* better error handling
* update test
* cleanup
* add CURLGlobalInitializer
* check http code
* finish
2021-09-28 12:24:48 +02:00
smithula
8096da1dcd
Add Firmware 2021 Hyundai Sonata Hybrid ( #22353 )
...
* Update values.py
* Update values.py
* Update selfdrive/car/hyundai/values.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-28 12:24:05 +02:00
Dean Lee
e888a7e939
load d/e camera by command line flags ( #22341 )
2021-09-28 11:25:18 +02:00
HaraldSchafer
fe983a7b8c
acados long merged ( #22224 )
...
* rebased
* cleaner, seems to drive better?
* more stable
* wrong import
* new way of thinking
* reports look nice
* start move back
* works at leas
* good timestamps
* step by step
* somewhat work
* tests pass
* ALL CARS STOPPED
* should work
* fake a cruise obstacle
* cleaner costs
* pretty good except cruise braking
* works pretty well now!
* cleanup
* add source
* add source
* that is needed for unit tests
* nan recovery
* little cleaner
* stop wasting arrays
* unreasonable without unfair init
* this isnt needed without the exponential
* that works too
* unused
* uses less
* new ref
* long enough
* e2e long api
* DONT PUT IN A VIEW INTO ACADOS
* new ref for outside weights
* remove debug prints
2021-09-27 19:48:28 -07:00
Jason Young
f03ee4599e
VW MQB: Fix min steer speed alerts ( #22358 )
2021-09-27 15:00:55 -07:00
ikawaoka
ed5644fc1a
Add Prius prime 2017 FW versions ( #22350 )
2021-09-27 13:37:52 -07:00
Jason Young
0630c42602
VW MQB: Improve auto network location detect ( #22351 )
2021-09-27 10:12:26 -07:00
John Belmonte
29edd56049
honda: replace hard-coded address for STEERING_CONTROL check ( #22352 )
2021-09-27 10:11:58 -07:00
Erich Moraga
98ee53618d
Add missing COROLLAH_TSS2 engine f/w ( #22346 )
...
`emerson#6018` DongleID 4907c31e2bc2b77b
https://discord.com/channels/469524606043160576/524592892627517450/891336882485608559
2021-09-25 09:56:25 -07:00
Willem Melching
2d7d8fba99
Improve Hyundai FW query stability ( #22344 )
...
* extend timeout on valid response
* extend total timeout in fw query
* redundant query
* cleanup
* add 2 new sonata fw
* add cloudlog
* total timeout always 10x
* update ref
* time.monotonic()
* more logging
2021-09-24 17:32:09 -07:00
John Belmonte
edabca193d
Car Port: Honda Freed 2020 ( #22003 )
...
* car port: Honda Freed
Popular 3-row compact minivan in Japan based on Fit platform.
test route: 2c4292a5cd10536c|2021-08-19--21-32-15
* missing DRIVERS_DOOR_OPEN signal on FREED
* remove redundant long parameters
* additional FW; confirm lack of stop-and-go
* restore gateway ECU to fingerprint
* corrected mass and wheelbase
* add another forwardRadar id
2021-09-24 17:11:47 -07:00
Jafar Al-Gharaibeh
b170c1f4e1
Mazda: use cruise speed signal from PCM ( #22345 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-24 16:58:32 -07:00
Adeeb Shihadeh
0d0aad05ce
setup: add low voltage warning ( #22342 )
...
* setup: add low voltage warning
* read voltage
* fix path
2021-09-24 14:30:49 -07:00
HaraldSchafer
4e939a9648
NIDEC pedal, good gas/brake transition ( #22314 )
...
* need gas to combat windbrake
* coasting deadzone
* no pcm gas and no pedal when braking
2021-09-24 11:24:49 -07:00
Willem Melching
c68fc8ef9c
set Honda Bosch long lag to 1s ( #22335 )
...
* set Honda Bosch long lag to 1s
* update ref
2021-09-24 10:28:00 -07:00
Adeeb Shihadeh
2fe91e6085
change reverse gear event from immediate to user disable ( #22337 )
2021-09-24 10:27:51 -07:00
Jason Young
6a18c8624f
VW MQB: Add FW for 2013 Volkswagen Golf ( #22338 )
2021-09-24 08:45:32 -07:00
Robbe Derks
3ccf712ac9
small typo
2021-09-24 10:23:41 +02:00
cydia2020
70e1c9c40c
UI: Fix mph and wi-fi spelling ( #22334 )
...
* display WiFi as Wi-Fi
* fix typo in metric setting description
2021-09-23 22:23:34 -07:00
Jason Wen
67c09b4caf
Fix small typo in DisableRadar toggle description ( #22333 )
2021-09-23 19:52:59 -07:00
Adeeb Shihadeh
9641aa1426
assets cleanup ( #22332 )
2021-09-23 19:22:42 -07:00
Adeeb Shihadeh
649af76fd4
remove community supported cars from community features ( #22330 )
...
* remove community supported cars from community features
* remove bosch and hkg long
* remove test case
* update refs
2021-09-23 17:34:52 -07:00
Willem Melching
8c01ae5716
Add DisableRadar_Allow param and settings toggle ( #22329 )
2021-09-23 17:19:47 -07:00
Willem Melching
88d248a5af
Remove fuzzy fingerprint startup alert ( #22328 )
...
* deprecate fuzzy fingerprint startup alert
* bump cereal
2021-09-23 17:15:33 -07:00
Willem Melching
6dabefb68d
params.cc: sort offroad params
2021-09-23 16:47:00 -07:00
Willem Melching
36975a0071
sort params alphabetically
2021-09-23 16:46:02 -07:00
Jason Wen
9acc592cd9
Hyundai: Car Port for 2022 Hyundai Santa Fe ( #22325 )
...
* Add fingerprint: Hyundai Santa Fe 2022
* Update LFAHDA_mfc: Add 2022 Hyundai Santa Fe
* Add car port: Hyundai Santa Fe 2022
* Add test route: Hyundai Santa Fe 2022
* Update RELEASES.md
* Update CARS.md
* Update RELEASES.md
* Remove FPv1 due to deprecation
2021-09-23 16:03:28 -07:00
Achilles308
d888ef8f89
UI: re-order sidebar temp wording ( #22323 )
2021-09-23 15:14:00 -07:00
Jason Young
c51eba3fd6
VW MQB: Min steer speed support, other cleanup ( #22324 )
...
* VW MQB: Min steer speed support, other cleanup
* simplify
* more correct
* fix README
2021-09-23 15:12:57 -07:00
Adeeb Shihadeh
0f8c6f130b
add log docs
2021-09-23 14:41:35 -07:00
Andrew
cc03ac49aa
add another transmission FPv2 for elantra hev 2021 ( #22316 )
2021-09-23 13:23:16 -07:00
Greg Hogan
793ceb6b56
hyundai: resume from stop faster ( #22274 )
...
* hyundai: resume from stop faster
* update ref_commit
2021-09-23 13:20:25 -07:00
Dean Lee
ae9305e7ff
fix yuv420_to_jpeg: thumbnail_width & thumbnail_height must be aliged with 16 pixel. ( #22287 )
...
* aligned by 16px
* make buf big enough
* comment
* add comment
* comment
2021-09-23 13:20:10 -07:00
Dean Lee
5f9e0f7869
webcam: add /usr/include/opencv4 to CPPPATH ( #22320 )
2021-09-23 11:43:51 -07:00
Jason Wen
1ba28af265
2021 Hyundai Sonata N Line: Fingerprint ( #22300 )
...
* 2021 Hyundai Sonata N Line: Fingerprint
* Force FPv2: 2021 Hyundai Sonata N Line
* Revert "Force FPv2: 2021 Hyundai Sonata N Line"
This reverts commit 50351a3d17
.
* remove too short fw versions
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-23 11:20:29 -07:00
Robbe Derks
da2aa12754
Modem temp is an expensive call ( #22309 )
2021-09-23 11:33:47 +02:00
Adeeb Shihadeh
d4e867e976
thermald: remove cpr logging
2021-09-22 22:25:48 -07:00
Adeeb Shihadeh
e9e490a729
add booted onroad flag ( #22318 )
2021-09-22 22:25:08 -07:00
Chris McCammon
b59894ec6e
Highlander Firmware ( #22304 )
2021-09-21 18:06:56 -07:00
HaraldSchafer
72a736f90e
Improved lead model: 6be443f2-ed70-4580-9c31-61b94d068e24/950 ( #22290 )
...
* 6be443f2-ed70-4580-9c31-61b94d068e24/950
* meta changed too
* new ref
* new ref from CI
* unused
* Revert "new ref from CI"
This reverts commit 28b6bdc810
.
* new ref from CI again
2021-09-21 17:36:05 -07:00
sshane
1e4b61b393
Show model leads with uiview ( #22303 )
2021-09-21 16:01:10 -07:00
Cruise Brantley
75730c28ca
Radar tracks for Santa Fe ( #22270 )
...
* Radar tracks for Santa Fe
* add radar DBC
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-21 15:04:14 -07:00
Adeeb Shihadeh
212d2c3998
log nvme temp ( #22296 )
...
* log nvme temp
* fix high cpu
Co-authored-by: Comma Device <device@comma.ai>
2021-09-21 14:39:07 -07:00
Jason Young
37acee843e
VW MQB: Volkswagen Arteon Mk1 ( #22297 )
...
* VW MQB: Volkswagen Arteon Mk1
* add test route
* update release notes
2021-09-21 14:38:40 -07:00
HaraldSchafer
fcda55fbf1
Fix cruise MPC convergence bug and add test ( #22295 )
...
* fix tests
* fix cruise convergence bug
* update refs
* Update selfdrive/controls/tests/test_cruise_speed.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/controls/tests/test_cruise_speed.py
* add msgh
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-21 12:19:05 -07:00
Willem Melching
8a836b7e1e
Script to extract thumbnails from segment ( #22294 )
...
* Script to extract thumnails from segment
* fix name
* whitespace
2021-09-21 10:14:16 -07:00
Robbe Derks
6117c7ce81
Log modem temps on Tici ( #22281 )
...
* log max modem temp
* not sure what happened here
* fix this
* make modem temps a list
* this is not needed
Co-authored-by: Comma Device <device@comma.ai>
2021-09-21 14:40:05 +02:00
HaraldSchafer
cc6af379ce
various cleanup ( #22289 )
2021-09-20 16:26:10 -07:00
Mitchell Goff
485afda79d
Added update_with_xva method to long_mpc so it can be used in sim ( #22284 )
2021-09-20 14:20:01 -07:00
Jason Young
869ae44ad3
VW MQB: Volkswagen Transporter/California T6.1 ( #22283 )
...
* VW MQB: Volkswagen Transporter/California T6.1
* reformat values
* update CARS
* add test route
* assume SWB for now
* Update RELEASES
* update platform comments
2021-09-20 13:41:39 -07:00
HaraldSchafer
7495100177
More extreme lead init for lead mpc ( #22273 )
...
* More harsh lead init for lead mpc
* update refs
2021-09-20 09:35:55 -07:00
Dean Lee
dff6dbfbe9
rename filereader.cc[h] to logreader.cc[h] ( #22279 )
2021-09-19 15:54:03 -07:00
Dean Lee
abffc8b2ad
UI: new class ListWidget ( #21273 )
...
* ListWidget
* continue
* remove function horizontal_line
* cleanup
* default spacing 25
* fix networkpanel margin on EON
* solid expanding
* 0 width
* cleanup
* apply reviews
* remove function addLayout,make it looks like QLIstWidget
* rename addWidget to addItem
* rebase master
* rebase master
* merge master
* cleanup
* fixed title bar position
* no flash while folding
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-19 15:14:54 -07:00
Dean Lee
ec67d2b8f5
replay: pause/resume using spacebar ( #22278 )
...
* pause/resume using spacebar
* Update selfdrive/ui/replay/replay.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-19 14:47:17 -07:00
Dean Lee
9b302488f9
camerad: added replay camera ( #21241 )
...
* start refactor
* remove camera_frame_stream from files_common
* rename camera_pc to camera_replay
* continue
* loop one segment
* rename cam_frame_id to stream_frame_id
* apply review
* continue
* more
* publish camera state
* cleanup
* cleanup
* better comment
* delete s->pm in cameras_close()
* add function getFrameCount
* refactor loop
* fix typo
* restore freame stream
* disable roadcam
* dd
* move file
* merge master
* fix test case
* add todo
* white space
* remove from release files
* add files back to relase
* move framereader back to ui/replay
* merge master
test_replay
2021-09-19 14:43:54 -07:00
VictorLier
9d42afe8c0
Add 2017 Ioniq EV fw versions ( #22277 )
...
* 2017 ioniq EV fingerprint
* Update values.py
* Update selfdrive/car/hyundai/values.py
* Update selfdrive/car/hyundai/values.py
* Update selfdrive/car/hyundai/values.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-19 14:35:28 -07:00
Dean Lee
50ae7dd6a9
replay improvements ( #22203 )
...
* refactor replay
* cleanup
small cleanup
* merge 22239
* cleanup
* add optional argument for start time
* small cleaup
2021-09-19 12:24:28 -07:00
Dean Lee
8eb92a98ba
replay: don't splits empty strings ( #22271 )
2021-09-18 22:40:36 -07:00
Harald Schafer
32c57fee05
update ref for mpc lead accel clip
2021-09-18 22:35:11 -07:00
Harald Schafer
a1fcedda21
Clip radar acceleration for mpc stability
2021-09-18 22:21:03 -07:00
Dean Lee
cb49ceabf0
replay: remove array subscript ( #22268 )
2021-09-18 18:58:37 -07:00
Vivek Aithal
3778592f50
locationd: modify factor for measurement STDEV in gps update ( #22262 )
...
* modify factor for measurement STDEV in gps update
* add new ref_commit
2021-09-17 22:33:46 -07:00
protonchang
dc076baf39
Add FW versions for 2020 Toyota Corolla Cross (Taiwanese Version) ( #21694 )
...
* Add Fingerprint 2.0 for 2020 Toyota Corolla Cross (Taiwanese Version)
* Fix fingerprint typo
2021-09-17 19:15:26 -07:00
Kyle Greenlaw
839147a333
Add Hyundai Sonata Hybrid Radar FW for OP Long support ( #22259 )
...
* add mondo dbc to Sonata Hybrid
* 2021 Sonata Hybrid radar FW
* Add Sonata Hybrid to openpilotLongitudinalControl
* Whoops... ,
2021-09-17 19:12:54 -07:00
Dean Lee
e0b5b4573e
camerad: use the YUV buffer to create the jpeg thumbnail ( #21936 )
...
* yuv420_to_jpeg
continue
* add comments
* cleanup
* return ky::array
2021-09-17 17:00:21 -07:00
samuwh
e8e83a3dcf
Added fw versions for Hyundai Elantra 2021 ( #22256 )
...
* Added fingerprint for Hyundai Elantra 2021
This fingerprint started popping up on my 2021 Hyundai Elantra SEL (non-hybrid).
* Update values.py
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-17 16:59:57 -07:00
Chris McCammon
5f85ea09cd
Add Odyssey fw versions ( #22266 )
...
* 6a492387bdfcb4ba
* rerun ci
2021-09-17 16:55:34 -07:00
Adeeb Shihadeh
f49e7629ee
replay: add nice arg parser ( #22264 )
...
* replay: add nice arg parser
* demo
* cleanup
2021-09-17 00:33:23 -07:00
Dean Lee
f5aa3a30c9
replay: thread-safe seek ( #22228 )
2021-09-16 23:45:46 -07:00
Adeeb Shihadeh
78b97eaa36
UI: show steering wheel icon while engaged or engageable
2021-09-16 23:43:19 -07:00
HaraldSchafer
f0be9a57ac
Dont run plannerd for long tests ( #22260 )
2021-09-16 20:45:13 -07:00
HaraldSchafer
2c04176b5f
Add stopping for stopped car tests ( #22250 )
...
* add stopping for stopped car tests
* too extreme
2021-09-16 20:05:09 -07:00
Greg Hogan
3eac5fc177
hyundai: update radar message names ( #22258 )
2021-09-16 19:07:54 -07:00
HaraldSchafer
5e995e5aff
sane lead clips to prevent reset ( #22255 )
2021-09-16 17:31:32 -07:00
George Hotz
83ff9ca331
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>
2021-09-16 14:13:03 -07:00
Kyle Greenlaw
f10ac7d060
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>
2021-09-16 11:59:48 -07:00
Greg Hogan
9db5edae72
improve instructions for enabling hyundai radar tracks
2021-09-16 00:15:56 -07:00
HaraldSchafer
42d93e94df
remove ACADO ( #22247 )
...
* remove acado
* not relevant anymore
2021-09-15 21:14:11 -07:00
Adeeb Shihadeh
86beb9a81a
UI: fix getting stuck after vipc recv timeout
2021-09-15 20:31:24 -07:00
Scott Adair
3be48c5cde
Update FW Version for the 2020 Palisade ( #22245 )
...
Confirmed the FW version for my 2020 Palisade. Updated and executed the script without issue.
2021-09-15 20:27:33 -07:00
Adeeb Shihadeh
2f57f1729d
add shouldBeRunning field to managerState ( #22246 )
2021-09-15 19:51:55 -07:00
Adeeb Shihadeh
174aa908ba
temporarily relax camerad timings
2021-09-15 19:26:20 -07:00
John Belmonte
7ee9ba34dd
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>
2021-09-15 19:00:44 -07:00
HaraldSchafer
66c275b711
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
2021-09-15 19:00:12 -07:00
Chris McCammon
d6201ce95a
2020 Corolla Engine fw ( #22244 )
2021-09-15 17:13:22 -07:00
Willem Melching
6fd980c63e
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>
2021-09-15 15:43:01 -07:00
Harald Schafer
aed91c5906
add model exec time printout
2021-09-15 11:41:18 -07:00
Jason Young
b7e74f3b24
VW MQB: Škoda Kamiq Mk1 ( #22240 )
...
* VW MQB: Škoda Kamiq Mk1
* footnote about the China market Kamiq
2021-09-15 11:29:37 -07:00
Adeeb Shihadeh
ed70c5aaf5
updated: add persistent param for build date ( #22237 )
2021-09-14 20:24:41 -07:00
Adeeb Shihadeh
b670868bcd
add TSS2 Rav4 hybrid fw versions from #22216
2021-09-14 19:37:22 -07:00
Willem Melching
417e229624
Add upper/lower bounds for longitudinal lag ( #22235 )
...
* Add upper/lower bounds for longitudinal lag
* add ref
* update ref
* bump cereal
* bump cereal
2021-09-14 18:57:16 -07:00
Trae
b6c65aca08
Add 2022 Corolla Hatchback Engine FP ( #22232 )
2021-09-14 15:51:05 -07:00
HaraldSchafer
96a8f8a831
Less QP iterations for lateral acados ( #22231 )
...
* Less QP iterations for lateral acados
* update ref
2021-09-14 13:55:30 -07:00
George Hotz
8d554abbf7
demo route note in replay
2021-09-14 13:53:49 -07:00
Willem Melching
abae4ef72c
Revert "ui: use C3 video sizes by default on PC"
...
This reverts commit cf4cd3b693
.
2021-09-14 11:48:34 -07:00