Commit Graph

4843 Commits

Author SHA1 Message Date
Adeeb Shihadeh db81bf52ea installer: cleanup old cache paths 2021-10-08 10:42:41 -07:00
AlexandreSato 879b50c1a3 update comment in toyota carcontroller (#22490) 2021-10-08 10:13:50 -07:00
Robbe Derks 91987f38d4 Make pandaState and safetyMode a list (#22454)
* wip: move to pandaStates

* bump cereal

* wip: SafetyMode struct

* move to safetyMode

* fix typo

* this can be None

* fix potential empty pandaStates list

* fix thermald

* fix controlsd

* rename safetyModes to safetyConfigs

* update process_replay

* fix test_models

* bump cereal
2021-10-08 17:54:34 +02:00
Dean Lee c43d35a04d remove tools/lib/route_framereader.py (#22486) 2021-10-08 11:10:44 +02:00
Willem Melching 5587964d58 Fix cruise button mph increment (#22487) 2021-10-08 11:10:29 +02:00
Willem Melching d898841e87 Change APN from settings (#22440)
* Change APN from settings

* subtext

* one function

* bring connection down and up

* fix adapter type

* trim input

* fix scrolling in scanning state

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-07 23:47:23 -07:00
Jason Wen 6c6f46bf9a Hyundai: Add FW for 2021 Kia K5 (#22479) 2021-10-07 18:23:08 -07:00
Vivek Aithal 83a53618b3 paramsd: Sort messages in each update iteration before processing (#22403)
* sort livelocationKalman and carState messages in each update iteration before processing

* update refs

* update refs

* update refs

* update again

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-07 18:21:11 -07:00
Adeeb Shihadeh 5b641379ae phonelibs -> third_party (#22477)
* git mv to third_party

* find and replace

* fix release tests

* update pre-commit

* update tici bins

* update eon bins

Co-authored-by: Comma Device <device@comma.ai>
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh 5f2e82dc8a bump rednose 2021-10-07 16:29:17 -07:00
Adeeb Shihadeh f5289b93a4 bump rednose 2021-10-07 13:53:40 -07:00
Adeeb Shihadeh de7a9e0116 move athena tests to github actions (#22475)
* move athena tests to actions

* run

* fix timeout
2021-10-07 13:22:14 -07:00
Adeeb Shihadeh 59c47f0334 sim: build openpilot with frame stream camera 2021-10-07 11:31:49 -07:00
Harald Schafer 0e4058d0ec remove unused line in honda carcontroller 2021-10-07 11:18:55 -07:00
HaraldSchafer e5da7cc04b no throttle when not enabled (#22474) 2021-10-07 11:15:08 -07:00
Dean Lee 5527736df6 replay: simplify seek&merge (#22463)
* simplify seek&merge

* update test cases

update test cases

* cleanup test cases

* new function currentSeconds

* add TODO

* thread safe publishFrame

* cleanup

* fix 'at x S' not printed if seek back to old time

* exit replay if failed to load route

* move out setCurrentSegment from if statement

* cleanup

* use std::find

* const variables
2021-10-07 17:32:16 +02:00
Willem Melching 6c29a4c7fb Honda Bosch longitudinal tuning (#22407)
* revert changes to standstill logic

* start with mostly open loop

* Revert "revert changes to standstill logic"

This reverts commit d737d858e7708aedaf09cfc068b85398161e9bbe.

* proper clipping

* less lag

* less gas command

* start gas from -0.2

* controls should take care of that

* use CarControllerParams

* switch to braking sooner

* Revert "switch to braking sooner"

This reverts commit cf11dae334ccb369f625d4b13b7cd4176156a446.

* 2.5x more P

* use active

* engage on rising edge

* Revert "engage on rising edge"

This reverts commit c972956cb460eedaff3d0169a40673a6ea933385.

* update ref
2021-10-07 16:37:02 +02:00
Willem Melching 43d9478740 boardd: fix context leak in init_usb_ctx (#22472) 2021-10-07 13:24:38 +02:00
Erich Moraga 0b9b479a5a COROLLA_TSS2 add missing ESP f/w (#22446)
`PJ Tremblay#9640` 2021 Corolla ZR ICE (AUS)  DongleID/route 33e7ea5e01511d3|2021-10-06--01-37-50
2021-10-07 12:07:57 +02:00
Greg Hogan 720e82eeef replay: do not clear ui image when paused (#22467)
* replay: do not clear ui image when paused

* also stop plots

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-07 11:18:45 +02:00
Willem Melching a88cb6e962 process replay: add numeric tolerance for planner outputs (#22470) 2021-10-07 11:08:13 +02:00
Willem Melching b9797259ed boardd: lower log level for ublox msg timing issues 2021-10-07 11:07:43 +02:00
Willem Melching 305e8d07ec add Sonata N-Line FW versions (#22469) 2021-10-07 10:51:44 +02:00
Greg Hogan c1a8fe143f Hyundai Palisade: adjust tire_stiffness_factor (#22444) 2021-10-07 10:46:42 +02:00
Greg Hogan 188b634222 replay: print current time when paused (#22468) 2021-10-07 10:41:49 +02:00
Willem Melching 95957bc188 FW query: catch asserts from uds.py (#22456) 2021-10-07 10:34:59 +02:00
Jason Wen 8bd626aade Hyundai: Add FW for 2021 Hyundai Ioniq PHEV (#22455)
* Hyundai: Add FW for 2021 Hyundai Ioniq PHEV

* Force recognition

* Revert "Force recognition"

This reverts commit 6283b7f4c222d376dc8af49b02d001ff82ed3757.

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-06 20:40:12 -07:00
Jason Wen d4ac05b77b Hyundai: Add FW for 2021 Hyundai Elantra (#22461)
* Hyundai: Add FW for 2021 Hyundai Elantra

* Apply suggestions from code review

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-06 20:35:49 -07:00
Adeeb Shihadeh 493e32431c only run get_nvme_temps on C3 (#22464)
* only run get_nvme_temps on C3

* temperatures

* fix imports

Co-authored-by: Comma Device <device@comma.ai>
2021-10-06 20:32:22 -07:00
Adeeb Shihadeh e424f7182c retry submodule checkout on internal installer 2021-10-06 19:45:22 -07:00
Harald Schafer ec403da78f Make camerad timing test threshold same as rest 2021-10-06 18:40:04 -07:00
HaraldSchafer a4bc1bbb74 Long MPC cleanup (#22462)
* cleaner extrapolation

* some comments

* new ref

* more comments

* new ref
2021-10-06 17:51:23 -07:00
Adeeb Shihadeh 590023c8f1 cleanup old files from .gitattributes 2021-10-06 16:58:59 -07:00
Vivek Aithal 244fbde56e Add paramsd Stdev to message (#22443)
* add STD to message

* use modified names for car_kf state stdev atttributes

* update refs

* add modofied cereal

* update refs
2021-10-06 16:22:18 -07:00
Erich Moraga 519fdc0816 RIDGELINE add missing combinationMeter f/w (#22458)
`elliot sharpe <elliot2345@hotmail.com>`  2021 Ridgeline  DongleID/route 03ba90562055a83e|2021-10-06--08-27-30
2021-10-06 11:56:46 -07:00
HaraldSchafer 9ab09f5ae9 Retune long mpc (#22445)
* first try

* looks decent

* finalize retune

* back to 3 its

* may need 4 still

* misc cleanup

* new ref

* SPEEEED

* new ref
2021-10-06 09:37:53 -07:00
Willem Melching 227e12a477 add jupyterlab to dev packages (#22453)
* add jupyterlab to dev packages

* add prebuilt vim extension
2021-10-06 17:23:29 +02:00
Dean Lee f7cf4be995 repaly: stop publish socket on multiple publishers error (#22449) 2021-10-06 14:04:51 +02:00
Dean Lee 261d51de41 test_replay: temporarily comment out some unit tests (#22447) 2021-10-06 12:27:52 +02:00
Willem Melching e636f03c7a Set CarControl.active (#22442)
* Set CarControl.active

* update ref
2021-10-05 14:32:39 -07:00
Willem Melching 1cfabc3388 ui.py: small plotting cleanup (#22441) 2021-10-05 16:27:29 +02:00
Dean Lee b5988d5601 replay: cleanup output (#22434) 2021-10-05 15:15:46 +02:00
Dean Lee 60b0c43c90 replay: refresh segment window after current segment is changed by seek (#22436) 2021-10-05 15:15:33 +02:00
Dean Lee 97fc8b941e FrameReader: increase probesize to 10MB (#22437) 2021-10-05 15:15:11 +02:00
Dean Lee 2a8feb9eb9 replay/ui.py: get image from vipc (#22433)
* get image from vipc

* cleanup import

* if not None

* lgtm

* bump cereal&do reconnect

* bump cereal

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-05 15:14:38 +02:00
Lee Jong Mun de88349ef0 hyundai clean up interface.py (#22408)
* Update interface.py

santa_fe / santa_fe_2022 same value 
kia_k5_2021 single value

* hyundai fw sort

# fwdRadar, fwdCamera, eps, esp, engine, transmission

kia ceed esp double fix 0x7d4 eps

* Update selfdrive/car/hyundai/interface.py

* Revert "hyundai fw sort"

This reverts commit 8ab24ffeeb84c3cb11f5fa44ae45fa35ed50ac06.

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-05 09:41:20 +02:00
Jason Young 10ff1fefaf VW MQB: Add FW for 2019 Volkswagen Jetta (#22435) 2021-10-04 14:12:53 -07:00
speedking456 23b9316603 accel/decel button metric increments (#22399)
* add metric values

Freedom units have weird multiples compared to metric. Modified so that it increments by 10 km/h on long press and 1 km/h on short press, rather than 8 and 1.6 km/h. This mimics stock hyundai behaviour on metric vehicles.

* use is_metric from controlsd

* use actual mph value instead of rounded

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-04 21:11:17 +02:00
Willem Melching e233d59e03 replace unlogger.py with c++ replay (#22430) 2021-10-04 21:07:40 +02:00
Willem Melching 94afd0ea0f replay: do not use OpenCL (#22431) 2021-10-04 19:43:52 +02:00