Commit Graph

6687 Commits

Author SHA1 Message Date
Jason Wen 89e2a6ea9b Merge remote-tracking branch 'upstream/commaai/openpilot/master'
# Conflicts:
#	cereal
#	panda
2023-03-30 23:07:29 -04:00
Lee Jong Mun 2c13bfac74 Multilang: kor translation update (#27756) 2023-03-30 17:34:39 -07:00
royjr c2d13e5292 ui: experimental -> alpha OP long toggle (#27725)
* swap locations

* remove experimental from toggle name

* revert

* alpha

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-03-30 14:27:05 -07:00
Shane Smiskol 51c3f43205 Honda Bosch Radarless: use CarControllerParams variable 2023-03-30 12:19:48 -07:00
royjr fe49fbf8ec 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>
2023-03-30 12:18:32 -07:00
Jacob Pfeifer 26097e778e mapd: consistency adjustments (#117)
mapd consistency adjustments:

* Project gps location onto map route line for determining distance to
  next node.
* Increase distance for determining if we have left a route. Helpful for
  when osm route line is not perfectly centered on road.
* Match max lateral accel against vision turn speed controller max
  lateral accel.
2023-03-29 23:07:16 -04:00
Erich Moraga a9d342689c Add missing AVALON_TSS2 engine & ABS f/w (#27733)
`@jundi#8597` 2022 Avalon ICE  DongleID/route 6b650cedd7de2808|2023-03-29--18-36-56
2023-03-29 19:06:44 -07:00
royjr e377305ea8 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>
2023-03-29 19:04:33 -07:00
Harald Schäfer eca3838237 Locationd qcom retune (#27739) 2023-03-29 16:35:30 -07:00
Adeeb Shihadeh 3df2e55bee tizi: add panda siren fault (#27738)
Co-authored-by: Comma Device <device@comma.ai>
2023-03-29 16:31:35 -07:00
Vivek Aithal 15b880c0ea 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>
2023-03-29 15:10:39 -07:00
Jason Wen 75fd9b1b22 Long planner: fix upstream merge conflicts (#145)
Fix upstream merge conflicts
2023-03-29 17:53:58 -04:00
Jason Wen 8e3ed8f10b torqued: reset LiveTorqueParameters on calibration reset (#27737)
* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
2023-03-29 14:30:27 -07:00
Vivek Aithal 46069738d6 Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)
Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 18253982db.
2023-03-29 14:01:22 -07:00
Jason Wen 18253982db torqued: reset LiveTorqueParameters on calibration reset (#27732) 2023-03-29 13:56:45 -07:00
Adeeb Shihadeh 85908f7e2b process replay: fix socket-ful replay flakiness (#27721)
* process replay: fix socket-ful replay flakiness

* bump up laikad timeout

* bump

* bump again

* revert that
2023-03-28 17:48:16 -07:00
Jason Young 267974e002 remove accFaultedTemp, add steerTimeLimit (#27720)
* remove accFaultedTemp

* retry CI

* bump cereal

* grab the new steerTimeLimit Event

* bump cereal to updated master
2023-03-28 16:04:14 -07:00
Jason Wen eb2f13d6d6 Merge remote-tracking branch 'upstream/commaai/openpilot/master'
# Conflicts:
#	cereal
#	panda
2023-03-28 17:16:08 -04:00
royjr 1853d6f40e 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>
2023-03-28 01:53:48 -07:00
Dean Lee fb03e225fd isotp_parallel_query: use drain_sock_raw (#27714)
use drain_sock_raw
2023-03-28 00:25:20 -07:00
Jason Wen 0bf00410d4 Hyundai: gate speed limit parsing availability (#144) 2023-03-27 22:05:35 -04:00
Shane Smiskol 3555a08c17 Nissan: add missing FW for 2020 Leaf (IC) (#27670)
add nissan leaf ic fp
2023-03-27 16:11:59 -07:00
erotisch c0b2e15a60 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>
2023-03-27 15:37:54 -07:00
Erich Moraga 7284969eb8 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
2023-03-27 15:06:47 -07:00
Shane Smiskol 12e46e5d4a Toyota: add missing FW versions for C-HR Hybrid 2021 (#27687)
add another 2021 CHR H
2023-03-27 14:22:25 -07:00
pugdaddys 8a36887dfb 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>
2023-03-27 13:58:30 -07:00
Shane Smiskol 86f6c315bc bump cereal (#27704) 2023-03-27 13:30:22 -07:00
Igor Biletskyy d9487ab901 boardd: fix uninitialized can_header (#27685) 2023-03-27 13:24:56 -07:00
Shane Smiskol 28cd8fc402 laikad: clean up cloudlog usage (#27701)
make an error, no need to pass e
2023-03-26 23:06:09 -07:00
Harald Schäfer b418cbcbcf Laikad: catch and log ephemerides parsing errors (#27698)
* Laikad: catch and log ephemerides parsing errors

* exception instead of error
2023-03-26 22:17:30 -07:00
Jason Wen 03f8b45a1e gpxd: remove secret (#135)
* gpxd: remove secret

* make it stick

* enforce dongle ID check

* redirect

* static

* small cleanup
2023-03-26 12:01:31 -04:00
Jason Wen 5ae00ea1fc sunnypilot: update brand 2023-03-26 09:20:57 -04:00
Jason Wen d4a039823b HKG: add FW versions for Kia Forte Non-SCC 2019 (#141) 2023-03-25 22:41:51 -04:00
Jason Wen bb76d4f9e9 Block Enhanced Speed Control events on unsupported platforms (#140) 2023-03-25 10:07:52 -04:00
Shane Smiskol 6f35d23c06 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
2023-03-25 01:07:58 -07:00
Shane Smiskol 084e83cda1 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
2023-03-25 01:02:11 -07:00
Jason Wen 38068dc916 sunnypilot: HKG: non-SCC platform support prerequisites (#139) 2023-03-25 00:05:03 -04:00
Shane Smiskol b61a0b785a Toyota: use DBC for alt brake safety param (#27686)
* use DBC

* use DBC
2023-03-24 20:07:11 -07:00
Shane Smiskol d443d8f5e3 VW: add missing Arteon 2019 FW (#27671)
* add missing arteon 2019 fw

* duplicate
2023-03-24 19:11:50 -07:00
Shane Smiskol c2bdbaa346 Lexus: 2017 RC is not supported (#27678)
we don't support 2017
2023-03-24 17:48:31 -07:00
Shane Smiskol b2beb3792e 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
2023-03-24 17:44:49 -07:00
Jason Wen 5243da9487 FCR: sync with upstream supported car platforms 2023-03-24 17:34:28 -04:00
Jason Wen 18a5cf0277 Merge remote-tracking branch 'upstream/commaai/openpilot/master'
# Conflicts:
#	cereal
#	opendbc
#	panda
#	selfdrive/ui/ui.cc
2023-03-24 15:05:42 -04:00
Jason Wen b73078dc43 mapd: bring back README (#136) 2023-03-24 13:57:54 -04:00
Shane Smiskol 9e023b3ead FPv2: only set multiplexing when needed (#27669)
* only set multiplexing if bus matters

* these don't matter anymore
2023-03-24 00:29:48 -07:00
Shane Smiskol 2ad9eec882 FPv2: log OBD multiplexed requests (#27667)
* log multiplexed requests

* bump cereal

* bump cereal to master
2023-03-24 00:25:37 -07:00
Shane Smiskol 021661b316 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
2023-03-24 00:12:25 -07:00
Shane Smiskol ecbd7150eb 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)
2023-03-23 23:47:15 -07:00
Shane Smiskol 5ab45890aa 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
2023-03-23 23:31:38 -07:00
Shane Smiskol a0e225e4af FPv2: don't multiplex second panda (#27663)
* fix this way

* or can fix this way

* simplify

* fix
2023-03-23 21:14:57 -07:00