Commit Graph

4221 Commits

Author SHA1 Message Date
Dean Lee ec71ceead3 sidebar: dont update states when hidden (#22948)
old-commit-hash: ddc35826f7
2021-11-17 14:12:57 +01:00
Willem Melching f48cbfcd8d increase c3 ui cpu usage after async pbo copy
old-commit-hash: 7a3754d50b
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: dc8e23c94b
2021-11-17 13:25:40 +01:00
Willem Melching a25637897b nav: render at 20fps instead of 10fps
old-commit-hash: 5648b22833
2021-11-17 12:26:17 +01:00
Dean Lee fb0a97b972 ui: replace nvg transfrom with QTransform (#21968)
old-commit-hash: c35ae99927
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: 3d0246eed5
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: 06844821c5
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: ca88a8769b
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: 0dcb089254
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: 20d3cf1fcb
2021-11-17 11:17:59 +01:00
Adeeb Shihadeh 1ffe047666 improve crc camera error (#22943)
old-commit-hash: 5296ca8d73
2021-11-16 22:57:22 -08:00
Adeeb Shihadeh 85b0e69efd more alert checks
old-commit-hash: 8d917b6702
2021-11-16 22:56:29 -08:00
Adeeb Shihadeh e08be1e178 pedal: only send command while actuators active (#22942)
old-commit-hash: 70c1f19304
2021-11-16 22:38:23 -08:00
Jafar Al-Gharaibeh e8717f23de Mazda: add three new FW FP (#22939)
old-commit-hash: 2492a11661
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: b3b45c8d29
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: d8a5c415cd
2021-11-16 13:31:10 -08:00
Adeeb Shihadeh 08bfdb151b add offroad alerts for car unrecognized
old-commit-hash: fb1e8ce086
2021-11-16 13:30:33 -08:00
Adeeb Shihadeh 50f00cf617 UI: fix wrong background on controls unresponsive alert
old-commit-hash: 0e35db7c05
2021-11-16 13:17:32 -08:00
Adeeb Shihadeh d1eacc4619 alerts: make soft disables an orange alert (#22925)
old-commit-hash: 833399e941
2021-11-16 13:11:32 -08:00
Dean Lee 23dca7ffae boardd/usb_connect: remove unused variable params (#22931)
old-commit-hash: 10bca095c2
2021-11-16 13:06:58 -08:00
Dean Lee dce66df5ef ui: update params on the show event (#22927)
old-commit-hash: 9062085043
2021-11-16 12:13:16 -08:00
Willem Melching 6493034aea nav: fix receiving navRoute while map is loading (#22929)
old-commit-hash: 9f423a93cd
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: c9218a55f3
2021-11-15 22:11:17 -08:00
Adeeb Shihadeh 5247da772d update refs after alert disable
old-commit-hash: f262725705
2021-11-15 21:45:18 -08:00
Adeeb Shihadeh 9f84f9ad97 put cruiseMismatch event in logging only mode
old-commit-hash: 3302239013
2021-11-15 21:16:54 -08:00
Adeeb Shihadeh f82e1d42b9 UI: fix alert flicker when controlsState not updated (#22921)
old-commit-hash: 2f90f04f8d
2021-11-15 16:27:19 -08:00
Adeeb Shihadeh ee15159a3b alert cleanup (#22919)
old-commit-hash: 5265c36de7
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: 04e1a25881
2021-11-15 16:10:39 -08:00
Adeeb Shihadeh b6974fd2b3 better onroad test output (#22873)
old-commit-hash: ec66573a8b
2021-11-15 16:03:30 -08:00
Robbe Derks bad079992c reset on ignition edge (#22915)
old-commit-hash: 1d03f2a97b
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: 8e12b9ca76
2021-11-15 14:10:08 +01:00
Erich Moraga ba50fb04dc Firmware replace \000 with \x00 (#22911)
old-commit-hash: e42bf919b2
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: cdc53efb98
2021-11-14 21:49:36 -08:00
Erich Moraga dd19aa7326 Add missing COROLLAH_TSS2 engine f/w (#22909)
old-commit-hash: abb292d666
2021-11-14 21:31:10 -08:00
Adeeb Shihadeh e14ef7f9fd add multipanda to loopback tests (#22900)
old-commit-hash: e8598f7455
2021-11-13 17:39:51 -08:00
Adeeb Shihadeh 1896097480 boardd: apply bus offset in can recv
old-commit-hash: 5ffb3e4347
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: ea761cbbd5
2021-11-13 15:38:10 -08:00
Dean Lee 13b3a3583d ui: only check sensorEvents when offroad (#22893)
old-commit-hash: 96e6c343e2
2021-11-13 12:06:05 -08:00
Dean Lee e0fa9b7909 framereader: remove deprecated ffmpeg functions (#22895)
old-commit-hash: c0b9c1f3af
2021-11-13 11:55:04 -08:00
Dean Lee 3df1ea1433 set pandaType in debug scripts (#22897)
old-commit-hash: 6b20118fec
2021-11-13 11:54:29 -08:00
Adeeb Shihadeh a1ab2f7c36 CI: skip cruise mismatch check for can replays
old-commit-hash: db92006dc0
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: e293ccf016
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: 534bf697ee
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: ed8e6f857c
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: a04114f68c
2021-11-12 12:21:22 -08:00
Adeeb Shihadeh 663a783e5a Nissan: use cleaner Leaf brake pressed signal (#22890)
old-commit-hash: c6ce88e231
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: 264c5f4e61
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: 07ff724726
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: 89d0a52d16
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: 8a8cee5e54
2021-11-12 16:31:29 +01:00