Commit Graph

5820 Commits

Author SHA1 Message Date
Jason Young 84ef09130c VW MQB: Volkswagen T-Roc Mk1 (#22967)
old-commit-hash: ef3811721934f2f20d7781c4cf576246a44a75ba
2021-11-18 14:52:59 -08:00
Brett Sanderson a42e858c99 Honda: rename HONDA_NIDEC_ALT_MAIN to HONDA_PARAM_NIDEC_ALT_SCM_MESSAGES (#22970)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8b25551c7fe61ab5e4a7842f72e6474d517b9e04
2021-11-18 14:52:37 -08:00
Adeeb Shihadeh 211fc86ae5 CI: fix test car models bug
old-commit-hash: 9e1ee72a914dce3812475e588cbcf566dca733d8
2021-11-18 14:40:59 -08:00
Igor Biletskyy 989270ac56 fix chunk buffer size (#22969)
old-commit-hash: edaf7d76049d6807fe75238d33804420e0b15ee9
2021-11-18 14:15:06 -08:00
Dean Lee 1cf28894e6 panda: fix len_to_dlc always return 1 if len > 24 (#22964)
old-commit-hash: 57db99700c0ec41764d8645cec34a99a5b237135
2021-11-18 13:02:36 -08:00
Willem Melching 9399b6ae61 uploader: switch to upload_url v1.4 (#22966)
old-commit-hash: 23a1f478174ca443f760a5db910bc235c05bfffb
2021-11-18 16:23:50 +01:00
Willem Melching 425349a55c swaglog.py: respect LOGPRINT env variable (#22950)
* swaglog.py: respect LOGPRINT env variable

* only change handler that prints

* keep usefull manager prints

* only print running list

* revert process changes

* fix test
old-commit-hash: 77b334a698300d6f763bfcc0210c32b6f2ae6f63
2021-11-18 16:05:06 +01:00
Cameron Clough 8ad1abd8ba api: send User-Agent on network requests (#22965)
* api: set User-Agent on network requests

The format of the User-Agent header matches the format in `common/api/__init__.py`.

Closes #22954.

* Update selfdrive/ui/qt/util.cc

* fix parentheses

* refactor into function

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 140c7f430cf9372c3706db4af9f58654a3ee2d0f
2021-11-18 15:53:21 +01:00
eFini 039e8be5a0 nav: flip instruction images for RHD (#22877)
* nav instruction icon for rhd

* we dont need rhd for active direction

* define suffix as constant

* ps version icon

* reflect icon instead

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 52c4ab73a979d114bc3bd073e991da05acded46f
2021-11-18 14:14:41 +01:00
Robbe Derks b66e2a9f7a Tesla longitudinal control (#22561)
* tesla long squashed changes

* fix no resume from stop

* try setting accel limits to 0 to remove jerk with fast switchover

* expand radard lookup tables

* bump merged panda submodule
old-commit-hash: 4960578bdfae11689da81e80973b998b05e6fd96
2021-11-18 13:57:12 +01:00
Adeeb Shihadeh 1d7184d160 better update prompt text
old-commit-hash: 6c909ba651d3d7199c8b8a4c529de84001f4f943
2021-11-17 23:28:23 -08:00
Adeeb Shihadeh 2bcaee3678 add offroad alerts for car unrecognized (#22934)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
old-commit-hash: 2a72e2a5140a7b02c3a13f167e91b4238a01eba0
2021-11-17 20:29:00 -08:00
HaraldSchafer 6eb5dce881 Lateral planner: lower max cost (#22960)
* prevent ping pong when tuning is not so great

* update refs
old-commit-hash: 24aadaf1f35d61f26637377bc353539d25989f94
2021-11-17 20:24:10 -08:00
Dean Lee 816fbec7ab replay: fix swsscale crash on nv12->yuv conversion (#22961)
old-commit-hash: ddea21e6482a16cb80c772f5a4fd0a19a038d393
2021-11-17 20:04:45 -08:00
Dean Lee 0049f2cf99 boardd: fix a panda may be connected by multiple panda instance (#22932)
* fix bugs in main

* no auto
old-commit-hash: 0716635808df8c2bdf05e31e4130f1b9a985c2f7
2021-11-17 19:25:21 -08:00
Dean Lee 433add3a02 boardd/can_recv_thread: improve caching for can_frame (#22944)
* better cache

* use emplace to remove copy&realloc

* rebase master
old-commit-hash: 841fb93def3b52cc597d6e60a51f676002e6f3ac
2021-11-17 17:54:14 -08:00
Adeeb Shihadeh 1792ebea6d Honda: handle ACC state consistent with ISO 15622:2018 (#22958)
old-commit-hash: 14651866c2ec1dded8fae7ae3c9109acf2e79985
2021-11-17 17:30:50 -08:00
Igor Biletskyy 8844b560d0 panda.cc: struct for CAN header, counter complexity, cleanup for readability (#22956)
* try struct

* can_send refactor

* cleanups

* Resize vector only when it is needed

* ...

* more cleanup
old-commit-hash: 47d0d717ebdef8a0b3c472bfc17b5cd1b401c5ed
2021-11-17 16:00:18 -08:00
Adeeb Shihadeh 74f4dfde27 bump to 0.8.12
old-commit-hash: 7d18e26ff1712027aa2f7a85ad5eb045295a15cf
2021-11-17 15:00:37 -08:00
Jafar Al-Gharaibeh da895353a0 Mazda: fix typo in CX-5 fw (#22957)
old-commit-hash: 787dde003ed3996a6258f636ae7e327da135570a
2021-11-17 13:49:10 -08:00
Adeeb Shihadeh 09ad54970c Revert "Revert "Fix build failures in Ubuntu 21.10 (#22952)""
This reverts commit caf0013a20b5330b4b964867adf40294bc407e43.

old-commit-hash: f2a81309e10a93b85d4d68a83392eab9d8df9155
2021-11-17 13:46:38 -08:00
Jason Young 03ab5abb87 VW MQB: Add FW for 2018 Volkswagen e-Golf (#22953)
old-commit-hash: 36ca9d2daa376f676e2c969a232e19dbf6c29c7a
2021-11-17 13:44:10 -08:00
Adeeb Shihadeh 64a51de881 Revert "Fix build failures in Ubuntu 21.10 (#22952)"
This reverts commit e50fe1bb134e652aacd734c40b590b49d443512a.

old-commit-hash: 5e2570dc7555609e855370ab8afdade3640282c4
2021-11-17 11:40:17 -08:00
Jason Shuler 6e92ec1cf2 Fix build failures in Ubuntu 21.10 (#22952)
* Fix compile on Ubuntu 21.10

* Add missing c++17 optional refs in ui
old-commit-hash: 61f9b3e653b08900e6a5011320f383efbe443c14
2021-11-17 18:59:36 +01:00
Willem Melching fd3140fd6f cleanup unused pip packages (#22947)
* cleanup unused pip packages

* fix linter
old-commit-hash: f1c77f97b934fac877230d9438fb4a15d1813c52
2021-11-17 16:23:03 +01:00
Willem Melching f076987942 Revert "cameraview: remove glflush, reduce C3 CPU usage (#22949)"
This reverts commit 6edbdc5e535eafaeea4b2e546ccb78ad190d21fb.

old-commit-hash: 372b0f10da2e6cd7c564f15d8769905744c0627c
2021-11-17 16:22:25 +01:00
Dean Lee 1ae1237520 cameraview: remove glflush, reduce C3 CPU usage (#22949)
* remove glflush

* revert cpu
old-commit-hash: 33b1b940671b4c5472e3ec272d6b109087edf73d
2021-11-17 15:37:45 +01:00
Adeeb Shihadeh 4c7fbb1da0 Take camera snapshot using VisionIPC (#22070)
* vipc snapshot

* front and rear need to go

* remove SEND_*

* cleanup

* put that back

* fix duplicate code

* dont start camerad on pc

* fix rgb stride

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0a1aaaa74cfb36a4c99b80698f0fd6c8b32e7044
2021-11-17 15:24:50 +01:00
sshane 51081766f3 ui: draw all radard leads (#22901)
* draw leads detected from radar since it has a low speed override

* comment

* fill lead_verticies

* fix

* Revert changes

Revert "fix"

This reverts commit 7a478c435a0913e09512801309cf52654f3e17ac.

Revert "fill lead_verticies"

This reverts commit 5cdf265bb98480413a4a83c093b3e00489ba2f94.

Revert "comment"

This reverts commit 24a8a3fc2beef263909810d828d4e4fb5ea576e8.

Revert "draw leads detected from radar since it has a low speed override"

This reverts commit 4679fa5d16c7e961def9aaa52e92fb7d994a830d.

* Revert "Draw model leads (#21864)"

This commit reverts f1003b8c85f73d9fbecd0b83bc9a6de6f46ea0c0
old-commit-hash: fa55dbe98394b5ed39385f26d6314a45fa899c15
2021-11-17 14:29:54 +01:00
Willem Melching b03a21a8d5 ci: move timestamp step into correct job
old-commit-hash: ba0c844ad92c9be891c50445836d9393b36734b5
2021-11-17 14:21:59 +01:00
Dean Lee ec71ceead3 sidebar: dont update states when hidden (#22948)
old-commit-hash: ddc35826f74ead9f6529910880f9d4f2c16fe727
2021-11-17 14:12:57 +01:00
Willem Melching f48cbfcd8d increase c3 ui cpu usage after async pbo copy
old-commit-hash: 7a3754d50b2325863259cb31b8da6c5e31990246
2021-11-17 14:00:55 +01:00
Dean Lee e72feb1263 framereader: remove memory copy overhead for AVIO (#22894)
* no memory copy

* merge master

better
old-commit-hash: dc8e23c94b29a8c26cc377f8649e497f33036c33
2021-11-17 13:25:40 +01:00
Willem Melching a25637897b nav: render at 20fps instead of 10fps
old-commit-hash: 5648b22833c4ec5eaa1b76af3018f856f6cfaf6f
2021-11-17 12:26:17 +01:00
Dean Lee fb0a97b972 ui: replace nvg transfrom with QTransform (#21968)
old-commit-hash: c35ae999276a8f0385f5e20af06eae9f72c56971
2021-11-17 12:24:37 +01:00
Dean Lee 2f4b21b92f camera_qcom2: cleanup camera_open (#22085)
* cleanup camera_open

* remove static

* apply review
old-commit-hash: 3d0246eed55a5e1bcc97c56ac55afd12c98b56f6
2021-11-17 12:18:14 +01:00
HaraldSchafer eb40939df1 Cleanup toyota tuning (#22859)
* start cleanup

* start lateral

* finish lateral

* add file

* typo

* add enu

* remove whitespace

* cleanup safetyparam

* typo
old-commit-hash: 06844821c5b605c2018cdda6d7bee5f68b7e1408
2021-11-17 12:06:39 +01:00
Dean Lee 84097b29df watchdog_kick: non-allocating (#22892)
* non-allocating

* unpack

* call kick every second

* cleanup include
old-commit-hash: ca88a8769be47c8cd27d7290c53b7dfc3b55f0fd
2021-11-17 12:02:31 +01:00
Dean Lee 688b55c8e0 ui: async uploading texture with PBO (#22843)
* async uploading texture using pbo

* use QOpenglBuffer

space

set usage pattern

share context

continue

* space
old-commit-hash: 0dcb089254df1addd20c031f131086632302184f
2021-11-17 12:01:50 +01:00
eFini 22ea8f17c2 macOS: Fix missing pip command issue. (#22924)
* Fixed missing pip command issue.

* add path to openpilot_env.sh for mac
old-commit-hash: a87190342bbe30aa4fd09c1f9586d9a7060e8b76
2021-11-17 11:23:05 +01:00
Dean Lee 0c26c21c9c framereader: support hardware decoding (#22906)
* support hardware accelerated video decoding

* support cuda only

* print decode info

* add yuv flag back

* fix height

* default is cuda

* fallback to CPU decoding

fix memory leak&cleanup

add output
old-commit-hash: 20d3cf1fcb3d5c64d438426b0706b2478b72e3d7
2021-11-17 11:17:59 +01:00
Adeeb Shihadeh db6a8aaf06 we're an oxford comma company
old-commit-hash: 3d87eb6c67c454b6624e76e9497880f6d77501b7
2021-11-16 23:42:02 -08:00
Adeeb Shihadeh 1ffe047666 improve crc camera error (#22943)
old-commit-hash: 5296ca8d73573a59a5198b73770d2a4f20cbc9c2
2021-11-16 22:57:22 -08:00
Adeeb Shihadeh 85b0e69efd more alert checks
old-commit-hash: 8d917b6702858a3864f8f8c9fced56a04e65f206
2021-11-16 22:56:29 -08:00
Adeeb Shihadeh e08be1e178 pedal: only send command while actuators active (#22942)
old-commit-hash: 70c1f19304cf6c81baddee2f67d64e48b7891d3f
2021-11-16 22:38:23 -08:00
Jafar Al-Gharaibeh e8717f23de Mazda: add three new FW FP (#22939)
old-commit-hash: 2492a116613a4758b6e926a88019351f2793099b
2021-11-16 21:10:16 -08:00
HaraldSchafer 345d52e957 Add cost to long plan change for smoother lag comp (#22923)
* add plan changing cost

* fix compile

* set weights

* try this cost

* horizon problem

* looks pretty good

* update refs

* update refs

* smoother plan changes
old-commit-hash: b3b45c8d29d0afb741c829fea8145fb47ffa7462
2021-11-16 17:57:55 -08:00
Adeeb Shihadeh c9b2b90681 ubuntu_setup.sh: add option to continue on unsupported os
old-commit-hash: 0674726cf4e0dfffc30d4596e2c650821b792588
2021-11-16 14:30:51 -08:00
Adeeb Shihadeh 8a66c54064 Revert "add offroad alerts for car unrecognized"
This reverts commit 2ffaadb4d2eaabf6e8d86423fbc25328e81dfff0.

old-commit-hash: d8a5c415cd73b50a3424a28f644466fee263e09c
2021-11-16 13:31:10 -08:00
Adeeb Shihadeh 08bfdb151b add offroad alerts for car unrecognized
old-commit-hash: fb1e8ce086ec5e2dc7b2150b62fdd99368eb7e66
2021-11-16 13:30:33 -08:00