Commit Graph

5806 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 50f00cf617 UI: fix wrong background on controls unresponsive alert
old-commit-hash: 0e35db7c05172b154c70216d2b1b9ed8c9c7b163
2021-11-16 13:17:32 -08:00
Adeeb Shihadeh d1eacc4619 alerts: make soft disables an orange alert (#22925)
old-commit-hash: 833399e9418db26df70169d37c2dff90051d89c7
2021-11-16 13:11:32 -08:00
Dean Lee 23dca7ffae boardd/usb_connect: remove unused variable params (#22931)
old-commit-hash: 10bca095c2cb291f83fdef8c0e0307fe7e1c1c54
2021-11-16 13:06:58 -08:00
Dean Lee dce66df5ef ui: update params on the show event (#22927)
old-commit-hash: 906208504363457172d951ae99b8dac99d3400e1
2021-11-16 12:13:16 -08:00
Willem Melching 6493034aea nav: fix receiving navRoute while map is loading (#22929)
old-commit-hash: 9f423a93cd1c56ab7178dce11f478e2932fe68f5
2021-11-16 14:27:38 +01:00
Willem Melching 4cb1b50aee bump cereal
old-commit-hash: 241a0824d9a80cda6255a60930aa7bad29219a92
2021-11-16 14:22:11 +01:00
HaraldSchafer 95d63ee981 tici: limit brightness with display uptime (#22918)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c9218a55f3af82369883af0db90c8b2416a565f7
2021-11-15 22:11:17 -08:00
Adeeb Shihadeh 5247da772d update refs after alert disable
old-commit-hash: f262725705c8cd5bfb46cf5c6e893432e5743cc0
2021-11-15 21:45:18 -08:00
Adeeb Shihadeh 2230e6b2c9 bump openbbc
old-commit-hash: 8b929f005a01a4207e218510512ae72689dd2565
2021-11-15 21:42:33 -08:00
Adeeb Shihadeh 9f84f9ad97 put cruiseMismatch event in logging only mode
old-commit-hash: 33022390138df73199ac626cb7b5ab7fac1a89a6
2021-11-15 21:16:54 -08:00
Adeeb Shihadeh 24e2912b4b jenkins: decrease timeout once tests start running
old-commit-hash: 31031a723c265414fa1450a970b453369c6d0575
2021-11-15 17:34:16 -08:00
Igor Biletksyy b1299b6d27 bump panda
old-commit-hash: 3c7a8cba5bf89d271ae445b9d5a03a9365215cd4
2021-11-15 16:41:28 -08:00
Adeeb Shihadeh f82e1d42b9 UI: fix alert flicker when controlsState not updated (#22921)
old-commit-hash: 2f90f04f8d1a64c22f4162e9425e80645bd28092
2021-11-15 16:27:19 -08:00
Adeeb Shihadeh ee15159a3b alert cleanup (#22919)
old-commit-hash: 5265c36de7be6a2519488fa4a46462f13918b1fb
2021-11-15 16:14:31 -08:00