Commit Graph

6924 Commits

Author SHA1 Message Date
Shane Smiskol
730450d71e Honda Bosch Radarless: use CarControllerParams variable
old-commit-hash: 51c3f43205
2023-03-30 12:19:48 -07:00
royjr
77ce14cf0b Honda Bosch Radarless: update stopAccel to match actuation limits (#27740)
* civic22_stop_faster

* limit stopAccel to current safety model

* Update selfdrive/car/honda/interface.py

* Update selfdrive/car/honda/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fe49fbf8ec
2023-03-30 12:18:32 -07:00
Erich Moraga
eafdc1b1dc Add missing AVALON_TSS2 engine & ABS f/w (#27733)
`@jundi#8597` 2022 Avalon ICE  DongleID/route 6b650cedd7de2808|2023-03-29--18-36-56
old-commit-hash: a9d342689c
2023-03-29 19:06:44 -07:00
royjr
37a03aa6eb Honda Civic 2022: match stock Auto Idle Stop behavior (#27722)
* honda_idlestop_timer

* whoops

* simplify

* just use stopping counter and move bosch radarless specific logic into the function

* it's actually 4 seconds

* Update selfdrive/car/honda/hondacan.py

* check equal to 0

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e377305ea8
2023-03-29 19:04:33 -07:00
Harald Schäfer
f6e3dc289c Locationd qcom retune (#27739)
old-commit-hash: eca3838237
2023-03-29 16:35:30 -07:00
Adeeb Shihadeh
809a79121b tizi: add panda siren fault (#27738)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3df2e55bee
2023-03-29 16:31:35 -07:00
Vivek Aithal
b6909a65e7 Bolt EUV: Non-linear torque function (#27696)
* add erf based ff

* silly bug; diff of nonlinear != nonlinear of diff

* add sigmoid based ff, ensure slope at 0 > 1

* reduce steer down limit and increase driver allowance

* rebase panda

* atry without friction, and with tanh nonlinear

* finalize the nonlinear function

* do not disable friction compensation in the ff

* bump panda

* bump panda

* update refs

* update refs

* resolve comments

* Add type hints

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15b880c0ea
2023-03-29 15:10:39 -07:00
Jason Wen
fe5fee6931 torqued: reset LiveTorqueParameters on calibration reset (#27737)
* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
old-commit-hash: 8e3ed8f10b
2023-03-29 14:30:27 -07:00
Vivek Aithal
467040bbd0 Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)
Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 61bcfed6d92a13d994e56c1360d96f6026f40f7e.
old-commit-hash: 46069738d6
2023-03-29 14:01:22 -07:00
Jason Wen
1187234757 torqued: reset LiveTorqueParameters on calibration reset (#27732)
old-commit-hash: 18253982db
2023-03-29 13:56:45 -07:00
Adeeb Shihadeh
6f52cc09f4 process replay: fix socket-ful replay flakiness (#27721)
* process replay: fix socket-ful replay flakiness

* bump up laikad timeout

* bump

* bump again

* revert that
old-commit-hash: 85908f7e2b
2023-03-28 17:48:16 -07:00
Jason Young
6433154d5d remove accFaultedTemp, add steerTimeLimit (#27720)
* remove accFaultedTemp

* retry CI

* bump cereal

* grab the new steerTimeLimit Event

* bump cereal to updated master
old-commit-hash: 267974e002
2023-03-28 16:04:14 -07:00
royjr
f4d0b68a21 Honda Bosch Radarless: experimental longitudinal support (#25364)
* civic22_long

* Stock requests -4

* add standstill bit

* bump

* fix standstill

* bump

* bump

* bump panda

* Update hondacan.py

* bump panda

* add docs

* bump panda

* bump panda

* fix control_on value

* set control_off

* fix cars.md

* Update panda

* Update opendbc

* Update panda

* Update panda

* allow more braking

* Revert "allow more braking"

This reverts commit ecd2493a436a095b621d815e8b0c7591fa6b93a9.

* Update panda

* fix speed mismatch

* Revert "fix speed mismatch"

This reverts commit ca795dc5bd9d6e841225e1ac1ff93a1f78618513.

* Update panda

* fix speed mismatch and standstill

* delay stopped message to match stock behavior

* green cruise only when enabled

* Update panda

* Revert "green cruise only when enabled"

This reverts commit d21aa5b541a42fa6d1c87e3b065f720af28ff38b.

* lesser nester

* simplify

* simplify control_on

* simplify common signals

* simplify CONTROL_ON

* lessest nester

* hide speed on gas_override to match stock behavior

* tiny simplification, lesser nester

* flip common acc control values around

* move magic number to global variable

* Revert "move magic number to global variable"

This reverts commit 160be0e0872dc08a8786d97fc2125b2eb131362d.

* remove stopped logic

* remove unused variable

* looks ok

* looks better

* simplify override

* clarify CONTROL_OFF signal comment

* civic22_long_bettercontroloff

shorten delay

init

selfless

whoops

move to carcontroller

selfmore

lower time, currently take 5s to kick in

just right

deline

* Rename CONTROL_OFF -> IDLESTOP_ALLOW

This tells the car its ready to turn off the engine, which does so when the car is standstill.

* Update panda

* Update opendbc

* Update panda

* fix docs

* Update panda

* Update panda

* Update opendbc

* Update panda

* Update panda

* Update panda

* Update panda

* bump panda

* idlestop in another PR

* radarless doesn't need tester present

* simplify that

* helper

* one line is fine

* test bump

* bumpback

* disallow

* reduce diff

---------

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 1853d6f40e
2023-03-28 01:53:48 -07:00
Dean Lee
a837c85ec3 isotp_parallel_query: use drain_sock_raw (#27714)
use drain_sock_raw
old-commit-hash: fb03e225fd
2023-03-28 00:25:20 -07:00
Shane Smiskol
284e1bd0d0 Nissan: add missing FW for 2020 Leaf (IC) (#27670)
add nissan leaf ic fp
old-commit-hash: 3555a08c17
2023-03-27 16:11:59 -07:00
erotisch
919b0e37e3 HKG: add missing 2019 Genesis G70 FW (#27676)
* Update values.py

* Update values.py

* Update values.py

* fix FW

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c0b2e15a60
2023-03-27 15:37:54 -07:00
Erich Moraga
f49de14ac1 Add missing TUCSON_4TH_GEN fwdCamera/fwdRadar f/w (#27708)
`chodochodo#7177` 2022 Hyundai Tucson 2.4L ICE  DongleID/route c5ba26f7af98e5d1|2023-03-27--14-33-34
old-commit-hash: 7284969eb8
2023-03-27 15:06:47 -07:00
Shane Smiskol
8c7093c2d8 Toyota: add missing FW versions for C-HR Hybrid 2021 (#27687)
add another 2021 CHR H
old-commit-hash: 12e46e5d4a
2023-03-27 14:22:25 -07:00
pugdaddys
2bc3f8dc49 VW: add missing Audi A3 2016 FW (#27699)
* Update values.py

* Update values.py

* Update values.py

* missing radar

* convert to hex

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8a36887dfb
2023-03-27 13:58:30 -07:00
Shane Smiskol
cee3c52af2 bump cereal (#27704)
old-commit-hash: 86f6c315bc
2023-03-27 13:30:22 -07:00
Igor Biletskyy
7dfb32883a boardd: fix uninitialized can_header (#27685)
old-commit-hash: d9487ab901
2023-03-27 13:24:56 -07:00
Shane Smiskol
c08e6fe35e laikad: clean up cloudlog usage (#27701)
make an error, no need to pass e
old-commit-hash: 28cd8fc402
2023-03-26 23:06:09 -07:00
Harald Schäfer
5a66a16b5b Laikad: catch and log ephemerides parsing errors (#27698)
* Laikad: catch and log ephemerides parsing errors

* exception instead of error
old-commit-hash: b418cbcbcf
2023-03-26 22:17:30 -07:00
Shane Smiskol
53bf3256f3 FPv2: match brand against extra ecus (#27688)
* query extra ecus (still need to match)

* match against extra ecus

* clean p

* clean p

* switch that around

* can clean that up

* values
old-commit-hash: 6f35d23c06
2023-03-25 01:07:58 -07:00
Shane Smiskol
5a3c857303 FPv2: replace temporary variable with config (#27692)
* query extra ecus (still need to match)

* match against extra ecus

* clean p

* clean p

* switch that around

* can clean that up

* values

* rm

* not used
old-commit-hash: 084e83cda1
2023-03-25 01:02:11 -07:00
Shane Smiskol
534801a39c Toyota: use DBC for alt brake safety param (#27686)
* use DBC

* use DBC
old-commit-hash: b61a0b785a
2023-03-24 20:07:11 -07:00
Shane Smiskol
06f7bb7bbc VW: add missing Arteon 2019 FW (#27671)
* add missing arteon 2019 fw

* duplicate
old-commit-hash: d443d8f5e3
2023-03-24 19:11:50 -07:00
Shane Smiskol
eeacd59988 Lexus: 2017 RC is not supported (#27678)
we don't support 2017
old-commit-hash: c2bdbaa346
2023-03-24 17:48:31 -07:00
Shane Smiskol
4a73806068 Lexus: LSS is standard on ES (#27684)
* standard on 17 and 18 https://dealerinspire-brochure.s3.amazonaws.com/834.pdf & https://www.lexus.com/content/dam/lexus/documents/brochures/models/2018/MY18-Lexus-ES-and-ES-Hybrid-Brochure.pdf

* update docs
old-commit-hash: b2beb3792e
2023-03-24 17:44:49 -07:00
Shane Smiskol
b6897bce1a FPv2: only set multiplexing when needed (#27669)
* only set multiplexing if bus matters

* these don't matter anymore
old-commit-hash: 9e023b3ead
2023-03-24 00:29:48 -07:00
Shane Smiskol
7a56692c24 FPv2: log OBD multiplexed requests (#27667)
* log multiplexed requests

* bump cereal

* bump cereal to master
old-commit-hash: 2ad9eec882
2023-03-24 00:25:37 -07:00
Shane Smiskol
c96b1c3040 Hyundai CAN FD: log ADAS parking ECU FW version (#27662)
* add parking and hvac ecus

* needs a new query sadly

* move space

* temp

* comment

* fix

* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* bump cereal

* bump to master

* bump to master

* don't multiplex when we don't need it
old-commit-hash: 021661b316
2023-03-24 00:12:25 -07:00
Shane Smiskol
528f7e5302 FwQueryConfig: auxiliary field to add requests for first aux panda (#27666)
* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* rename

* space

* reduce obd multiplexing transitions from 3 to 1 (0.3s to 0.1s)
old-commit-hash: ecbd7150eb
2023-03-23 23:47:15 -07:00
Shane Smiskol
e0bebea962 Hyundai CAN FD: log hvac FW version (#27668)
* add parking and hvac ecus

* needs a new query sadly

* move space

* temp

* comment

* fix

* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* bump cereal

* this is a smaller diff, easier to merge

* bump cereal

* just hvac

* bump to master
old-commit-hash: 5ab45890aa
2023-03-23 23:31:38 -07:00
Shane Smiskol
06c07ff0fc FPv2: don't multiplex second panda (#27663)
* fix this way

* or can fix this way

* simplify

* fix
old-commit-hash: a0e225e4af
2023-03-23 21:14:57 -07:00
Shane Smiskol
cdcf06e9e2 boardd: ability to switch between ELM safety params (#27656)
* indecisive

* rename to generic FW query

* remove code and update comment

* we need this to start off, unless we set multiplexing immediately

* draft

* draft 2

* try that

* can't do this either, boardd might read Enabled after removing, but before setting new Request param

* this should work

* use one less param

* fix params

* match behavior (set all pandas to safety param of 1, disabling multiplexing for fingerprinting

* clean up (some tests may temp break)

* fix param name and sort

* time it

* yes it does matter

* add to hyundai's bus 5 query

* remove hyundai for now

* this should work

* clean up

* clean up

* flip argument around, clean up

* fix test_startup

* some clean up

* rm line

* comment makes more sense

* required typing

* clean up common type

* comments

* Update selfdrive/car/car_helpers.py

* line

* whoops, need to set before vin!

* fix debug

* annoying

* more debugging

* bug fix (needs both keys always)

* debuGG

debuGG

* Revert "debuGG"

This reverts commit 55b2f429324c0b92d5cfb2cabf8b20db1e166248.

* Revert "more debugging"

This reverts commit 02934c3403ad5270f03093508b704c151d1ccb2a.

* Revert "annoying"

This reverts commit 8b4e5e09989f9a0217e3ec1c0ba68735929b7366.

* clean that up

* bumpback

* bumpback

* every second write param

* flip

* stuff

* move up?

* fix timing out in CI

* rm
old-commit-hash: 42449b482d
2023-03-23 00:14:31 -07:00
Shane Smiskol
746f0ba63b fw_versions: cleanup common types (#27658)
* use common type

* use it in fw_versions

* add typing to queries
old-commit-hash: 727a94cc78
2023-03-22 21:58:04 -07:00
YassineYousfi
cde221ba7c new model: trained on new dataset (#27637)
* df733db3-fad2-4485-abe9-59a6a47f2233/449 946c0f55-247d-4790-a407-c07e4364b340/700

* fix reducel2 df733db3-fad2-4485-abe9-59a6a47f2233/449 946c0f55-247d-4790-a407-c07e4364b340/700

* update ref commit
old-commit-hash: 26541d9e7a
2023-03-22 20:19:46 -07:00
Harald Schäfer
ae7ce5368c Laika cleaner flow (#27633)
* laika flow

* test fixes

* unexpected type

* unexpected type

* explicit type

* ref commit

* back to prev val

* ref 2
old-commit-hash: e05e7850e1
2023-03-22 19:10:19 -07:00
Shane Smiskol
0759da6d09 test lateral limits: remove Konas from blacklist (#27424)
* remove konas from blacklist

* update measured accel

* remove

* no longer needed
old-commit-hash: 8b8c4d810f
2023-03-22 13:37:09 -07:00
Shane Smiskol
f20e33a2c5 GM: common longitudinal actuator delay (#27357)
* common longitudinal actuator delay

* comment

* remove dup

* move

* clean up

* Update ref_commit
old-commit-hash: aefe636cc1
2023-03-22 00:23:51 -07:00
Shane Smiskol
e83edd554a Toyota LTA: allow no torque (#27646)
* no torque

* Update ref_commit

* Update ref_commit
old-commit-hash: aeb905a2bf
2023-03-21 19:21:11 -07:00
Shane Smiskol
bffa466e63 Chrysler: add FW versions for 2019 Jeep Grand Cherokee (#27649)
add FW versions for Jeep 2019
old-commit-hash: 660b9e9718
2023-03-21 19:16:05 -07:00
Lee Jong Mun
aa1cfcbffb Kia: add missing Korean EV6 fwdCamera FW (#27641)
* Kia: add missing Korean EV6 fwdCamera FW

* Apply suggestions from code review

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 114b1e4a14
2023-03-21 18:41:31 -07:00
Gijs Koning
5814ecfbfe laikad: use non-conflating socket for gnss msgs (#24888)
* Use subsock

* wait for one

* wrong name

* try cpp proc replay

* fix recv pattern

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fc5a575ba3
2023-03-21 17:07:19 -07:00
Adeeb Shihadeh
c2fc5175fc process replay: prep for laikad subsock + QCOM GPS (#27632)
* process replay: prep for laikad subsock

* cleanup

* fix for qcomGnss

* detect ublox

* more debug info in err

* wip

* cleanup
old-commit-hash: 7319afbd51
2023-03-21 16:43:40 -07:00
Adeeb Shihadeh
cec2edfca4 process replay: update after laika publish policy change (#27647)
* laika pubs all

* lr for locationd

* fix locationd qcom

* update refs
old-commit-hash: ee36c106af
2023-03-21 16:14:22 -07:00
realfast
9d281db35e Ram: FW version dump (#27083)
* Add extra firmwares and sort for rams

* Added another ECU

* Update selfdrive/car/chrysler/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Apply suggestions from code review

* sort

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: aa4286153a
2023-03-20 22:54:55 -07:00
Shane Smiskol
6155af477f Chrysler: add FW for 2019 Ram 3500 (#27636)
* Add 2019 Ram 3500

* wrong ones

* missing EPS
old-commit-hash: 4a844078cd
2023-03-20 21:39:06 -07:00
Shane Smiskol
8e9185cf01 Chrysler: add FW for 2023 Ram 1500 (#27634)
add FW for 2023 Ram 1500
old-commit-hash: aa0421ffd7
2023-03-20 21:20:35 -07:00