Commit Graph

5430 Commits

Author SHA1 Message Date
HaraldSchafer
b1ad3e4e8b more readable (#22519)
old-commit-hash: 0885790e346d02ec4581efd4b2900954cc167972
2021-10-11 14:20:44 -07:00
Dean Lee
f0d16395b7 replay: get EncoderIndex from capnp::AnyStruct (#22518)
* get EncoderIndex from capnp::AnyStruct

* const
old-commit-hash: c801c65b9dbf83dde9c15317da78f113f3ee6acb
2021-10-11 09:57:35 -07:00
Kyle Greenlaw
d88503ea43 Additional FW for 2021 Hyundai Sonata Hybrid (#22482)
* New FW for 2021 Hyundai Sonata Hybrid

* Removed duplicates

* Wild cards

* Update selfdrive/car/hyundai/values.py

* restore old value

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3412388b8c91619b02fe9c8ac169300ff38963a0
2021-10-11 06:22:02 +02:00
Jason Wen
b1b3cc7583 Hyundai: Add FW for 2021 Hyundai Santa Fe (#22485)
* Hyundai: Add FW for 2021 Hyundai Santa Fe

* Add additional FW

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: f8750f66c89456cc0c2b4aa9399508eb5cacb468
2021-10-11 06:20:53 +02:00
oremax
9c32d146a0 Prius prime 2020 Engine FW (#22514)
old-commit-hash: 277b354b0cd2d37dddbcdb7b7a5c4e952f820709
2021-10-11 05:44:46 +02:00
Adeeb Shihadeh
de5f51fe48 suggest car bug report in the bug report form
old-commit-hash: aad8d709c9f484b95627c223d60818223e64ed02
2021-10-10 20:27:16 -07:00
Adeeb Shihadeh
6038f332f0 update acados libs (#22512)
* update tici libs

* eon libs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7381faa1b6c473f98ee0c6bded96f0b1bb7c393e
2021-10-10 16:38:23 -07:00
Adeeb Shihadeh
86d84599dd remove old tools camera script
old-commit-hash: 0d10c000260262c11c58452d41be845b96134d40
2021-10-10 16:07:11 -07:00
Lasse Skov
aade2e1025 tools: use .python-version in setup scripts (#22511)
* Updated tools installer to us.python-e version file

* Updated tools installer to use .python-version file

* fix path

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 25def3cc34708aa42859bf6362ba35cefafd61d4
2021-10-10 16:03:56 -07:00
xia0long
42b4521f7b sim: update CARLA to 0.9.12 (#22497)
* bump carla

* update dockerfile

* no need

* specify version

* some fixups

* fix start_carla

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a3c26a912a9d26233d040bd71fe5324cd25142fd
2021-10-10 15:54:47 -07:00
Adeeb Shihadeh
3ed45d74dd improve sim readme
old-commit-hash: 04271fef55d1ecf7d4a41c90a6e3331d7c5db294
2021-10-10 15:50:30 -07:00
Adeeb Shihadeh
8f9fd93b36 issue templates improvements
old-commit-hash: d32c11cbcba0a78ff23382c3e7293908b2efd431
2021-10-10 14:37:04 -07:00
Jafar Al-Gharaibeh
b17b840093 Mazda: fix disabling cruise main on after cancelling cruise (#22193)
On some disengagement events (brake/gas/etc) OP may occasionally
ends up disabling the main cruise control where the driver has
to press the main cruise button before they can engage ACC again.
Try to detect this situation and automatically turn on cruise
when that happens.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: c89893942374c207cc2b2473984e0700a7de7ec4
2021-10-10 14:24:57 -07:00
Jafar Al-Gharaibeh
db1ffcb8a6 Mazda: Fix steer lockout issue in CX-9 2021 (#22506)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: d19ac7e49bd48ceb30ccf9688b6b03bc798cd222
2021-10-10 14:19:43 -07:00
Jafar Al-Gharaibeh
d6a4bbc2f6 Mazda: Add CX-9 2021 GT firmware (#22509)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 2dff0597b76f290be3fcd598f032913e188020b9
2021-10-10 10:08:18 -07:00
HaraldSchafer
4814c30667 ACADOS fix non-convergence when long_plan changes (#22495)
* debug commit

* cleanup

* some indexing bugs

* need more its

* BALANCE is way better it seems

* fix test

* this converges in 2000segs

* new ref

* less cpu
old-commit-hash: 04cf12cb0064f42e507fd6ae907564cecf140d28
2021-10-10 00:05:29 -07:00
Dean Lee
96a8d9dd3e UI: fix stuck in visionIPC receive timeout (#22450)
old-commit-hash: afaf235acd533e9c105925caab1e872ee3d3457b
2021-10-09 14:43:27 -07:00
Adeeb Shihadeh
bd8ed4caa9 use forms for car and pc bugs (#22502)
old-commit-hash: 5428dee4d2359949159de386ff57010cce2d405c
2021-10-09 14:32:10 -07:00
Adeeb Shihadeh
dbff2788d3 try out new github issue forms (#22501)
* try new issue templates

* Update new_bug_report.yml

* replace old one
old-commit-hash: bd36f2ec8d3559909678eff2690c10a520938367
2021-10-09 14:19:26 -07:00
Dean Lee
3f5c7afba3 replay/camera: fix incorrect console output (#22491)
old-commit-hash: 537dff3ae0bac7ca3d40f1441297cc146dc1a9bb
2021-10-08 19:51:23 -07:00
Adeeb Shihadeh
39811d083f boardd: reduce unnecessary allocations (#22494)
old-commit-hash: 2f1ab6392057b33d7375a243aa37f46f829e9c55
2021-10-08 16:16:23 -07:00
Comma Device
358547e114 remove semicolon
old-commit-hash: 52cd06aa62a5bfc6bd6d363381f7df608cdd4a4d
2021-10-08 12:21:47 -07:00
Willem Melching
456faf16ab installer: leave some space after strings
old-commit-hash: e788f4f587be91fdd1bcae89078fcea788d6a13d
2021-10-08 11:27:54 -07:00
Adeeb Shihadeh
87be9258b1 installer: cleanup old cache paths
old-commit-hash: db81bf52ea861cc36ea7151ae87b847c07fcb7f9
2021-10-08 10:42:41 -07:00
AlexandreSato
6ff69908ff update comment in toyota carcontroller (#22490)
old-commit-hash: 879b50c1a3850388fb54e81acd1d8feb7eb5c6e6
2021-10-08 10:13:50 -07:00
Robbe Derks
58c99158a1 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
old-commit-hash: 91987f38d425e2a5dc61d09571933cffb9536113
2021-10-08 17:54:34 +02:00
Dean Lee
67677a4539 remove tools/lib/route_framereader.py (#22486)
old-commit-hash: c43d35a04dfeb5f890091ecdfbfe373054e955ae
2021-10-08 11:10:44 +02:00
Willem Melching
627c6260cf Fix cruise button mph increment (#22487)
old-commit-hash: 5587964d589761142bd23eef8e08b0134b30ed6e
2021-10-08 11:10:29 +02:00
Willem Melching
1c5ffc32ea 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>
old-commit-hash: d898841e87d548cd057a7546b1c28be36eab0f1a
2021-10-07 23:47:23 -07:00
Jason Wen
263268e296 Hyundai: Add FW for 2021 Kia K5 (#22479)
old-commit-hash: 6c6f46bf9a0984a2a64d88bc133204c8a765964c
2021-10-07 18:23:08 -07:00
Vivek Aithal
9f96d63520 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>
old-commit-hash: 83a53618b3a04377ee55561da7460a6f5da7d8d1
2021-10-07 18:21:11 -07:00
Adeeb Shihadeh
782d7023d2 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>
old-commit-hash: 5b641379ae04d3408093381629b9d60dee81da27
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh
9c04514185 bump rednose
old-commit-hash: 5f2e82dc8a7f38a78e4daa62b8b237c879949c5c
2021-10-07 16:29:17 -07:00
Adeeb Shihadeh
9727ef3abb bump rednose
old-commit-hash: f5289b93a45a71b428381415c41680a171a15898
2021-10-07 13:53:40 -07:00
Adeeb Shihadeh
ad96d0d130 move athena tests to github actions (#22475)
* move athena tests to actions

* run

* fix timeout
old-commit-hash: de7a9e01160399228c30795769dc1ec6039cb8f4
2021-10-07 13:22:14 -07:00
Adeeb Shihadeh
b3fdccfab3 sim: build openpilot with frame stream camera
old-commit-hash: 59c47f0334524fc63b35b1fe067a70d47e1fe3de
2021-10-07 11:31:49 -07:00
Harald Schafer
6437d6654a remove unused line in honda carcontroller
old-commit-hash: 0e4058d0ec2bf0b2f0154b48d43061f80defd17b
2021-10-07 11:18:55 -07:00
HaraldSchafer
b71789f5b7 no throttle when not enabled (#22474)
old-commit-hash: e5da7cc04b75df4592b7c6f16ec649fa60e29ef0
2021-10-07 11:15:08 -07:00
Dean Lee
0f49ecbff7 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
old-commit-hash: 5527736df6ffb1f94be48d6a84245165fdf0cac0
2021-10-07 17:32:16 +02:00
Willem Melching
6dea543246 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
old-commit-hash: 6c29a4c7fb83f9a4935d6003970b6b3442cccfd8
2021-10-07 16:37:02 +02:00
Willem Melching
6762c152de boardd: fix context leak in init_usb_ctx (#22472)
old-commit-hash: 43d94787401d91f58f8a84ae8e70c739f10172a4
2021-10-07 13:24:38 +02:00
Erich Moraga
a8a493afc6 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
old-commit-hash: 0b9b479a5ac434dce5af385763ab78de2f72bb55
2021-10-07 12:07:57 +02:00
Greg Hogan
ce1c24a0df 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>
old-commit-hash: 720e82eeef7be15d234ac2ea1fe42e43063ec5f8
2021-10-07 11:18:45 +02:00
Willem Melching
0bbc8c4d4a process replay: add numeric tolerance for planner outputs (#22470)
old-commit-hash: a88cb6e962ebbecaf1c4dcac0bc2108373fc7917
2021-10-07 11:08:13 +02:00
Willem Melching
ed7088c0f6 boardd: lower log level for ublox msg timing issues
old-commit-hash: b9797259edeca45cc5794a4bc009f56734b5c618
2021-10-07 11:07:43 +02:00
Willem Melching
8fa07ee251 add Sonata N-Line FW versions (#22469)
old-commit-hash: 305e8d07ec6653c0688730632bd0a28b7fce009f
2021-10-07 10:51:44 +02:00
Greg Hogan
cfa43cec71 Hyundai Palisade: adjust tire_stiffness_factor (#22444)
old-commit-hash: c1a8fe143f2503dc39af88a6473847d55d257a3a
2021-10-07 10:46:42 +02:00
Greg Hogan
95843a6754 replay: print current time when paused (#22468)
old-commit-hash: 188b634222bb97af08afe4a37028a5e9b64d499b
2021-10-07 10:41:49 +02:00
Willem Melching
82f0522647 FW query: catch asserts from uds.py (#22456)
old-commit-hash: 95957bc188504e0c8d97071178d820a1222ababd
2021-10-07 10:34:59 +02:00
Jason Wen
db7404fe8a 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>
old-commit-hash: 8bd626aadea768f6fe11be60a60c7d63f785c769
2021-10-06 20:40:12 -07:00