Commit Graph

7805 Commits

Author SHA1 Message Date
Adeeb Shihadeh 002683afab boardd: reconnect when comms not healthy (#28075)
* boardd: reconnect when comms not healthy

* update comments

* fix
old-commit-hash: eb5ad17f8ea198d7268fdb0e836f2d2cfe9cae4d
2023-05-02 15:50:17 -07:00
Adeeb Shihadeh 60dc9c90e4 laikad: disable internet in non-replay CI (#28076)
old-commit-hash: 9f87df66cb087477bc70af2e5b4e27e6865e7a6f
2023-05-01 22:02:06 -07:00
Adeeb Shihadeh a25d2f95de test_onroad: enforce CPU usage test for all procs (#28024)
* cleanup

* add missing procs

* ugh not systemd

* floor

* unused

* handle laikad

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 64df41c9afbfb19fd527eb107af5c83691db3202
2023-05-01 21:35:10 -07:00
YassineYousfi fa6e10b739 new model: trained with augmented turn desire pulses (#28063)
* df733db3-fad2-4485-abe9-59a6a47f2233/449 85f20e13-dd4d-49a8-ba33-98e6afc161d9/700

* update ref commit
old-commit-hash: f80c1087fc022207c252e5b4411fc0f514fb7514
2023-05-01 16:03:16 -07:00
Tyler Ferrara 71ee62b8db HKG: add FW version for 2023 Kia Niro EV (#28057)
* Add 2023 Kia Niro EV fingerprint values

* VW MQB: Config tool update for new EPS (#28056)

* Remove eps and cornerRadar from kia niro values.py

* already here

---------

Co-authored-by: Tyler Ferrara <tjferrara@google.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a418cb4c2054005372a3ee64f0099c3357157377
2023-05-01 13:54:37 -07:00
jazzbearz ac68bde098 Kia: add missing Korean EV6 fwdCamera FW version 1.05 (#28040)
* add missing EV6 fwd carmera 1.05 version

* no octal

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 94100fec5a7cdf4622cd90bfe42f393ec4587766
2023-05-01 13:49:16 -07:00
i2020github e45f10740d Toyota: add missing LEXUS_RXH_TSS2 FW (#28060)
* Update values.py

Added one new firmware value to CAR.LEXUS_RXH_TSS2: {
    (Ecu.engine, 0x7e0, None): [

* fix indentation and sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: c11d01cf010bab572a13679d7b44ae2599b4076f
2023-05-01 13:21:46 -07:00
nicakp a793e3534e Volkswagen Golf: add missing FW (#28067)
Update values.py
old-commit-hash: e5cec963ea2e9780ccdfb040c57f4338e2f76546
2023-05-01 13:07:19 -07:00
Harald Schäfer 08be43fe49 New process_replay segment with latest ublox logs (#28038)
* Add new segment

* Update ref_commit
old-commit-hash: 06756f4533fa1a83c0ac4e7456720ba00c726bf8
2023-04-30 18:24:20 -07:00
Kacper Rączy 46e075aa36 regen: whitelist-proc (#27980)
* Add support for whitelist-procs to toggle on/off specific processes during regen

* Use process CONFIGS from process_replay to generate fake processes instead of hard-coded values

* Add rawgpsd to fake_daemons. Remove duplicates from replayable_messages.

* Remove duplicate block of code from setup_env

* Remove rawgpsd comment
old-commit-hash: ba4a1c1b8749f67e264bfb6f2bfd0c3faac284de
2023-04-28 19:36:31 -07:00
Adeeb Shihadeh 65df3f01d1 boardd: more logging (#28051)
old-commit-hash: a93f74a846ff21e4538d00c921bdeabc44f85d0d
2023-04-28 14:47:03 -07:00
Jason Young 71b94b8d91 VW MQB: Config tool update for new EPS (#28056)
old-commit-hash: a3070d0e356d3b7894d7b7690f693d988aa3130a
2023-04-27 18:40:36 -07:00
Jason Young a729ed4216 VW MQB: Add FW for 2022 Volkswagen Polo (#28044)
old-commit-hash: 5940802b5f315fd4725885b835af83dbb3b32595
2023-04-27 13:54:09 -07:00
Jason Wen e3275e9183 HKG: Add FW Versions for 2023 Kia Forte (#28022)
* HKG: Add FW Versions for 2023 Kia Forte

* 2023 uses Harness E

* Update CARS.md

* more FW

* sort

* Only need shortest responses

* fix

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 26b3d901b5ae025795b0b811d0159317e7ff195b
2023-04-27 13:30:03 -07:00
thedude130 811af74b20 Hyundai: add 2023 Elantra Hybrid Limited FW (#28018)
* Added new FW versions for fwdCamera, transmission from 2023 Elantra Hybrid Limited

* rm that

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5a4452e3c636d8e4d8ea9b4456f5821c943342b2
2023-04-27 00:48:35 -07:00
Shane Smiskol 13efebaa7e Ford safety: curvature error limit (#27981)
* clip Ford requested curvature to current +- delta

* fix bug, allow for more limit

* bump panda to branch

* bump panda

* rename

* rename function

* make a wrapper function (ford uses dynamic up/down limits

* make two functions consistent

* use apply_dist_to_meas_limits

* only above 12 ms

* simplify, clean up

* this isn't used

* https://github.com/commaai/openpilot/pull/27446

* bump panda

* one m/s fudge

* fix current curvature

* also fix panda

* fix panda blocking msgs

* bump panda to fix more blocked msgs

* clip

* bump panda

* lower to 9 ms

* clean up carcontroller

* bump panda

* bump

* bumppanda

* bumppanda

* bumppanda

* split line
old-commit-hash: 8e3e9141ee74779a0ec49ca24c2ff938d686bb6f
2023-04-27 00:43:14 -07:00
Cameron Clough c4b94c0523 Ford: update CAN message frequency comments
old-commit-hash: 64e76c4e4253e69d258dad6780d302a8ab3ff68c
2023-04-26 23:07:36 -07:00
Cameron Clough 54afe04e2f athenad: add getGithubUsername method (#28025)
* athenad: add getGithubUsername method

* add test

* order
old-commit-hash: 09d25ad9997ae08c22a84310bec6e7d3821aa408
2023-04-26 20:42:43 -07:00
martinl eb47aa90ee Subaru: FPv2: Add Crosstrek Limited 2023 missing FW values (#28014)
* Subaru: FPv2: Add Crosstrek Limited 2023

* trailing comma

* remove duplicate

* prefer hex

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 2ad352d2993d25d5b656b2e20b696130ad465da1
2023-04-26 20:21:50 -07:00
Bruce Wayne a6b4940c8b Revert "LaikaD: new proc_replay segment and no internet laikad (#28029)"
This reverts commit 1341b59160ffa9db29d589f3fe4dd38691361165.

old-commit-hash: 613bbcd62661eecda609cfa32be2e31a6bb490ca
2023-04-26 19:20:05 -07:00
Harald Schäfer bd9b02915f LaikaD: new proc_replay segment and no internet laikad (#28029)
* no internet in CI

* add new segment

* new ref
old-commit-hash: fbb7dcb19c2d864f951068e1a45b7293a6b4fd92
2023-04-26 16:01:39 -07:00
mitchellgoffpc ded6fe0e5a Update libmap_renderer -> libmaprender in map_renderer.py/get_ffi
old-commit-hash: c711d71caa7eadb0e358daf366edde0559d1a21b
2023-04-26 15:45:12 -07:00
Shane Smiskol 2899cd6e7f Hyundai: add missing Tucson Hybrid 2023 FW (#28036)
* add a tucson hybrid

* update docs
old-commit-hash: 69cd9cacbcf8816a32e38366fbce2e027e2f4875
2023-04-26 15:18:40 -07:00
Shane Smiskol a1cfdde2a0 Lexus RX 2022: add missing engine FW (#28035)
add fp
old-commit-hash: 87b0583775547023bb5e8dd0643c120fc15d7d64
2023-04-26 14:48:49 -07:00
Cameron Clough 6817df8eb1 Ford: update Focus model year
Supported Focus FW is actually (late) 2018 MY. Early production of the
Focus Mk4.

VIN: WF0NXXGCHNJR69712

old-commit-hash: b4d4920fa46e7ff5c06a61c4f1c92849b5be7197
2023-04-26 01:58:12 -07:00
Shane Smiskol d57006f829 cars: various small cleanups (#28031)
* finally fix subarucan formatting

* no need for intermediate variables

* make this check explicit
old-commit-hash: 9689e9c5675835a611a749c4a024551263f5daa3
2023-04-26 01:43:07 -07:00
Cameron Clough 56c85d2c7b Ford: fix minEnableSpeed for docs flag
old-commit-hash: 48ff8fa734e5d0acdf940f9afa54f1b208eeafca
2023-04-26 00:57:26 -07:00
Shane Smiskol 1db7785289 Subaru: fix forwarded signal name (#28030)
actually Cruise_Status_Msg
old-commit-hash: 045db2f2357d59117e14fabe4c2d32735e02fada
2023-04-26 00:19:01 -07:00
Cameron Clough df939a2aa1 ford: correct messages frequencies (#28027)
* ford: correct messages frequencies

* fix STEER_STEP

* fix comment

* cleanup
old-commit-hash: 42f2e392130e99352f4d0c9ac317e2dae13a9fcf
2023-04-26 00:00:08 -07:00
Cameron Clough 3873169c9d ford: cleanup fordcan methods (#28026)
* fordcan: consistent naming

* fordcan cleanup
old-commit-hash: 49220985f434db79de1109625599ec7db0758d69
2023-04-25 18:15:56 -07:00
Adeeb Shihadeh 33af4f9cde scons: set warnings as error (#28004)
* navd: fix scons build warnings

* fix release

* sim fix

* fix docs

* build cabana
old-commit-hash: d5ab1e33c20d534d30a3f0dc63c6691f5b23f2a9
2023-04-22 15:24:45 -07:00
Cameron Clough 1e8bd0411f cloudlog: add git to ctx (#27996)
* cloudlog: add git to ctx

* use normalised origin, change names

* order
old-commit-hash: a33af9cb740b3db967ce926323d3b33486d236a1
2023-04-21 22:35:50 -07:00
Kacper Rączy 650ed84920 regen: ecamera support (#27999)
* Add wideRoadCameraState support in regen

* Fix for ecam FrameReader when use_route_meta

* Pylint fixes
old-commit-hash: eee7dd082fe235be188052c6943cab5d8b4ddbb9
2023-04-22 02:43:04 +00:00
goatstalker 49b1caa329 Add additional fingerprints for Subaru Outback 2022 model (#27995)
* Fingerprint Subaru outback 2022

Add fingerprint for carFw abs, engine, transmission, and fwdCamera.

* fingerprint two more values

* order values properly before submitting a PR

* remove hyundai fw responses

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: a5d0d7b0697aea8aa535d7e99f31b6cc8a1e0942
2023-04-21 19:24:24 -07:00
Harald Schäfer 73e00a05ac Calibration remount detector: soft disable (#27993)
* Calibration remount detector: soft disable

* Update test_calibrationd.py
old-commit-hash: a979a54cf9ce02610cc0999a52a9fbed2f7d4cbb
2023-04-22 00:27:20 +00:00
Shane Smiskol c8cf77b7a7 locationd: log time to first fix (#27990)
* locationd ttff

* log time to first fix

* rename

* max it like laikad

* Update selfdrive/locationd/locationd.cc

* Update ref_commit

* Log when gpsOK first becomes true

* don't forget to update current time!

* stash

* make it deterministic (no proc replay cur time)

* Update ref_commit

* rename to make this clear
old-commit-hash: 03eb02906d9f43799fc93f71ef32331bcf090157
2023-04-21 16:15:13 -07:00
Harald Schäfer 44aa799d91 Calibrationd: fix reset smoothing (#27992)
* Add test for smoothing

* fix smooth cycles

* fix calib reset smoothing
old-commit-hash: ee15d6b1d1b2f90815d0cbf3c0f6b5adfdb0a59f
2023-04-21 06:53:54 +00:00
Chase Bolt 298edb7704 Add missing IMPREZA engine & fwdCamera f/w (#27985)
adding fingerprints for 2019 subaru impreza sport
old-commit-hash: f7e02c28d743dc2d2fe60a93b99b0f49750b4d80
2023-04-20 21:59:49 -07:00
Erich Moraga 8f7086d5c7 Add missing CAMRY_TSS2 engine & fwdCamera f/w (#27983)
`NSBrian#2701  2023 Camry SE ICE`  DongleID/route 1916f6660fdef56b|2023-04-19--21-09-43
old-commit-hash: 34521c222050bf7aa4e47154a486cb18aa8e093c
2023-04-20 21:58:16 -07:00
Shane Smiskol 7efb099534 HKG: update harness for Niro Hybrid 2022 (#27989)
combine
old-commit-hash: 1eea2808b560f41010f4ba7c5c8f7454b185b8d0
2023-04-20 21:26:26 -07:00
Harald Schäfer 1217e0b678 Calibrationd: unit tests (#27988)
* Add calibrationd unit tests

* more tests
old-commit-hash: dab9c55d3871d477ea2179884e2b325003c89fc0
2023-04-21 04:17:11 +00:00
Shane Smiskol 6f113d050b Hyundai: add missing fwdRadar FW for 2022 Ioniq Plug-in Hybrid (#27987)
* Add missing Ioniq FP

* 2022 works!
old-commit-hash: 52ed7868b19628c329661266ff1795b191efeacf
2023-04-20 20:27:31 -07:00
Adeeb Shihadeh 4e75b69f3a boardd: log fan stall count (#27984)
* boardd: log fan stall count

* bump panda

* bump panda

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bda33a942f176f329c9a86e405b28593dfde05d6
2023-04-20 15:55:35 -07:00
MoreTorque f5b4a0df46 Delay Shutdown: delay shutdown for 5 minutes after ignition turned off. (#27860)
Added delay shutdown. Tests updated

Co-authored-by: moretore <wrha@CH-ADS.localdomain>
old-commit-hash: 150a7d52da833876781aa8ec4730ec1d6021b0f2
2023-04-20 14:57:09 -07:00
Shane Smiskol aec9b99854 Honda: Ridgeline 2023 is supported (#27979)
* Update values.py

* update docs
old-commit-hash: b9149795f10232747a8ab5b5ca37625d5a0d4137
2023-04-19 20:40:30 -07:00
Harald Schäfer fc6a779d12 Laikad: fix bad init elevation incorrect (#27974)
* Laikad: fix bad init elevation incorrect

* update ref
old-commit-hash: 922b09de96201e4c0d1cdf6027dc07b1d76902d0
2023-04-19 14:04:24 -07:00
Adeeb Shihadeh cdbf69f724 UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets

* rm that
old-commit-hash: 38b99b5461f98b24d9a73c17aa5b6833f0c0e419
2023-04-19 11:10:50 -07:00
Angus Gratton f1e674f30c cabana/cameraview: Scale the glViewPort by devicePixelRatio() (#27941)
* cameraview: Scale the glViewPort by devicePixelRatio()

This fixes an issue seen in Cabana on a "hidpi" system with Wayland where
devicePixelRatio() != 1 and the video doesn't take up the full widget area.

On the recommended Ubuntu 20.04 install I wasn't able to reproduce, because
devicePixelRatio() was always equal to 1 even with scaling to 200% or 300%. It
might be different if "Fractional Scaling" is enabled in GNOME (I couldn't make
that option work in mv WM.)

Was going to enable just for Linux, but it appears to also be recommended for
Retina MacOS:
https://doc.qt.io/qt-5/scalability.html#high-dpi-scaling-on-macos-and-ios

... so have worked from the assumption that glViewport() always takes dimensions
in device pixels, never the "device independent pixels" of Qt.

* Update selfdrive/ui/qt/widgets/cameraview.cc

* Update selfdrive/ui/qt/widgets/cameraview.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fbcd0821c92af58137e5b34f0cfe37ffd1c08642
2023-04-19 11:06:54 -07:00
Willem Melching d4cea1f024 cabana: enable Hi-DPI support on MacOS (#27965)
old-commit-hash: 475903e24486be0a5be2bb935db221832c9cd239
2023-04-19 10:48:36 -07:00
Shane Smiskol 6d69fc17da Ford: simple rate limits (#27446)
* simple limits

* add script

* useless

* remove script

* cleanup comments

* bump curvature limits

* divide by 20

* add comment

* add panda safety

* add back notebook with multi route support

* remove

* bump up low speed up

* comment
old-commit-hash: 3c55f49dd8ac74db9b64adc4c24536aa46dc8128
2023-04-18 23:27:49 -07:00