Commit Graph

8217 Commits

Author SHA1 Message Date
Cameron Clough
919f3cb4e1 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
old-commit-hash: 41f520c254
2022-10-13 11:43:20 -07:00
Cameron Clough
74557258df update car compatibility docs
changes from 5adbbe9

old-commit-hash: 40dc05db6d
2022-10-13 10:40:53 -07:00
hoomoose
3a6801e4ef Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 649eaf273f
2022-10-13 09:34:59 -07:00
Shane Smiskol
2c335e4abf boardd: don't multiplex OBD port on external pandas (#26062)
don't multiplex on ext pandas
old-commit-hash: bf5f9adcc8
2022-10-12 22:34:40 -07:00
Cameron Clough
49c982cba5 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>
old-commit-hash: 7f3c070061
2022-10-12 22:28:07 -07:00
Adeeb Shihadeh
d7639bff58 bump panda
old-commit-hash: 6a602ed41d
2022-10-12 22:12:52 -07:00
Adeeb Shihadeh
76da219352 Hyundai: split alt gas pressed signals by EV and ICE (#26061)
old-commit-hash: 82bd082dcd
2022-10-12 22:12:24 -07:00
Adeeb Shihadeh
ecfef77606 Hyundai: fix alt CAN-FD cancel (#26057)
old-commit-hash: 4ee0b8196f
2022-10-12 21:54:53 -07:00
Adeeb Shihadeh
f6803bc8df 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
old-commit-hash: c782380fc1
2022-10-12 21:54:08 -07:00
jp-solutionz
e769f4d11a 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>
old-commit-hash: 1d8fc4d21c
2022-10-12 20:48:22 -07:00
Dean Lee
edb488ff41 cabana: increase replay's segment cache limit & add setting dialog (#26019)
* increase replay's segment cache limit

* todo

* add settings dialog

blank line

typo
old-commit-hash: b31932382d
2022-10-12 19:31:26 -07:00
Kurt Nistelberger
31c9cdd5a0 remove null effect assert
old-commit-hash: 8809116a26
2022-10-12 18:55:35 -07:00
HaraldSchafer
eac9ec1570 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>
old-commit-hash: b332441803
2022-10-12 17:47:30 -07:00
Jason Young
18681091bf VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

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

* simplify

* oops
old-commit-hash: 135270f65c
2022-10-12 16:27:23 -07:00
Greg Hogan
1d4e4197e2 add CAN-FD non-ISO mode support (#25947)
CAN FD non-ISO support

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

* .

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

* don't check here either
old-commit-hash: 8b5ebbddf6
2022-10-12 15:14:02 -07:00
Cameron Clough
813429531d ci: disable concurrency for master branch (#26052)
disable concurrency for master branch
old-commit-hash: 077f0e0a44
2022-10-12 15:11:03 -07:00
Cameron Clough
d0cb619c7d ci: fix tools workflow
old-commit-hash: 23e78da6a4
2022-10-12 14:34:43 -07:00
Cameron Clough
0defa2774f 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
old-commit-hash: 80259f377f
2022-10-12 14:23:12 -07:00
Adeeb Shihadeh
026668b5f8 EV6 longitudinal (#26023)
* ev6 long

* update refs
old-commit-hash: 3c0904a18f
2022-10-12 14:22:40 -07:00
Cameron Clough
c4c087e145 ci: don't cancel concurrent workflows for master branch (#26047)
don't cancel for master branch
old-commit-hash: 03f06b0e32
2022-10-12 14:03:44 -07:00
Jason Shuler
6d8f98ab9b 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>
old-commit-hash: ac88ad871a
2022-10-12 14:02:01 -07:00
Jason Young
6f2b741c33 VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 (#25839)
* initial Sharan support

* placeholder torque data

* oops

* add route

* min speeds and PQ default delay
old-commit-hash: 47b19ff148
2022-10-12 13:59:39 -07:00
Dean Lee
62adf87f40 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
old-commit-hash: 0fa1588f6c
2022-10-12 13:55:17 -07:00
Cameron Clough
92fab023b3 ci: only run one instance of each workflow (#26036)
only allow one running workflow per event for each branch
old-commit-hash: 03a065160e
2022-10-12 13:51:09 -07:00
Nelson Chen
05490107b1 RAV4 2022: Add missing engine FW (#26044)
From 23e0360acaefab4d
old-commit-hash: aa3dc7acbe
2022-10-12 13:31:08 -07:00
Shane Smiskol
2ee23bccf1 bump opendbc
old-commit-hash: 967f0cc9f8
2022-10-12 13:05:09 -07:00
Shane Smiskol
f3a4c0c6a5 GM camera ACC: log stock aeb/fcw (#26017)
* GM camera ACC: log aeb/fcw

* order

* fix stockAeb
old-commit-hash: 5ad89425a7
2022-10-11 22:55:21 -07:00
Shane Smiskol
6a92eb5a7a 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
old-commit-hash: 0f94d81b7a
2022-10-11 22:33:37 -07:00
Adeeb Shihadeh
51b18eecef bump cereal
old-commit-hash: 6dbfb8e49b
2022-10-11 21:28:14 -07:00
Shane Smiskol
57f5abda16 Hyundai: remove 90° steering lockout (#24108)
* avoid 90 degree fault

* use 50 frames

* no panda mods

* clean up

* absolutely no faults. zero. zilch. nada

* fix initial value and comments

* try glitching at double rate instead of two in a row

* bump panda

* cut for two frames

* clean up

* bump panda

* clean up

* not today!

* bump panda to master

* prefix and simple lat_active

* prefix
old-commit-hash: f74fefaffa
2022-10-11 18:59:16 -07:00
Kurt Nistelberger
76f9a1487c GPS test station first unittests (#25950)
* init gps test

* gps test v1

* add static signal gen script

* update readme

* remove LD_PRELOAD by using rpath, update values after testing

* remove LD_PRELOAD

* update fuzzy testing

* address comments

* cleanup

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 54d667aa15
2022-10-11 18:55:10 -07:00
Kurt Nistelberger
52e592ddc1 add extra logging for rawgpsd opcode crash
old-commit-hash: 182c5c4810
2022-10-11 17:41:20 -07:00
Shane Smiskol
4df9e825ae Use longActive for car-specific override signals (#26030)
* add override field to cruiseControl

* need to check if long *can* be active

* bump cereal to master

* revert

* better

* fix

* update refs

* rename variable
old-commit-hash: 7418678132
2022-10-11 16:27:46 -07:00
HaraldSchafer
f9b65f9189 Low speed lateral like before (#26022)
* Add explicit cost on steering wheel movement

* Laxer low speed control

* Laxer low speed control

* Lower min speed now there is a cost

* 3m/s

* Similar to old master

* Add cost

* Crazy high

* Update ref

* comment
old-commit-hash: 2c9b150761
2022-10-11 14:53:43 -07:00
wjxjmj
dbd5cd3341 Add ip and port arguments to /tools/sim/bridge.py (#26011)
* Add ip and port arguments

* Add descriptions of ip and port arguments

* Update README.md

* Update README.md

* prefer host/port options

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: dbdb3a02a8
2022-10-11 14:16:40 -07:00
Nelson Chen
8dc2f5e427 Add missing Corolla TSS2 firmware (#26032)
old-commit-hash: e062d2387e
2022-10-11 13:17:21 -07:00
Shane Smiskol
3604eadef8 Add CarInfo for Elantra GT and i30 (#26034)
Fixup car info for Elantra GT/i30
old-commit-hash: 32a4dfe2fe
2022-10-11 12:53:35 -07:00
YassineYousfi
d8446ba2b5 bump tinygrad (#26029)
old-commit-hash: 478693771b
2022-10-11 10:27:00 -07:00
Shane Smiskol
ce1e890c5d HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
old-commit-hash: c719b3b7dd
2022-10-10 23:24:14 -07:00
Dean Lee
6333f55833 Cabana: increase slider precision to milliseconds (#26025)
old-commit-hash: 754b44e7ce
2022-10-09 08:44:19 -07:00
Shane Smiskol
d064794e80 Subaru: log stock FCW (#26012)
* log stock FCW

* Update selfdrive/car/subaru/carstate.py

* never seen 1 (could be aeb?)
old-commit-hash: f31aa68533
2022-10-08 23:28:33 -07:00
Dean Lee
25869e45ce cabana: fix Incorrect Y-Axis Scale (#26018)
old-commit-hash: 2ed82387a5
2022-10-08 14:10:00 -07:00
Greg Hogan
08234a9ea9 hyundai: fix logging stock AEB events (#25152)
old-commit-hash: 2e7fa330b3
2022-10-08 04:07:35 -07:00
Shane Smiskol
46e01104ad Kia: update Optima platform name (#25852)
* https://en.wikipedia.org/wiki/Kia_K5

* it's actually the same generation, but 2019+ is a facelift

* g4

* fix

* rename
old-commit-hash: 36701a82a3
2022-10-08 00:02:57 -07:00
HaraldSchafer
a13f2deeeb Increase low speed jerk cost (#26008)
* Increase low speed jerk cost

* Update planner weight

* Update ref_commit

* Update lateral_planner.py

* cleanup and refactor

* Update ref_commit
old-commit-hash: fb07437819
2022-10-07 19:15:04 -07:00
HaraldSchafer
549a65d51e rawgpsd: publish ephemerides (#25931)
* add svpoly parsing

* Publish poly

* add source check

* add safety check for invalid gpsWeek values

* address PR comments

* add qcom ephemeris source type

* bump cereal and laika

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 57a82ced28
2022-10-07 17:27:09 -07:00