Commit Graph

5743 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 17b51d3fd8 sim: fix CAN error and block loggerd
old-commit-hash: 45ced84acf9d0c8fcb5d37a9be82f81b5ff59479
2021-11-13 12:21:24 -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
Harald Schafer 646699a60b needs to be on master
old-commit-hash: bcd4a468147a3dbce9b1e9c4333c0873efcfa9bb
2021-11-12 12:28:51 -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 387d4fc961 ci: scons cache should be pushed by a stage that actually builds
old-commit-hash: 6bbcecb41c3159ee187c327f29df28998063161c
2021-11-12 19:54:04 +01: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 b42be232d6 ci: scons save condition was flipped
old-commit-hash: 579994ced9751df2616aa1a62ab3b8a69e811fca
2021-11-12 19:30:55 +01:00
Willem Melching 71906f45fb ci: fix timestamp in cache key (#22886)
old-commit-hash: d98c73adb49dd81202294ae567d6d3568b09e1fe
2021-11-12 18:13:21 +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
Willem Melching bf03231af5 ci: new name for scons cache to switch to new timestamp
old-commit-hash: 4462d4c31fec24a44b0f3fa9f1b8ff89f53df0fd
2021-11-12 17:25:31 +01:00
Willem Melching d3ca4af4a6 ci: use scons cache (#22885)
* ci: populate scons cache

* release build can use the regular cache

* no volume for docker run

* no need to load the cache then

* upload cache on master
old-commit-hash: b213e225a62050cdc82cce2b4e4ff96330e32ff8
2021-11-12 17:19:25 +01: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
Andre Volmensky 1471f71909 Added fingerprint for Japanese 2017 X-Trail (#22881)
old-commit-hash: 293a383d3aca9c546bb5ffba0fc8de6f63933397
2021-11-12 14:02:13 +01:00
Vivek Aithal d49fbbfbed locationd: Set ECEF_POS valid flag to false if in no-gps mode (#22857)
* set ECEF_POS valid flag to false if in no-gps mode

* modify valid flag for all ecef states before gps

* add calibrated valid when no gps

* update refs

* remove extra whitespace

* add invalid flag to all NED values pre gps

* update refs

* update correct refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c7be73b826b21947197f24c6a60fc5a7098e42af
2021-11-11 21:34:17 -08:00
Adeeb Shihadeh 29f6b5cb98 allow update snoozing (#22876)
* allow update snoozing

* not immediately visible

* dismiss and close

* grey button
old-commit-hash: e528e2e3e2760c52266b126a803a0f7bb872cf3d
2021-11-11 15:32:25 -08:00
Adeeb Shihadeh 731d85c522 alerts: use repeating warning2 sound for steerSaturated (#22874)
old-commit-hash: 308219c5b1850da4e947ea587e131df29024a402
2021-11-11 11:55:34 -08:00
Erich Moraga 3ea786d9c5 Add missing HIGHLANDER_TSS2 engine f/w (#22871)
old-commit-hash: 7f4de651e15fe5d5efc39586fa1fbed2de86061f
2021-11-11 11:17:11 -08:00
Willem Melching e8b1e69ac1 remove broken athena test
old-commit-hash: 0e785021815cc573702ac537248bf53d24a7a18e
2021-11-11 17:32:26 +01:00
Willem Melching d5c6e4a205 nav: resend route on ui freeze (#22869)
old-commit-hash: 03195b79e6a2f73d3de97deb03705a522cd36cc5
2021-11-11 17:05:12 +01:00
kernyan 3800496470 ui: auto scaling on resolution below 1920 x 1080 (#22842)
* ui: resizable on PC by mouse drag

* Revert "ui: resizable on PC by mouse drag"

This reverts commit 56aa8254a2ae3f3b8a4b1f5957a51b2258780e97.

* ui: auto scaling on resolution below 1920 x 1080

special case when on PC and screen resolution is exactly 1920 x 1080,
we don't use fixed-sized window to account for taskbar/menubar area

* Update qt_window.cc

set maximum window size

* keep SCALE

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 983cc14174bb11df095e7621bd61fe42fb1ed0d8
2021-11-11 13:25:12 +01:00
sshane 9c994173ed Longcontrol: do not clip vEgo to minSpeedCan (#22832)
* fix tss2 slow reacceleration in sng

(should) preserve stopping behavior

add comments since it's confusing

fix

* Revert "fix tss2 slow reacceleration in sng"

This reverts commit 42abde0eb945d8bc5ad9b502d1d89b3e3dc16f8a.

* don't max(vEgo)

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: bdaea086f8bd5ea079c4ea98abc5a3d48ca08401
2021-11-11 13:24:38 +01:00
Willem Melching 8797c043bd nav: check valid flag on PositionGeodetic measurement (#22858)
old-commit-hash: 306df7f94f2fb57076a5883339d960b79a37b26a
2021-11-11 10:24:10 +01:00
Greg Hogan 15a58247dd profiling: replace pyflame with py-spy (#22864)
* py-spy

* remove pyflame

* find process by name
old-commit-hash: caad4919ac74af8d4dd3aede20d3ba05e5e06c67
2021-11-10 23:27:10 -08:00
Adeeb Shihadeh a142638899 increase engagement alerts duration
old-commit-hash: 327464fb845dd01533f390ac89d9fd78fbfb02d7
2021-11-10 22:11:14 -08:00
Jafar Al-Gharaibeh 29528bdcb0 Mazda: fix occasional main cruise disable (#22807)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: b18661a3a66979d2c12a8bbde109cb7e50f00e1a
2021-11-10 21:25:41 -08:00
Adeeb Shihadeh d6c42f11f4 controlsd: alert on cruise mismatch for >1s (#22841)
* controlsd: alert on cruise mismatch for >1s

* bump cereal

* update refs

* bump allowed soundd cpu

* bump cereal
old-commit-hash: 035bc0c20fd27490cc353a33f3c373201288a10a
2021-11-10 13:01:42 -08:00
Adeeb Shihadeh 448d5f9e93 alerts: use a single duration for sound, text, and HUD (#22856)
* alerts: use a single duration for sound, text, and HUD

* little cleanup

* update refs
old-commit-hash: c5d6b85c9014386b8d1cb2a17f8767abef3afd57
2021-11-10 11:54:12 -08:00
Adeeb Shihadeh 450471058b controlsd: optimize alert management (#22846)
* controlsd: optimize alert management

* little cleanup

* dataclass is nice

* fix tests

* update refs

* sort by start frame

* update refs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 93ba52c76c20baf36e07c25d28a98bc8e9ea6219
2021-11-10 10:54:18 -08:00
Jason Young a283e88f37 Fix momentary false blind spot alerts when changing lanes (#22819)
* reset LaneChangeDirection after finishing

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2006fff2b66329e2d11300691301bf7a4531b18a
2021-11-10 17:21:36 +01:00
Willem Melching c11eeb6c80 RobustLogReader that can recover corrupted bz2 files (#22835)
* LogReader with bzip2 recovery

* only rlogs

* add comment

* plotjuggler should also use robust logreader
old-commit-hash: 6d6f989b7f4f084ff2a1124aa4de05b90d7fc534
2021-11-10 16:41:00 +01:00
Willem Melching 8108ca7fe8 bump cereal
old-commit-hash: 71e22a6009b46c14acd235c5ebd27ced10747155
2021-11-10 16:23:21 +01:00
Willem Melching 669ed5ff2b Put journal and nvme stats in bootlog (#22849)
* Run commands and put output in bootlog

* log nvme

* fix indent

* cereal without event

* use regular array
old-commit-hash: fa0cbe5d400aefaca17964100d2d16da33785d59
2021-11-10 16:07:22 +01:00
Willem Melching d6c860cb0a cache prime status in param (#22850)
old-commit-hash: 6ace88a0f1165bbbb076da063ae1a8872a6af27c
2021-11-10 16:05:49 +01:00
Willem Melching 8075022d8e modem.Command timeout is in seconds (#22851)
* modem.Command timeout is in seconds

* getting tempts needs longer timeout
old-commit-hash: 14f0df0f228bae8a6a106fe67bcdf95af153929c
2021-11-10 16:05:27 +01:00
eFini ad64b505fe ui.cc: fix Hardware::TICI() check for screen brightness (#22847)
old-commit-hash: 1f106e37257c967ea2d337a112f315631bc52bd7
2021-11-10 10:10:35 +01:00
HaraldSchafer caa01d2f95 ACADOS: partial condensing (#22830)
* partial condense

* new refs

* new ref

* newerest refs
old-commit-hash: 35d6ed10148adbb07c2a4b0c787342b6e101aa05
2021-11-09 19:29:55 -08:00
Dean Lee 2bbceb0b29 EGLImageTexture: pass nullptr to glTexImage2d in last argument (#22844)
old-commit-hash: b0f93652950d796ab41581544ecdb6f330ec3668
2021-11-09 18:49:48 -08:00
Erich Moraga efcd62fe86 Add missing LEXUS_RX_TSS2 EPS & engine f/w (#22840)
old-commit-hash: 09514fb8e5bf94f6ecb97bbc44aa093ba53b5e11
2021-11-09 16:59:19 -08:00
Adeeb Shihadeh da7cd6bbaa soundd: don't loop controls unresponsive sound infinitely (#22839)
* soundd: don't loop controls unresponsive sound infinitely

* update tests

* actually fix
old-commit-hash: 445a5aaca4431962d189cc3e54da2d5cd13d0aac
2021-11-09 16:58:21 -08:00
Jafar Al-Gharaibeh 6c74dc1366 Mazda: disable hud alerts until we find a way to silence audible alerts (#22808)
* Mazda: disable hud alerts for now until we find a way to silence audible warnings

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda: add hud alert for steer lockout

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* show when above min steer speed

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2621e5301da0e10a70a68672db5052ea5037db9b
2021-11-09 15:24:18 -08:00
Chris McCammon 675f67b406 no longer true
old-commit-hash: ed735ba05e213e6551f763a6ba34f233f8ef5e31
2021-11-09 14:55:43 -08:00