Commit Graph

6753 Commits

Author SHA1 Message Date
Bruce Wayne
613bbcd626 Revert "LaikaD: new proc_replay segment and no internet laikad (#28029)"
This reverts commit fbb7dcb19c.
2023-04-26 19:20:05 -07:00
Harald Schäfer
fbb7dcb19c LaikaD: new proc_replay segment and no internet laikad (#28029)
* no internet in CI

* add new segment

* new ref
2023-04-26 16:01:39 -07:00
mitchellgoffpc
c711d71caa Update libmap_renderer -> libmaprender in map_renderer.py/get_ffi 2023-04-26 15:45:12 -07:00
Shane Smiskol
69cd9cacbc Hyundai: add missing Tucson Hybrid 2023 FW (#28036)
* add a tucson hybrid

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

VIN: WF0NXXGCHNJR69712
2023-04-26 01:58:12 -07:00
Shane Smiskol
9689e9c567 cars: various small cleanups (#28031)
* finally fix subarucan formatting

* no need for intermediate variables

* make this check explicit
2023-04-26 01:43:07 -07:00
Cameron Clough
48ff8fa734 Ford: fix minEnableSpeed for docs flag 2023-04-26 00:57:26 -07:00
Shane Smiskol
045db2f235 Subaru: fix forwarded signal name (#28030)
actually Cruise_Status_Msg
2023-04-26 00:19:01 -07:00
Cameron Clough
42f2e39213 ford: correct messages frequencies (#28027)
* ford: correct messages frequencies

* fix STEER_STEP

* fix comment

* cleanup
2023-04-26 00:00:08 -07:00
Cameron Clough
49220985f4 ford: cleanup fordcan methods (#28026)
* fordcan: consistent naming

* fordcan cleanup
2023-04-25 18:15:56 -07:00
Adeeb Shihadeh
d5ab1e33c2 scons: set warnings as error (#28004)
* navd: fix scons build warnings

* fix release

* sim fix

* fix docs

* build cabana
2023-04-22 15:24:45 -07:00
Cameron Clough
a33af9cb74 cloudlog: add git to ctx (#27996)
* cloudlog: add git to ctx

* use normalised origin, change names

* order
2023-04-21 22:35:50 -07:00
Kacper Rączy
eee7dd082f regen: ecamera support (#27999)
* Add wideRoadCameraState support in regen

* Fix for ecam FrameReader when use_route_meta

* Pylint fixes
2023-04-22 02:43:04 +00:00
goatstalker
a5d0d7b069 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>
2023-04-21 19:24:24 -07:00
Harald Schäfer
a979a54cf9 Calibration remount detector: soft disable (#27993)
* Calibration remount detector: soft disable

* Update test_calibrationd.py
2023-04-22 00:27:20 +00:00
Shane Smiskol
03eb02906d 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
2023-04-21 16:15:13 -07:00
Harald Schäfer
ee15d6b1d1 Calibrationd: fix reset smoothing (#27992)
* Add test for smoothing

* fix smooth cycles

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

* more tests
2023-04-21 04:17:11 +00:00
Shane Smiskol
52ed7868b1 Hyundai: add missing fwdRadar FW for 2022 Ioniq Plug-in Hybrid (#27987)
* Add missing Ioniq FP

* 2022 works!
2023-04-20 20:27:31 -07:00
Adeeb Shihadeh
bda33a942f boardd: log fan stall count (#27984)
* boardd: log fan stall count

* bump panda

* bump panda

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-20 15:55:35 -07:00
MoreTorque
150a7d52da 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>
2023-04-20 14:57:09 -07:00
Shane Smiskol
b9149795f1 Honda: Ridgeline 2023 is supported (#27979)
* Update values.py

* update docs
2023-04-19 20:40:30 -07:00
Harald Schäfer
922b09de96 Laikad: fix bad init elevation incorrect (#27974)
* Laikad: fix bad init elevation incorrect

* update ref
2023-04-19 14:04:24 -07:00
Adeeb Shihadeh
38b99b5461 UI: cleanup old training guide assets (#27973)
* UI: cleanup old training guide assets

* rm that
2023-04-19 11:10:50 -07:00
Angus Gratton
fbcd0821c9 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>
2023-04-19 11:06:54 -07:00
Willem Melching
475903e244 cabana: enable Hi-DPI support on MacOS (#27965) 2023-04-19 10:48:36 -07:00
Shane Smiskol
3c55f49dd8 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
2023-04-18 23:27:49 -07:00
Saber422
500c049590 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>
2023-04-18 22:38:37 -07:00
Shane Smiskol
9b1095a27e 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
2023-04-18 21:34:49 -07:00
Dean Lee
0534016b7b boardd: fix scons warning "Two different environments were specified" (#27949) 2023-04-18 18:04:27 -07:00
Shane Smiskol
f94528d65d ecu addrs: add warning when skipping remote frame (#27959)
add warning
2023-04-18 15:19:23 -07:00
Shane Smiskol
3924c14b74 ecu addrs: check msg length (#27956)
check length
2023-04-18 13:15:54 -07:00
Shane Smiskol
5aebdb0ad0 Car docs: pass docs flag to car interfaces (#27311)
* docs

* docs

* docs

* docs

* use docs in gm
2023-04-18 12:22:22 -07:00
Jafar Al-Gharaibeh
97aeb83f95 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>
2023-04-17 23:11:38 -07:00
martinl
13c75dc138 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>
2023-04-17 22:54:27 -07:00
Shane Smiskol
8f1e67f625 Subaru: always show LKAS active (#27945)
subaru always shows lines if LKAS is enabled (not active), more clear what we're sending
2023-04-17 22:31:59 -07:00
Justin Newberry
d59bfa5519 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>
2023-04-17 19:05:16 -07:00
Willem Melching
2a981f5531 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>
2023-04-17 15:37:26 -07:00
Cameron Clough
6bed16441c Ford: don't play stock alert chimes (#27923) 2023-04-16 02:39:09 -07:00
Jason Young
3e960b0b32 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>
2023-04-15 21:02:33 -07:00
Shane Smiskol
158c951d6f 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
2023-04-14 23:41:12 -07:00
Adeeb Shihadeh
af90b08acd set_time: remove extra print 2023-04-14 21:16:59 -07:00
Adeeb Shihadeh
f832a71038 pandad: wait for internal panda to come up (#27705)
* pandad: wait for internal panda to come up

* test

* more checks
2023-04-14 14:18:13 -07:00
Nikolai Gorchilov
49ccc0869c 2022 Arteon R Fingerprint (#27913)
New firmware version for the engine, transmission, srs & eps. fwdRadar fingerprint already available.
2023-04-14 12:37:23 -07:00
Saber422
3ffc2b6fb0 VW MQB: add missing 2020 TRANSPORTER T6.1 FW (#27914)
route:0bbe367c98fa1538|2023-04-14--14-58-41--0
2023-04-14 12:35:10 -07:00
Vít Listík
17631948da Updated FW for Skoda Superb III 2016 (#27888) 2023-04-14 12:28:11 -07:00