Commit Graph

5703 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 595af5ca4a update soundd cpu usage
old-commit-hash: 03ab8af12fa2f5ba6205d777a555c7f76c71105f
2021-11-09 14:46:20 -08:00
Vivek Aithal 6bc1c7b502 locationd: Make live_kf robust to no GPS (#22774)
* add no gps observations

* use correct ecef_location, orientation vals and stds for nogps states

* remove earth radius obs

* move initial loc to the ocean

* remove unnecessary changes

* update refs
old-commit-hash: 5c810a45b0e7614bfbd7a1b6898547df499964e0
2021-11-09 14:45:47 -08:00
Dean Lee c1a3683ccb soundd: misc cleanup + tests (#22796)
* pass AudibleAlert to setAlert

* apply reviews

* remove trailing underscore

* add current_alert_type

* common function get_alert

* same freq as ui

* small cleanup

* setvolumne on change

* static Alert::get

* test_sounds

* remove old test files

* loop twice

* assert loopsRemaining

* assert stop

* init to min_volumne

* Revert "remove old test files"

This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.

* move to ui/soundd

* move test to tests/test_sound.cc

* remove old tests

* cleanup

* lower volume

* Revert "remove old tests"

This reverts commit e6bb12abfa3d5cd0aa8986d2b8da0b1edc7ea31b.

* return Alert

* cleanup

* remove #include <optional>

* cleanup .gitignore

* revert to std::optional

* Revert "revert to std::optional"

This reverts commit a66291c51f3a846652837cc4a43d5d60dd81896b.

* cleanup

* remove volume check

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 797bb1acb0ed548bda23b9f76458a102bf7ccf5a
2021-11-09 14:18:29 -08:00
Dean Lee 1e67fc25f1 replay: add qcam and YUV flags (#22788)
* common flags

* cleanup

* remove double semicolon

* camera

* apply reviews
old-commit-hash: fb8ba34f3103513705de2cb6397796b38a0c0689
2021-11-09 14:08:24 -08:00
Dean Lee c248478aed UI: do vipc recv in thread (#22354)
* move vipc to thread

* use invokeMethod

* cleanup

* latest_frame = nullptr

* space

* safe quit

* running_-> exit_

* recv timeout 1000

* cleanup

* run in loop

* requestInterruption

* block queue on vipcConnected for thread safety

* cleanup

* remove unused signal updateFrame

* make signals public

* dont emit signal in update

* apply reviews

* cleanup

* little more cleanup

* fix

* use glTexSubImage2D

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e5fed63df10b5416b29dbb0dcb20e1f05e2d793
2021-11-09 13:27:12 -08:00
smithula 82236f3a78 Hyundai: add Sonata Hybrid FW (#22816)
old-commit-hash: 96a4a2886cc8df297fd3b5d4e25e73024c311d30
2021-11-09 12:11:44 -08:00
Robbe Derks 149267c031 Tesla: steerWarning on EPS error (#22834)
old-commit-hash: fee8ec74f18bc5de4750b81732316add17482bb3
2021-11-09 13:36:23 +01:00
mitchellgoffpc f30f550f84 Added bigmodel_frame_from_calib_frame to transformations/model
old-commit-hash: 53e095343de56ff838f36ed9feda9f31ff6358b6
2021-11-08 17:10:57 -08:00
Dean Lee 48ed0e129e loggerd/RawLogger: fix memory leak in encode_frame (#22826)
old-commit-hash: 0bd9aed82c2dfbf2c3cfe5aba7cd6b980a5fc97e
2021-11-08 15:27:51 -08:00
Adeeb Shihadeh 4e14bb0b38 bump eon roadCameraState timing threshold
old-commit-hash: ec935ef1c363a764c381a08cc39b7743e171acbe
2021-11-08 15:20:04 -08:00
ZwX1616 0aa7404922 Add DM model readme (#22801)
* add dm model

* link to parsing
old-commit-hash: eaaccaa3d82f2cff0a4c78014f798edc476886a5
2021-11-08 15:15:55 -08:00
Jafar Al-Gharaibeh 24d1105a2a Mazda: fix occasional steer fault at initial lkas enable (#22806)
* Mazda: fix occasional steer fault at initial lkas enable

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

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c38e9c49e23d6e1030d9c302ae2cc404e5cc6b7
2021-11-08 14:40:26 -08:00
Adeeb Shihadeh c2a413a2f4 Remove remaining Toyota + Honda CAN fingerprints (#22827)
old-commit-hash: 8933859e35c4fbeae0cb9d35eb6ca002e792c616
2021-11-08 14:37:25 -08:00
sshane 8472503305 Toyota: handle brake hold (#22810)
* disallow engagement if brake hold active

* we can check once

* move to common events

revert

* fix

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a0e5eccb70ac9209307d0994252f5bf089ae48ae
2021-11-08 14:26:30 -08:00
Jason Young d422f39d19 Fix pygame and knack dependencies (#22818)
* fix pygame and knack

* lock again

* latest pygame, headless opencv

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 739bd370031c97842a04c66796e31d7d5d33adb8
2021-11-08 19:21:24 +01:00
Willem Melching 86e046b202 add all names to releases.md and fix typo
old-commit-hash: 25c8baae41ddeb6070597e3f27a48595ac8319ca
2021-11-08 11:04:09 +01:00
Willem Melching d098a82ad4 Add Nissan FP 2.0 to release notes
old-commit-hash: 40d89afa8a1cabdde9ce5a6aa8d3f313a3efa953
2021-11-08 10:54:05 +01:00
robin-reckmann 8c9ab4d333 Fingerprinting v2 support for Nissan vehicles (#22655)
* Add Nissan FPv2

* Update Nissan version response

* Add second Nissan FPv2 query

* Add multiple offsets for Nissan

* Nissan offset fix

* Add Nissan diagnostic request

* Use 21 83 for Nissan version request

* Add partial 2018 Leaf FPv2

* Update 2018 Leaf FPv2

* Nissan FPv2: more RX offsets, add no diagostic request scan for 0x20

* Add FPv2 imports to Nissan values

* Change LEAF to LEAF_IC

It is an instrument cluster leaf. With this minor change it works :).

* fixed ecu addr for nissan eps

* Remove FW not used for fpv2

* Remove unused offsets

* add fw versions for 2018 Nissan Leaf JP

* add standard ecu fw query

* add esp fw

* add nissan xtrail

* Add missing ESP FW for 2018 Nissan Leaf IC

* Add fwdCamera FW for Xtrail 2017

* add missing comma

* Add 0x8 default offset

needed e.g. for xtrail engine ecu

* Apply suggestions from code review

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Fix variable naming

* remove unnecessary part of standard fw query

* add fw versions for CAN-GW ECU

* transmission eco does not reliable answer -> remove

* add Altima FWs (part 1)

* add Altima EPS FW

* Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup

* Revert "Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup"

This reverts commit 808d6f1562e9a6cb57ea365d184b74d51f6da017.

* cleanup

Co-authored-by: Martin Lillepuu <martin@mlp.ee>
Co-authored-by: Julian Pieles <julian@pieles.digital>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e2288371f2bd99cd31d141729a77d676ba28b4df
2021-11-08 10:51:59 +01:00
Dean Lee 6e027a8aa6 util.h: add unit conversion constants (#22813)
* Add unit conversion constants.

* move to common/util.h
old-commit-hash: e29cc1c2ee7b63c71a3a46d900a8f755bd0048a0
2021-11-08 10:19:34 +01:00
Adeeb Shihadeh f30ffe16a2 bump cereal
old-commit-hash: adeeebf00ed3283bedb3a7fea28006f37a480d20
2021-11-07 16:38:50 -08:00
Adeeb Shihadeh 629ea41f33 bump opendbc
old-commit-hash: cbe76c80a6bca283fe3655bd74ea509d00fa6b37
2021-11-07 16:28:13 -08:00
Jason Young b6294132af VW MQB: Volkswagen Polo Mk6 (#22811)
* VW MQB: Volkswagen Polo Mk6

* add to RELEASES
old-commit-hash: 053404c8788b1fc134446660d3202aba31385674
2021-11-07 11:10:52 -08:00
Dean Lee 4411f90df0 driving.cc: const reference the return value of get_best_prediction (#22797)
old-commit-hash: fe22a3563c300e8c10b70a67dfa7c1a0393d0421
2021-11-05 15:07:44 -07:00
Erich Moraga 39df7ab9b8 docs/cars: add 2022 Prius Prime (#22805)
old-commit-hash: 0af1af76d40ab3339da8d09e88c8ca79b2b5d2a1
2021-11-05 14:54:42 -07:00
Igor Biletskyy 26a994f2be Add test_boardd_loopback to Tici tests (#22804)
old-commit-hash: 6dec145e7f8081adffb9b3fe7a9a24360b953e47
2021-11-05 14:31:13 -07:00
Adeeb Shihadeh b2bd93fba0 remove toyota can fingerprinting exceptions (#22803)
* remove toyota can fingerprinting exceptions

* cleanup
old-commit-hash: d8f5e8b7a4b6c9132ce2515a9106aeb971ee2579
2021-11-05 13:49:30 -07:00
Robbe Derks a854ed8ea3 extend fingerprint for multipanda ports (#22798)
old-commit-hash: 6bef60ddf56d49a2d6afdf1dfcb85cc3da8211a6
2021-11-05 13:17:27 +01:00
Willem Melching 9539fee341 soundd: Set volume on receiving carState (#22795)
old-commit-hash: 6d9b414c200f21d40134422b35b2b94f7ffdfe3f
2021-11-04 21:30:46 -07:00
Adeeb Shihadeh 605c84634a tools/lib/route: expose raw file paths
old-commit-hash: ee33f8a8cd31dce6b6cfcab0dcd0c3c2d9f01595
2021-11-04 20:32:02 -07:00
cydia2020 02f6ca414a Toyota: Increment by 5 km/h (5 mph) on long press (#22678)
* Allow 5km/h speed increments on Toyota

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d66f0fcc8773efd746fbe68a6f75614f731206fc
2021-11-04 14:53:32 -07:00
Willem Melching 9d65df9048 util.h has conflicting ioctl def on comma two
old-commit-hash: c2b95ca6a1c8df3ab3817e71f1d8f53e8ef8793a
2021-11-04 16:46:38 +01:00
Willem Melching c619edc47a add common/markdown.py to release files
old-commit-hash: 09ad6707ef7655d30dd8898847d788385d52ef2d
2021-11-04 16:32:23 +01:00
Willem Melching 541d2c2848 update_requirements.sh: install both Pipfiles
old-commit-hash: dec2cb6a654df298964d2d04d43d42bf3f554d65
2021-11-04 16:31:49 +01:00
Dean Lee 6677f91e9d thneed/serialize: use funtions from clutil(#22760)
old-commit-hash: 177c3b89b62c5538fb36171906f091cfa4b9f975
2021-11-04 16:19:25 +01:00
Dean Lee 7ff2217c8b util: remove function to_hex (#22792)
old-commit-hash: ff33ca341382be19a4be9bd71b97af1b01b553c7
2021-11-04 16:18:01 +01:00
Mayfield 72c892e014 ui: render markdown in release notes (#22754)
* convert release notes from markdown to html

* fall back to previous behavior if utf8 decoding or markdown parsing throws

* make simple markdown parser to avoid needing a library

* add unit test

* move markdown parser to common. add unit test

use `markdown-it-py` instead of `markdown` dependency for test comparison since it's already in Pipfile.lock

* test (almost) all release notes and add some extra html encoding

* update lock

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1aebe6ff6e7097cef973f73a990c270d1f6d682b
2021-11-04 16:12:39 +01:00
Willem Melching ef6ae61c5e make soundd exit cleanly (#22794)
old-commit-hash: 1289ebe9bdfdb698c7ab61331ec9169529ae31e4
2021-11-04 15:50:48 +01:00
Willem Melching 9e64a5a70f docker: update pip/pipenv versiosn (#22793)
old-commit-hash: 3f8991a261a021df19d0d9bbd6568bcb13f2ea71
2021-11-04 15:40:36 +01:00
justinmccaffrey bba8594f74 Add 2021 Honda Passport (#22781)
* update values.py

* add passport to carstate, interface, values

* add a test route with mostly green

* switch to newer route

* update readme

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 28e16c7b8480fb540810216fd09ff711db09ed90
2021-11-04 15:28:04 +01:00
Willem Melching 6712c4e520 soundd doesnt exit cleanly
old-commit-hash: 802efe0e22501f9334f2017491c65fef163fede3
2021-11-04 15:05:16 +01:00