Commit Graph

8898 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7e9acfd139 tici: allow fan to run to 100% (#28203) 2023-05-16 07:23:22 -07:00
Shane Smiskol 577374215b Nissan: set LKA active with latActive (#28055)
Update carcontroller.py
2023-05-15 23:23:55 -07:00
Justin Newberry f327053ac0 Subaru: rename legacy to preglobal (#28204)
* rename

* submodules too

* missed some variables

* fix find/replace error

* revert modules

* bump submodules

* bump cereal
2023-05-15 19:12:47 -07:00
Maxime Desroches 70677fe5fc add harness kit content to the doc (#28139)
* add harness kit content to the doc

* parts as enum

* nissan

* merge column

* rename column

* scaling

* scaling again

* 500px

* align text

* more px

* add style

* more width

* more

* more

* smaller text

* make all text smaller

* prev width

* default list

* remove hidden a ref

* try to remove again

* revert

* replace harness with harness_kit

* try fix

* cleaner

* center everything

* make pylint happy

* allow more than 1 of each parts

* use copy module

* review

* testing spacing

* revert

* bigger text

* formating

* split harness col lines

* remove print

* resolve

* rename to view

* keep formating in template

* simplify

* add unit test

* more generic way

* better

* harness connector only

* comment

* review

* put back harness parts

* missing dash

* too much space

* don't reload when clicking

* shorter comment

* only last line

* generate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 15:33:54 -07:00
Shane Smiskol ff5c58c85d docs cars template: remove newline on last line only 2023-05-15 14:54:08 -07:00
alkuwari007 b28221d346 FCA: Ram 1500 Rebel 2022 FW versions (#28155)
* Ram 1500 rebel 2022 ECU version update

* rm line

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 14:11:07 -07:00
ecaslak c293cb71c7 Add fingerprint for 2022 Honda Passport (#28175)
* Update CARS.md for 2022 Honda Passport

Changed latest supported model year from 21 to 22

* Update values.py: 2022 Honda Passport Fingerprint

Added ECU fingerprints for 2022 Honda Passport

* add missing fw

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 13:57:33 -07:00
Adeeb Shihadeh e889e09513 controlsd: check for self lagging in radar alert 2023-05-15 13:57:11 -07:00
Adeeb Shihadeh c192c92a4e calibrationd: add offroad alert when remount detected (#28073)
* calibrationd: add offroad alert for recalibration

* Update common/params.cc
2023-05-15 13:10:36 -07:00
Dean Lee 8ca3be9788 ui: refactor setPrimeType (#28143)
handle prime type change in new function UIState::setPrimeType
2023-05-15 13:08:21 -07:00
AlexandreSato 0c00099437 Hyundai: add missing FW for Sonata 2023 (#28191)
3ab09aae5a9310b2 AppleExpl01t#5323 SONATA fingerprint

Co-authored-by: Comma Device <device@comma.ai>
2023-05-15 13:02:25 -07:00
Adeeb Shihadeh fbcf6ced51 test_onroad: handle spotty gps in testing closet (#28194) 2023-05-15 12:45:19 -07:00
Harald Schäfer 598343aad1 Calibrationd: make recalibrating alert (#28149)
* Initial

* fixes

* not an int anymore

* elif

* revert ref

* update ref

* fix alert text

* regen refs

* update ref

* add recalibration unit test

* set into recalibration state

* fix words

* recalib

* text

* Update selfdrive/controls/lib/events.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-05-15 09:29:57 -07:00
Cameron Clough de45134da6 Ford: block stock ACC warnings on OP long (#28185)
Override this signal which the stock system uses to show messages such
as "ACC unavailable", "Speed too low" and causes the canceled sound to
play.
2023-05-14 17:18:34 -07:00
Adeeb Shihadeh ec53fad3c4 count_events.py: show alerts 2023-05-14 11:24:48 -07:00
Adeeb Shihadeh 437fcc6582 fix loopback test safety setting (#28184)
* fix loopback safety setting

* pandad: catch and log all exceptions

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-13 21:05:00 -07:00
Cameron Clough 717bc04ddc Ford: improved ACC UI for OP long (#28114)
* Ford: improved ACC UI for OP long

- Show "stopped" status message on IPC when in standstill, similar to stock
- Prevent the distance control UI from appearing on button press (as
this does not influence OP long).

* set lead indicator and only override stock when OP is controlling long

* match DBC
2023-05-14 00:20:34 +01:00
Cameron Clough 202751a796 Ford: add Maverick test route (#28181)
* Ford: add Maverick test route

* docs

* bump
2023-05-13 23:38:28 +01:00
Saber422 e077af4abf VW MQB: Add FW for 2023 Volkswagen Touran (#28146)
0bbe367c98fa1538|2023-05-09--15-06-11--0
2023-05-12 21:48:47 -07:00
teknonut 7268926e54 HKG: Add missing FW for 2022 Hyundai Santa Fe (#28150)
Update values.py

Add 2022 Hyundai Santa Fe FW values
2023-05-12 21:44:09 -07:00
Iamz 30cdcc474c Add Lexus RX engine fwVersion (#28163) 2023-05-12 21:38:34 -07:00
freddiebd 82f301422d VW MQB: Add FW for 2017 Golf Mk7 (#28174)
Update values.py

Added missing carFw versions to values.py
2023-05-12 21:31:58 -07:00
Kacper Rączy e08952acc8 controlsd: disable controlsdLagging event during process replay (#28177)
Disable controlsdLagging event during process replay
2023-05-12 11:33:48 -07:00
Shane Smiskol 344064d6bd Ford: hybrids are unsupported (#28171)
* hybrid fords are dashcammed

* something like this?

* just do an alert

* good comment

* space

* bb

bb

* top

* Update selfdrive/car/ford/interface.py

* add a noEntry

* remove from release notes

* sad :(

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-11 23:35:07 -07:00
Adeeb Shihadeh 432f316e8d ui: catch silent EGL failure (#28169)
Co-authored-by: Comma Device <device@comma.ai>
2023-05-11 15:22:09 -07:00
heemanshoe d845c79f7c HKG: Genesis GV70 2023 support (#28154)
* Updated values.py

Added fingerprinting for 2023 Genesis GV70

* Updated values.py

2023 GV70: needed a different harness than the one originally listed (M instead of L)

* Update values.py

Removed L harness line (just in case)

* should be good

* fix

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-10 15:10:07 -07:00
Shane Smiskol 3e3d1a7d4b Toyota: explicitly copy signals to forward (#28157)
* and toyota

* only if filled
2023-05-10 14:34:40 -07:00
Shane Smiskol 147c1bd820 Ford: explicitly copy signals to forward (#28156)
* just ford

* no need to copy this

* or these

* or these

* match DBC order

* remove these

* used in carcontroller

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-10 13:42:31 -07:00
Shane Smiskol b8fa7f58ea onroad transition: clear params and start safety setter thread (#28151)
* rename from ignition to onroad/offroad

* forgot one

* clear in manager

* don't clear in boardd anymore

fix

* params isn't used here

* add comment

* Revert "add comment"

This reverts commit 54fb6660501679e5a989c3f06c0a438bdb04dc7e.

* write params in manager

* first part is self explanatory

* remove these from thermald now

* start safety setter thread with IsOnroad

* drivesss

* more

* less

* come back

* makes sense here
2023-05-09 21:25:23 -07:00
Cameron Clough c59d7d1161 Ford: fix LateralMotionControl2 checksum (#28147)
* Ford: fix LateralMotionControl2 checksum

* loop is nice

* these are redundant

* need to shift left, before didn't match

* same, but more conventional

* whoops

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-09 21:18:52 -07:00
Cameron Clough 3ba60a6a96 training guide: higher quality image (#28152)
* use better image

* update touch area bounding box
2023-05-09 20:32:47 -07:00
Dean Lee 2ec14c2065 ui/drawLaneLines: read the accel from the submaster outside of the loop (#28145)
* read the accel from the submaster outside of the loop.

* const max_idx

* remove data copy and converting from list to vector

* correct name is len

* fix drawing last point

* add comment, remove right_points

* fix

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-09 20:25:53 -07:00
Shane Smiskol d738f66711 update boardd blocking comment 2023-05-09 17:27:09 -07:00
Adeeb Shihadeh 4fe1b638f8 pandad: improve startup time (#28137)
* pandad: improve startup time

* add test

* reset with gpio

* adjust threshold

* fix

* no panda

* fix

* check unknown

* increase for boardd

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-09 15:44:53 -07:00
Vivek Aithal a599890fed Lateral Planner: Calibrate model speed with vEgo (#28049)
* calibrate speed in the lateral planner

* make speed err helper fn

* check if trans has values

* clip the vel_err

* update refs
2023-05-09 14:26:58 -07:00
Shane Smiskol b9517fdc1b Added FW for VW Passat B8 2018 (#28148)
add missing
2023-05-09 13:40:08 -07:00
lachezartodorov 17f1a320b1 Added FW for VW Passat B8 2018 (#28120) 2023-05-09 13:38:56 -07:00
Shane Smiskol fb29d0f3bf Ford: add alert for steering wheel angle not ready (#28140)
* add event for steering angle calibrating

* how about this

how about this

* rename

* more openpilot-y

* add comment to code

* move to top

* better wording

* more general

* fix

* ?

* above

* bump cereal to master

* add more comms
2023-05-08 22:03:30 -07:00
Vivek Aithal 219b0708f3 RAM 1500 5TH GEN: Reduce friction (#28138)
* reduce ram friction

* u[pdate refs
2023-05-08 18:05:00 -07:00
Adeeb Shihadeh 154a42dcbd gate no gps alert on valid localizer inputs (#28135) 2023-05-08 15:09:00 -07:00
Saber422 6fbb941011 VW MQB: Add FW for 2018 Volkswagen Passat (#28131)
* VW MQB: Add FW for 2018 Volkswagen Passat

route name:fd81eb7cc97ce831|2023-05-08--12-43-12--0

* missing trans

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-08 14:32:46 -07:00
Saber422 c575e1a52f VW MQB: Add FW for 2018 Volkswagen Tiguan (#28130) 2023-05-08 14:31:04 -07:00
Shane Smiskol e780cca8b6 seldrive: use common sig handler (#28127)
* Update main.cc

* Update util.h

* same for navd
2023-05-08 14:27:04 -07:00
Adeeb Shihadeh 984029b606 test onroad: ensure 100% engageability (#28132) 2023-05-08 13:48:42 -07:00
Robbe Derks 6412340431 Continuous harness detection (#28129)
* log sbu voltages

* bump submodules
2023-05-08 13:33:23 +02:00
Adeeb Shihadeh c4501e4bc1 controlsd: remove procs from ignore list (#26848)
* trim list

* check for file
2023-05-07 15:43:45 -07:00
JWingate80 758a9d7c24 HKG: Genesis GV80 2023 support (#28069)
* Update values.py

* Update values.py

* Update routes.py

* Update values.py

* Update values.py

* Update interface.py

* Update override.yaml

* Updated car name in torque settings to the correct one

* Removed unused ECU's from GV80

Fix AssertionError: 3 != 0 : GENESIS GV80 2023: Car model has ECUs not in auxiliary request whitelists: Ecu.eps, Ecu.transmission, Ecu.engine

* Update routes.py

Updated to a better route

* Update routes.py

* Update test_models.py

* Update test_models.py

* Hopefully this route will work...

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

* this could use some cargo

* don't need to combine just yet

* add to docs and releases

* Update routes.py

* Update RELEASES.md

* Update routes.py

Updated route, hopefully this one works...

* Update selfdrive/car/tests/routes.py

* alphabetical

* update docs

* Update routes.py

Hopefully this route works

* Update routes.py

Trying segment 1 for GV80

* bump

* no need

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-06 23:18:06 -07:00
Shane Smiskol 4e951e4524 Lane Departure Warning: fix desire index bug (#28119)
don't subtract 1
2023-05-06 03:03:28 -07:00
Shane Smiskol 884e36bc9d ui: more granular accel gradient in experimental mode (#27391)
* add accel

* debugging

* use uiPlan for acceleration

* draw on same frame, ui color enhancements

* adjustments

* not needed

* add back alerts and wide cam

* use linear accel -> saturation (red -> green transition is more gradual, should be easier to understand)

* 1.5x was good from the non-linear previous commit

* fix crash?

* revert draw on same frame

* bump lightness add lightness mod with comment for future use (reverting in next commit)

* revert (but keep lightness bump)

* max accel isn't blueish (#3DFF3D)

* clean up

* revert lightness

* remove experiment

* try a different domain

* doesn't work

This reverts commit 7a398b03920d6d2d2c804d1290803bc533051fc1.

* clean that up

* actually should be 0.75

* some clean up

* debug timing

* fix

* debug

* round

* revert wide

* not used

* clean up

* remove slow qDebug

* this too

* draw max constant points, ensure we draw first and last

* clean up

* more clean up

* draft

* Revert "draft"

This reverts commit 59db097611dc633f397c509bf95490eb0614b7f0.

* Revert "Revert "draft""

This reverts commit ee86c385b39dbe36430effd58fc5c41ede51f9f0.

* simplify

* clean that up

* and all that

* and more

* aaaand that

* aaaand that

* track vert is created in update_line_data, it us the sum of two equal
len lists

* keep debugging stuff around

* keep debugging stuff around

* remove prints

* rm that

* moreee

* use existing helper 😄

* clean up

* make it const

* F

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-05-05 16:11:16 -07:00
Willem Melching bd8a56cf30 panda_comms.h add missing <string> include (#28117) 2023-05-05 11:28:46 -07:00