Commit Graph

3981 Commits

Author SHA1 Message Date
Vivek Aithal 80600a77dc expose filter internal states and stds (#22564)
old-commit-hash: f1546e6552fdf51b99cb44eafff5f88b1de536f1
2021-10-14 19:44:31 -07:00
Jason Wen 748ef217c7 Hyundai: Add Kona EV and Kona HEV to higher STEER_MAX limit (#22520)
old-commit-hash: c2a5f0ade2efeb02ecce36fc164b7e70bab75b3a
2021-10-14 19:41:43 -07:00
Jason Wen 872f78e615 Hyundai: Add FW for 2022 Hyundai Santa Fe (#22559)
* Hyundai: Add FW for 2022 Hyundai Santa Fe

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fe7ab37b7be67eb8d5c3f20683a385011796ffc3
2021-10-14 19:37:01 -07:00
Dean Lee 78f3f21f90 HardwarePC::TICI() : use util::getenv (#22532)
old-commit-hash: 1e78a06b840b607b8fcd27b626d8cbd90c0bfc9e
2021-10-14 14:23:05 -07:00
dlsp 1779243675 params: include optional header (#22553)
old-commit-hash: c6b210da0218e11087adb7f6308aef6912db4ba7
2021-10-14 13:09:51 -07:00
Vivek Aithal 0bc7ccfbaa remove confusing logic in live_kf, move to locationd (#22558)
old-commit-hash: d22f57e36db00f1e6873e3a50f22b8ab2fa94232
2021-10-14 11:57:50 -07:00
Greg Hogan 45d9f8ecc2 ModelDataRaw struct with fixed size arrays (#22544)
* convert pose

* fix indexes
old-commit-hash: 21e58f9f4a43e0455ed038cf5e16302803abdf0e
2021-10-13 20:03:15 -07:00
Chris McCammon da149b17ca C-HR Firmware (#22549)
old-commit-hash: 12353bbea92e06cb80ea4d50bc09947d445bbda3
2021-10-13 19:33:07 -07:00
Dean Lee 535550540f modeld: more readable fill_model (#22540)
* more readable fill plan_t_attr

* remove parameter column_offset from fill_xyzt
old-commit-hash: ac9bef1f645910c52283fe067947b6b18cef736f
2021-10-13 19:01:08 -07:00
ZwX1616 d4cbef299b wider FOV DM on comma three (#22286)
* c3 is straightforward

* c2 transform

* c3 preview

* alpha model

* Revert "alpha model": wrong quantization data

This reverts commit b50e5739735b30d960aca22bcf3cbe23b0121e13.

* yuv looks good

* a55b

* const int

* block top deadzone

* new box alpha curve

* update k

* fix debug

* rhd use same offset

* box shift for rhd

* 7e3e

* set new thresh

* update ref

* explain

* remove e2e

* same metric thresh

* process isocc

* model

* cancel extra policy

* update numbers

* new model

* update cereal

* up cereal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8574e79fecff6dba6c68486b627c73499d4b3d03
2021-10-13 17:00:46 -07:00
Erich Moraga 15a577d5e5 Add missing LEXUS_ESH_TSS2 engine & fwdRadar f/w (#22517)
`@LeoCar#9563` 2019 Lexus ES300 Hybrid DongleID/route 480aecfc70a26bb7|2021-10-10--19-20-25
old-commit-hash: f64077298087c8fca7a059412279d6654cf20172
2021-10-13 16:02:38 -07:00
Erich Moraga 6ba38824d2 Add missing RAV4_TSS2 engine f/w (#22545)
`@James Tai#3141` 2020 RAV4 ICE  DongleID/route  5f3ff874ab5b3e0d|2021-10-14--02-22-22
old-commit-hash: 973ccc5ec9504d7209116bc6e534d5fa425b769a
2021-10-13 14:32:16 -07:00
Mitchell Goff 075d7a85a0 Use TICI intrinsics by default on PC (#22546)
old-commit-hash: fd3fdea7b4f811038c3e1145d283b0f7e15a90f0
2021-10-13 12:44:36 -07:00
Adeeb Shihadeh cf05d622e0 add some docs for selfdrive/debug
old-commit-hash: 112df19d384cad7ff8ce120072fc5a5958bdc286
2021-10-12 20:17:12 -07:00
Chris McCammon 1b6c02e160 CH-R Hybrid fw (#22538)
old-commit-hash: 649d70eafa909d11aa2eb8bee1b9223d92d04e3e
2021-10-12 12:36:07 -07:00
Dean Lee 06a1dd7598 c++ replay: support local routes (#22288)
* support local route

* kind of works

* works

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 43a846843f1a8af33c21afb10195899e8880d775
2021-10-12 00:51:22 -07:00
Adeeb Shihadeh 65556ea816 add tool to watch all three beautiful cameras (#22528)
old-commit-hash: ff771d9fcfb87ab03fb78d3f66da94eef23dfb59
2021-10-12 00:23:31 -07:00
Adeeb Shihadeh 7badcdffad set arg types
old-commit-hash: 2f2b9116d48272c62e226c7452ddc95f9a2f48ff
2021-10-11 20:41:28 -07:00
Adeeb Shihadeh 668c524d4d fix decode errors in can printer
old-commit-hash: 2456296858623789464581ec5498d3e332358638
2021-10-11 20:06:00 -07:00
Adeeb Shihadeh ff6777bc42 show ascii in can printer
old-commit-hash: 14a1441cbbd89e95c56b749ab22278f1ee6d08c4
2021-10-11 20:03:35 -07:00
Adeeb Shihadeh 3f9ad18811 add arg parser to can printer
old-commit-hash: 683ddeebc8834fe0c9b6f7f19e9a39a02200d152
2021-10-11 19:47:49 -07:00
HaraldSchafer b7aba92661 Remove accel cost in long MPC (#22527)
* ACCEL not useful

* new ref
old-commit-hash: c4510024da75b7684cdfb300aaab639078b3f62b
2021-10-11 17:20:40 -07:00
Adeeb Shihadeh 6472b5b6c9 replay: support old, pre-pandaStates routes (#22525)
* replay: support old, pre-pandaStates routes

* cleanup
old-commit-hash: f1fcf17c4cde07c07cea7b6be68a5f845ce039e9
2021-10-11 15:58:44 -07:00
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
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
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
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 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
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