Commit Graph

7671 Commits

Author SHA1 Message Date
HaraldSchafer b654ebdd25 Refactor model: no klblock (#26035)
* ff138dc0-d097-4818-b40e-dba5ba89d5d6/449 13274b7d-b546-4b91-a587-33b4af7dec6a/700

* b1bb39be-c6ce-4744-8e63-92969fda6bfc/449 f3ebfba1-f686-448f-be9b-b4d5010be91c/700

* model ref

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
2022-10-15 20:04:35 -07:00
Adeeb Shihadeh bf5a6565c0 cabana: misc touchups (#26092)
* fix time formatting

* disable vertical resize

* Update tools/cabana/videowidget.cc
2022-10-15 16:05:52 -07:00
Jason Wen 553068f8c3 Hyundai: CAN-FD Hybrid gas pressed signal (#26086)
* Hyundai: Gate 0x105 behind hybrid CAN-FD only

* Update values.py

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-15 12:27:34 -07:00
AlexandreSato df6c135cfa Multilang: Update pt-BR translation. (#26089)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations
2022-10-15 12:15:47 -07:00
Dean Lee deac907cb4 Cabana: right click on the chart to reset zoom (#26088) 2022-10-15 11:36:09 -07:00
Shane Smiskol 4e82f68de2 GM camera ACC: prevent fault when engaging at a stop (#26079)
* prevent bolt fault

* comment

* only for camera ACC

* fixup alert

* bump cereal to master

* use new name

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* only care about prevent engagement when we look at PCM
2022-10-14 22:21:53 -07:00
Shane Smiskol 91a7bb4ea3 GM camera ACC: raise brake pressed threshold (#26081)
* Different brake pressed thresholds

* comment

* bump to master
2022-10-14 16:54:13 -07:00
Shane Smiskol c0840e0c33 Fix refs 2022-10-14 16:50:07 -07:00
Shane Smiskol 5d00e5cc71 GM: remove brake scaling (#26080)
* Don't add a weird factor to ret.brake

* update refs
2022-10-14 15:53:24 -07:00
Matt Webb 422167cdf9 HKG: add missing FW versions for 2022 Kia EV6 Light (#26071)
Fingerprint 2022 Kia EV6 Light
2022-10-13 20:51:57 -07:00
Shane Smiskol ed87c0f95a CAN-FD HKG: add ADAS Driving ECU query (#26075)
add ADAS Driving ECU query
2022-10-13 19:50:09 -07:00
Cameron Clough a02f42959c Hyundai docs: fix model name/year formatting (#26074)
* fix formatting so that model years can be parsed

* generate car docs
2022-10-13 19:45:42 -07:00
Shane Smiskol 7e9961b9ac FPv2: support collecting versions for specific ecus (#25699)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* remove this

* .

* intersection

* print ecus

* shorter

* fix typing

* use config
2022-10-13 17:40:07 -07:00
Mitchell Goff 982ea83cf9 Added updateZoom function to map_renderer, plus custom style.json (#25997)
* Added updateZoom function to map_renderer, plus custom style.json

* Render 512x512 maps

* Define STYLE_PATH in navd sconscript
2022-10-13 14:27:59 -07:00
Dean Lee a397418ef8 Cabana: scrollable binary view (#26065) 2022-10-13 13:25:21 -07:00
Dean Lee cc6dd18cf0 Cabana: display the (x,y) values while MouseMove on the chart (#26064) 2022-10-13 13:24:55 -07:00
Vivek Aithal 5f7d9a519e regen: Refactor log migrate functions to avoid needing azure keys (#26049)
* refactor migrate fns to avoid needing to use azure keys on import

* move azure key init behind a function

* resolve comments
2022-10-13 13:21:35 -07:00
Cameron Clough 2082248b73 Revert "don't build cabana unless extras (#26072)"
This reverts commit 41f520c254.
2022-10-13 12:48:24 -07:00
Cameron Clough 41f520c254 don't build cabana unless extras (#26072)
don't build cabana on device

this caused CI to fail for xx since qt libs aren't installed in CI docker
2022-10-13 11:43:20 -07:00
Cameron Clough 40dc05db6d update car compatibility docs
changes from 649eaf2
2022-10-13 10:40:53 -07:00
hoomoose 649eaf273f Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-13 09:34:59 -07:00
Shane Smiskol bf5f9adcc8 boardd: don't multiplex OBD port on external pandas (#26062)
don't multiplex on ext pandas
2022-10-12 22:34:40 -07:00
Cameron Clough 7f3c070061 Hyundai: add missing Elantra Hybrid 2023 FW versions (#26055)
* add Hyundai Elantra HEV 2023 fw

8dcf421697cd2cb0|2022-10-12--16-12-21--0

VIN: KMHLN4AJ5PU042417

* add 2023 to docs

* delete

* fix fingerprint

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-12 22:28:07 -07:00
Adeeb Shihadeh 6a602ed41d bump panda 2022-10-12 22:12:52 -07:00
Adeeb Shihadeh 82bd082dcd Hyundai: split alt gas pressed signals by EV and ICE (#26061) 2022-10-12 22:12:24 -07:00
Adeeb Shihadeh 4ee0b8196f Hyundai: fix alt CAN-FD cancel (#26057) 2022-10-12 21:54:53 -07:00
Adeeb Shihadeh c782380fc1 Hyundai: share panda flags with CAN-FD platform (#26058)
* Hyundai: share panda flags with CAN-FD platform

* move that

* only set bit

* bump panda

* panda master

* regen + update refs for new param
2022-10-12 21:54:08 -07:00
jp-solutionz 1d8fc4d21c joystickd: add controller mapping (#25986)
* Correct default controller mapping.

Current config maps steering to right trigger (ABS_RZ) when using a default xinput controller: https://inputs.readthedocs.io/en/latest/user/hardwaresupport.html

This results in default full left steering angle (1) requiring right trigger to return to centre (0) or right (-1).

It appears the intended mapping for steering is right thumbstick (ABS_RX).

Cancel button is also non-existent on default xinput controller. May be X button (BTN_NORTH) or Right Trigger (ABS_RZ).

Tested on Xbox One Controller via USB Cable, Logitech F710 and GameSir T4 Pro.

* Update joystickd.py

Fixed comment

* gamepad configuration

* gamepad arg

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-12 20:48:22 -07:00
Dean Lee b31932382d cabana: increase replay's segment cache limit & add setting dialog (#26019)
* increase replay's segment cache limit

* todo

* add settings dialog

blank line

typo
2022-10-12 19:31:26 -07:00
Kurt Nistelberger 8809116a26 remove null effect assert 2022-10-12 18:55:35 -07:00
HaraldSchafer b332441803 locationd: Fix GPS sensor times with fixed offsets (#25920)
* Rewind to qcom time

* Fix test

* Typo

* init unix_time fix

* add gps sensor_time_offsets

* remove all clocks code and add todo

* :emove clocks in unit test

* update refs

* update refs

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
2022-10-12 17:47:30 -07:00
Jason Young bb61081b70 VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

* bump opendbc after merge
2022-10-12 17:46:26 -07:00
Dean Lee b65fad9e8f cabana: keep scrollarea frame (#26056)
add frame back
2022-10-12 17:04:53 -07:00
Jason Young 135270f65c Allow car port to define enable buttons (#25793)
* Allow car port to define enable buttons

* simplify

* oops
2022-10-12 16:27:23 -07:00
Greg Hogan d5ef6f82e6 add CAN-FD non-ISO mode support (#25947)
CAN FD non-ISO support

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-12 15:40:19 -07:00
Kurt Nistelberger 549452f84d rawgpsd: log + skip unknown responses (#26043)
* skip DIAG_EVENT_REPORT_F events

* .

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-10-12 15:14:45 -07:00
Cameron Clough 8b5ebbddf6 build extras together (#26051)
* build extras together

* don't check here either
2022-10-12 15:14:02 -07:00
Cameron Clough 077f0e0a44 ci: disable concurrency for master branch (#26052)
disable concurrency for master branch
2022-10-12 15:11:03 -07:00
Cameron Clough 23e78da6a4 ci: fix tools workflow 2022-10-12 14:34:43 -07:00
Cameron Clough 80259f377f Ford: cleanup and fix button press (#26033)
* cleanup

* use Veh_V_ActlBrk for vEgoRaw

* remove unused CarState.yaw_data

* less resume spam

* set steering ramp rate

* match DBC range

* add LCA/TJA notes
2022-10-12 14:23:12 -07:00
Adeeb Shihadeh 3c0904a18f EV6 longitudinal (#26023)
* ev6 long

* update refs
2022-10-12 14:22:40 -07:00
Cameron Clough 03f06b0e32 ci: don't cancel concurrent workflows for master branch (#26047)
don't cancel for master branch
2022-10-12 14:03:44 -07:00
Jason Shuler ac88ad871a GM: disable checks on loopback bus (#26015)
* disabling checks on loopback bus

* Apply suggestions from code review

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-12 14:02:01 -07:00
Jason Young 47b19ff148 VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 (#25839)
* initial Sharan support

* placeholder torque data

* oops

* add route

* min speeds and PQ default delay
2022-10-12 13:59:39 -07:00
Dean Lee 0fa1588f6c Cabana: stable initial release (#26004)
* increase form size & fix wrong charts number

* set max axisy to 1.0 if no value

* show 'close' button in floating window

* alwasy show scroll bar

* complete the logs

* more

* increase size to 50

* keep logs for all messages

* more

* rename signal

* better height

* avoid flicker

* dont call setupdatesenabled

* filter dbc files bye typing

* remove all charts if dbc file changed

* fix wrong idx

* bolder dbc filename

* update chart if signal has been edited

* new signals signalAdded,signalUpdated

* split class Parser into CanMessages and DBCManager

* cleanup

* updateState after set message

* cleanup

* emit msgUpdated

* clear history log if selected range changed

* always update time

* change title layout

* show selected range

hide title bar if no charts

less space between title and chart

* custome historylogmodel for extreme fast update

* move historylog to seperate file

* 2 decimal

* cleanup

cleanup

* left click on the chart to set start time

* todo

* show tooltip for header item&cleanup binaryview

add hline to signal form

* better paint

* cleanup signals/slots

* better range if min==max

* set historylog's minheight to 300

* 3x faster,sortable message list.

* zero copy in queued connection

* proxymodel

* clear log if loop to the begin

* simplify history log

* remove icon

* remove assets

* hide linemarker on initialization

* rubber width may less than 0

* dont zoom char if selected range is too small

* cleanup messageslist

* don't zoom chart if selected range less than 500ms

* typo

* check boundary

* check msg_id

* capital first letter

* move history log out of scrollarea

* Show only one form at a time

* auto scroll to header

d

* reduce msg size
entire row clickable

rename filter_msgs
2022-10-12 13:55:17 -07:00
Cameron Clough 03a065160e ci: only run one instance of each workflow (#26036)
only allow one running workflow per event for each branch
2022-10-12 13:51:09 -07:00
Nelson Chen aa3dc7acbe RAV4 2022: Add missing engine FW (#26044)
From 23e0360acaefab4d
2022-10-12 13:31:08 -07:00
Shane Smiskol 967f0cc9f8 bump opendbc 2022-10-12 13:05:09 -07:00
Shane Smiskol 5ad89425a7 GM camera ACC: log stock aeb/fcw (#26017)
* GM camera ACC: log aeb/fcw

* order

* fix stockAeb
2022-10-11 22:55:21 -07:00
Shane Smiskol 0f94d81b7a GM camera ACC: reduce LKAS faults on startup (#26039)
* GM camera ACC: no faults on start up 2.0

And by 2.0 I mean we don't need to wait for blocked msg support to be merged first to merge this without regressing accidental single blocked msg count handling.

* Send the camera counter + 1

* Keep updating the first counter until we get a message on the bus

* Only update right before sending so sent_lka_steering_cmd is updated first

* Update ref_commit
2022-10-11 22:33:37 -07:00