Commit Graph

4221 Commits

Author SHA1 Message Date
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
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 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 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
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 9f84f9ad97 put cruiseMismatch event in logging only mode
old-commit-hash: 33022390138df73199ac626cb7b5ab7fac1a89a6
2021-11-15 21:16:54 -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
Igor Biletskyy 34ad595349 panda.cc: add functions to set can and data speed (#22920)
old-commit-hash: 04e1a25881db89fd186b0a621299093b282dc47b
2021-11-15 16:10:39 -08:00
Adeeb Shihadeh b6974fd2b3 better onroad test output (#22873)
old-commit-hash: ec66573a8b139a680ebdda649596554ccae17364
2021-11-15 16:03:30 -08:00
Robbe Derks bad079992c reset on ignition edge (#22915)
old-commit-hash: 1d03f2a97bb0a95fdc701fed4a03cc061f792c92
2021-11-15 17:52:42 +01:00
Willem Melching 37c7137220 boardd: fix segfault when SIGINT with no pandas (#22914)
* boardd: fix segfault when SIGINT with no pandas

* remove if block

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: 8e12b9ca76bed74bc4cab5a5a363bdc81101ae11
2021-11-15 14:10:08 +01:00
Erich Moraga ba50fb04dc Firmware replace \000 with \x00 (#22911)
old-commit-hash: e42bf919b2734830aaeae12ac73106bbb9e20d65
2021-11-15 10:34:44 +01:00
Erich Moraga cabc1b7dca Add missing HIGHLANDERH_TSS2 engine f/w (#22910)
* Add missing HIGHLANDERH_TSS2 engine f/w

`maximammx#7799`  2022 Highlander Hybrid AWD  DongleID/route  91445f0962323b04|2021-11-14--21-33-29

* Add 2022 Highlander Hybrid
old-commit-hash: cdc53efb9873899729113e95bf4d03f8f336ea9b
2021-11-14 21:49:36 -08:00
Erich Moraga dd19aa7326 Add missing COROLLAH_TSS2 engine f/w (#22909)
old-commit-hash: abb292d66655c5934c437e2cb5b7d4f61db52505
2021-11-14 21:31:10 -08:00
Adeeb Shihadeh e14ef7f9fd add multipanda to loopback tests (#22900)
old-commit-hash: e8598f7455a5f05406cc31cf4ec1daf39fa10264
2021-11-13 17:39:51 -08:00
Adeeb Shihadeh 1896097480 boardd: apply bus offset in can recv
old-commit-hash: 5ffb3e4347d09500a761945bc2a4a5f93f072a6f
2021-11-13 17:11:25 -08:00
Adeeb Shihadeh 35bfdce477 loggerd: trigger rotate on frame id instead of frame count (#22848)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ea761cbbd5103a589915ec3766b4d6056293cba6
2021-11-13 15:38:10 -08:00
Dean Lee 13b3a3583d ui: only check sensorEvents when offroad (#22893)
old-commit-hash: 96e6c343e25b49a9b26462c63cb9975f1f9c8359
2021-11-13 12:06:05 -08:00
Dean Lee e0fa9b7909 framereader: remove deprecated ffmpeg functions (#22895)
old-commit-hash: c0b9c1f3afed048f7ae54d9ffe872e0a41b79968
2021-11-13 11:55:04 -08:00
Dean Lee 3df1ea1433 set pandaType in debug scripts (#22897)
old-commit-hash: 6b20118fec281d88742a6c4b669eaca0bd3aac05
2021-11-13 11:54:29 -08:00
Adeeb Shihadeh a1ab2f7c36 CI: skip cruise mismatch check for can replays
old-commit-hash: db92006dc0b964871c65ca9be88ebdb3b67137ec
2021-11-12 18:22:39 -08:00
Igor Biletskyy 841c20b412 New usb protocol for panda (#22752)
* first try

* move dlc_to_len

* panda switch to mailbox branch

* add bitstruct to pipfile

* bump panda and remove bitstruct

* few cleanups and fixes

* sanity check data.size == dlc_to_len

* check problem with test

* Revert "check problem with test"

This reverts commit b4855b7c12188d36d5d510e729344dab2cf21be9.

* clean

* revert Pipfile.lock

* that was an issue???

* fix crash

* ...

* include dlc_to_len from panda

* alph

* define macros for returned and rejected

* cleanup

* bump panda to current master
old-commit-hash: e293ccf016da3a689149f7f00614678ad249c435
2021-11-12 16:47:26 -08:00
Vivek Aithal 27a6dc0c08 locationd : Acceleration Bias in locationd (#22879)
* add accel bias to filter for offline calculation

* bugfix acc bias in live_kf

* add no_accel obsertvation

* increase initial certainty of acc-bias and reduce PN

* increase initial certainty of acc-bias and reduce PN

* increase accel bias PN

* increase obs noise for no_accel observation

* style fixes

* update refs
old-commit-hash: 534bf697eeb3b72643abc713649ce2eef5f75820
2021-11-12 15:55:16 -08:00
Adeeb Shihadeh c142416931 soundd: configure as persistent process (#22878)
* soundd: configure as persistent process

* update c2 test

* fix that

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857ca45a1d814dd9a98ddf5c40c6d08c20
2021-11-12 15:04:57 -08:00
HaraldSchafer d17ec32e0b Give car interface roll and pitch (#22891)
* Give car interface roll and pitch

* fixup

* whitespace
old-commit-hash: a04114f68c118caae5d9b3e19e70e885e87544ff
2021-11-12 12:21:22 -08:00
Adeeb Shihadeh 663a783e5a Nissan: use cleaner Leaf brake pressed signal (#22890)
old-commit-hash: c6ce88e23136dd5d9b2a1372c70f98a51af76aed
2021-11-12 12:18:13 -08:00
Willem Melching 0b8d611b10 ci: run test car models in matrix (#22884)
* Run test car models in matrix

* cache key per job

* actually cache files

* ci

* make files readable

* actually expose variables

* fix quote

* get cache unstuck

* ro cache can use more prefixes

* ci
old-commit-hash: 264c5f4e61952619fb6a5ccdd4774010d5ea8971
2021-11-12 19:50:15 +01:00
Willem Melching bb8d0aa76d Move shutdown/reboot handling to manager (#22882)
* Move shutdown/reboot handling to manager

* more logging

* check enagaged

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 07ff72472636237d7c47addfce4d8bbbda98e9d2
2021-11-12 09:10:34 -08:00
Joost Wooning 9042f18afd cython wrapper for acados (#22784)
* cython wrapper for acados

* fix building

* sconscript cleanup

* no cython numpy

* cleanup

* upgrade build script

* try without slices

* new acados commit

* c3 update acados libs

* c2 libs

* make faster

* undo profiling

* fix build

* somewhat faster

* tryout cost_set_slice

* Revert "tryout cost_set_slice"

This reverts commit d358d93a133270e4edab9e7c07ffb6f577c52bd6.

* cleanup

* undo t_renderer change

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 89d0a52d16872c403c69426ab32e5788a41ee2ec
2021-11-12 17:09:08 +01:00
Willem Melching 1bcba44589 Batch of ECU FW from cars that fuzzy fingerprinted (#22883)
* honda

* hyundai

* toyota

* VW
old-commit-hash: 8a8cee5e544d4df6e5db28198207422d1aa5df6f
2021-11-12 16:31:29 +01:00