Commit Graph

9139 Commits

Author SHA1 Message Date
Adeeb Shihadeh
5c2fa5cabf scons: fix warning on newer versions with Qt3 tool 2023-04-23 18:02:54 -07:00
Adeeb Shihadeh
453fdec8c4 build tools without option on pc 2023-04-22 16:16:51 -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
e03efa723b uploader: add missing types 2023-04-21 23:06:47 -07:00
Cameron Clough
16c56e644e update update_requirements.sh (#28002)
* simplify update_requirements.sh

* check POETRY_VIRTUALENVS_CREATE
2023-04-21 22:36:10 -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
Cameron Clough
a27ce83b28 uploader: add typing (#28001)
* uploader: add typing

* fix types
2023-04-21 22:03:26 -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
Adeeb Shihadeh
2bc761acee pj: add SOF/EOF camera timings to layout 2023-04-21 19:34:13 -07: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
4f6c1141df bump cereal (#27998)
* bump cereal

* bump to master
2023-04-21 16:23:19 -07: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
Adeeb Shihadeh
b32acb7aaf bump panda 2023-04-21 15:55:25 -07:00
Dean Lee
91dc064ac7 cabana: support all features except video in live stream mode. (#27994) 2023-04-21 13:23:17 -07:00
Adeeb Shihadeh
bf86f41575 bump opendbc 2023-04-21 13:12:47 -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
Adeeb Shihadeh
a8bc26a924 bump panda 2023-04-19 17:55:06 -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
Willem Melching
d0b309ab0d MacOS: link against openssl@3.0 (#27978) 2023-04-19 13:31:19 -07:00
Willem Melching
31cdb8de4c cabana: fix shadowed variable in abstractstream.cc (#27976) 2023-04-19 13:31:03 -07:00
Willem Melching
2cf2e784cf cabana: fix crash on MacOS when combining graphs (#27977) 2023-04-19 13:20:53 -07:00
Adeeb Shihadeh
e3bd28bddf tools: improved CAN replay (#27975) 2023-04-19 11:46:22 -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
Adeeb Shihadeh
b3c101527f bump panda 2023-04-19 10:56:38 -07:00
Willem Melching
7f5cda00b5 cabana: more advanced DBC management features (#27968)
* cabana: improve menu to manage individual DBCs

* remove from single bus

* comments

* close explicitly

* new before open

* whitespace

* remove old code

* clipboard actions

* cleanup actions

* sections instead of nested menu

* consistent bus format
2023-04-19 10:49:30 -07:00
Dean Lee
590b1bc206 cabana: startup stream chooser dialog (#27938)
* new StreamDialog

* choose dbc file

* update last_dir

* move to /streams

* cleanup

* add stretch

* catch panda exception

* cleanup

* cleanup

* small cleanup

* fix pandaStream crash caused by a failed connection

* static function to create stream widget

* cleanup
2023-04-19 10:49:06 -07:00
Willem Melching
475903e244 cabana: enable Hi-DPI support on MacOS (#27965) 2023-04-19 10:48:36 -07:00
Willem Melching
8da5745970 cabana: use cyan/red coloring for values that move mostly up/down (#27966) 2023-04-19 10:45:07 -07:00
Dean Lee
8ad2d84aeb cabana: refactor the cache for CAN events (#27969) 2023-04-19 10:44:52 -07:00
Dean Lee
f9568e9818 cabana: make head section movable (#27971)
* set sections movable

* change setting key to v3

* add comment

* remove restorestate from MainWindow
2023-04-19 10:28:09 -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
Dean Lee
de62972e2c cabana: reduce the number of ticks on the Y-axis (#27964) 2023-04-18 22:48:36 -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
Willem Melching
af5f769d7c cabana: fix MacOS build (#27950) 2023-04-18 12:18:33 -07:00
Angus Gratton
ed6e7db3cf replay framereader: Log in some unlikely failure paths (#27942) 2023-04-18 12:17:45 -07:00