Commit Graph

7034 Commits

Author SHA1 Message Date
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
Saber422
0206d6e967 VW MQB: add missing 2022 KODIAQ FW (#27962)
* VW MQB: add missing 2022 KODIAQ FW

route:8a5da7c1d1783730|2023-04-18--11-40-31--76

* sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 500c049590ba9dfe4153e7b06486973fcdae25a9
2023-04-18 22:38:37 -07:00
Shane Smiskol
b76bd9b4b5 FPv2: only query brands with matching present ECUs (#27697)
* speed up fingerprinting for CAN fp cars

* add comment to describe this behavior

* more explicit, no defaultdict

* do this later

* fix

* a little more clear I think
old-commit-hash: 9b1095a27e6d9645ef64fcea3a6375117bccfe6e
2023-04-18 21:34:49 -07:00
Dean Lee
d7c7f67a18 boardd: fix scons warning "Two different environments were specified" (#27949)
old-commit-hash: 0534016b7b4263b35d021287e9e971e6a2aa7d71
2023-04-18 18:04:27 -07:00
Shane Smiskol
9bbeb67482 ecu addrs: add warning when skipping remote frame (#27959)
add warning
old-commit-hash: f94528d65dea476eb0bf286110eb6dbb2293ddb5
2023-04-18 15:19:23 -07:00
Shane Smiskol
72453b6040 ecu addrs: check msg length (#27956)
check length
old-commit-hash: 3924c14b74331368fa0193514da5bcf5eb2b2837
2023-04-18 13:15:54 -07:00
Shane Smiskol
d916e0ed2d Car docs: pass docs flag to car interfaces (#27311)
* docs

* docs

* docs

* docs

* use docs in gm
old-commit-hash: 5aebdb0ad0e7e527f5deb553ffd193abea02a357
2023-04-18 12:22:22 -07:00
Jafar Al-Gharaibeh
91212c2a86 Mazda: CX-9 2022, Mazda6 2018 FW (#27918)
* Mazda: CX-9 2022 FW

dongle-id: 7200177292912f30

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

* Add mazda 6 2018 FW FP

dongle id: 0383a108994bd18b

---------

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Samuel <samuel95_54@hotmail.com>
old-commit-hash: 97aeb83f953a2850a0e5da0d3fbd30f771c36169
2023-04-17 23:11:38 -07:00
martinl
7bdb84c1a3 Subaru: signals cleanup (#27946)
* Update counter in carstate checks

* Rename es_lkas to es_lkas_state to match signal

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 13c75dc138477def107f7da8b0f6430b65d73399
2023-04-17 22:54:27 -07:00
Shane Smiskol
9131202975 Subaru: always show LKAS active (#27945)
subaru always shows lines if LKAS is enabled (not active), more clear what we're sending
old-commit-hash: 8f1e67f6259c436aff500f6bdff9067d4ca79eb1
2023-04-17 22:31:59 -07:00
Justin Newberry
da2f2114d6 Subaru: infotainment status intercept and rewrite (#27829)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* remove compiler flag stuff

* force error for testing

* bump panda and fix mistake

* wip

* bump panda

* wip

* wip

* forgot checksum and stuff

* add to signals

* rename

* test

* test

* bump panda and opendbc

* bump cereal

* add blank filler

* test

* add steer required to infotainment

* fix missing bit

* fix missing bit

* cleanup for PR

* cleanup for PR

* bump submodules

* wip

* wip

* i wonder what 1 is

* seemed to also be obstacle detected?

* bumppanda

* only if global

* only global gen 2

* fix order

* detect and send

* detect in rest of places

* update refs

* bumpopendbc

* copy whole message (camera sometimes sets these signals)

* bumppanda

* update refs!

* bumppanda

* let's not change this

* same as all the other functions

* Revert "same as all the other functions"

This reverts commit e86dbb695ef84a18f3123720fed37a6b81391cc4.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d59bfa551955c481fd3762170d483a44251122f7
2023-04-17 19:05:16 -07:00
Willem Melching
484eed0acf cabana: support direct streaming from panda over USB (#27936)
* refactor livestream into devicestream

* add panda stream

* unused

* whitespace

* move logging to base class

* add cmdline args

* Update selfdrive/boardd/boardd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f553162ff41dd50ed6921b90ac512efa3d2
2023-04-17 15:37:26 -07:00
Cameron Clough
f138eb8447 Ford: don't play stock alert chimes (#27923)
old-commit-hash: 6bed16441ceb7f278cfd89b79016ea4ea513db23
2023-04-16 02:39:09 -07:00
Jason Young
452a78868b VW MQB: Cleanup HCA control message (#27757)
* VW MQB: Cleanup HCA control message

* bump panda

* bump submodules

* bump panda/opendbc to comma master

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3e960b0b32a7134c3bc86b14e6f4493a38f2ec61
2023-04-15 21:02:33 -07:00
Shane Smiskol
05e7547aa5 FPv2: add worst case timing test (#27917)
* can FP time

* add

* move the ref up

* assert function

* all brands

* Update selfdrive/car/tests/test_fw_fingerprint.py

* can this can vary a bit more

* or can it
old-commit-hash: 158c951d6fb0b2896800ec49dfa20d917567cccb
2023-04-14 23:41:12 -07:00
Adeeb Shihadeh
59abbc069e set_time: remove extra print
old-commit-hash: af90b08acdf446bcc08f42aef241d744c077cea7
2023-04-14 21:16:59 -07:00
Adeeb Shihadeh
29eb4d3a35 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

* more checks
old-commit-hash: f832a71038f5d50f991d36d7860bfc0ef912794e
2023-04-14 14:18:13 -07:00
Nikolai Gorchilov
b5852330bf 2022 Arteon R Fingerprint (#27913)
New firmware version for the engine, transmission, srs & eps. fwdRadar fingerprint already available.
old-commit-hash: 49ccc0869c07a6596b28b2492cb2a63dab44fb22
2023-04-14 12:37:23 -07:00
Saber422
85a0072623 VW MQB: add missing 2020 TRANSPORTER T6.1 FW (#27914)
route:0bbe367c98fa1538|2023-04-14--14-58-41--0
old-commit-hash: 3ffc2b6fb0299889c89ebe546d398c2fa33c1009
2023-04-14 12:35:10 -07:00
Vít Listík
43b8937b79 Updated FW for Skoda Superb III 2016 (#27888)
old-commit-hash: 17631948dae089f3d284b5ec99ec0dcd8eddfeed
2023-04-14 12:28:11 -07:00
Adeeb Shihadeh
0e70553604 Hyundai: factor out bus numbers (#27903)
* mv bus

* mv that

* if len

* fix tests

* use that

* same name
old-commit-hash: 08e2149b0f0e62db8a30d4355d458b530167a7c0
2023-04-14 11:23:22 -07:00
AlexandreSato
4a7535fd17 Honda: HR-V 2023 port (#27731)
* initial commit

* HR-V is diff enought to split from Civic22

* Add US HR-V 2023

* update CARS.md

* Update RELEASES.md

* Use a alternative brake signal

* US HR-V have a weird noise in the BrakeSwitch

* Shane tunning

* this is added automatically

* sorry jyoung

* civic22_stop_faster

limit stopAccel to current safety model

* relax calib temporarily (12 deg)

relax calib temporarily (10 deg)

* compute accel (car overshoots requests at low speed)

* revert brake pressed caused controls mismatches

* fix crash

* cause a cruise fault

* Revert "cause a cruise fault"

This reverts commit 09a6469ac6fc38ebd38dd1c5d464712a15d0fde1.

* no brake error

* use alt brake

* Update selfdrive/car/honda/carcontroller.py

* change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags

* Revert "change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags"

This reverts commit e0f8123b33db3218f27c4b64a7b2a0b1f740860f.

* remove FPv2 from brazilian HR-V

* bump panda

* fix a bug

* revert calib threshold

* new test route

* separate pr

* update

* update that

* thought i removed this

* revert steer ratio

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93c18105225ee03aa30d0a213ad5c4e4b1de624b
2023-04-14 03:12:10 -07:00