Commit Graph

3988 Commits (aa0cc260b9bc3f6e2a2d2c8e837c92243e6c07cf)

Author SHA1 Message Date
Dean Lee aa0cc260b9
wifiManager/get_response: pass response by const reference (#22997) 2021-11-20 20:19:43 -08:00
Adeeb Shihadeh b07ddad6ed comma pedal: rename create_gas_command -> create_gas_interceptor_command 2021-11-20 20:13:58 -08:00
Adeeb Shihadeh 944fa5fa08 boardd: resolve TODO, still need that for USB errors 2021-11-20 19:06:47 -08:00
Dean Lee 1d2dfab81c
replay: add test to check dcam and ecam (#22993) 2021-11-20 18:56:27 -08:00
Dean Lee d97ad1302a
moded/RunModel: fix possible memory leak without a virtual destructor (#22990) 2021-11-20 11:41:24 -08:00
Dean Lee 9cb46cc4a1
logreader: fix memory leak in Event (#22987) 2021-11-20 11:12:52 +01:00
Dean Lee b399b48f0a
ui/settingswindow: set parent for nav_btns. (#22984) 2021-11-19 20:40:46 -08:00
Dean Lee 7ce9ff1b04
ui/device: fix uninitialized variable awake (#22983) 2021-11-19 20:40:29 -08:00
Adeeb Shihadeh cfdeeff3fd
test car models: verify panda and carState's ACC main on match (#22979) 2021-11-19 15:07:16 -08:00
Vivek Aithal 94d59314e2
Revert ecef std until real fix (#22982)
* too low

* update refs

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2021-11-19 12:49:32 -08:00
ZwX1616 80940b9844
dmonitoringmodeld: fix black padding not black after libyuv.I420Scale (#22971)
* true black

* set black once

* move def

* add commnet

* Update selfdrive/modeld/models/dmonitoring.cc

* Update selfdrive/modeld/models/dmonitoring.cc

* Update selfdrive/modeld/models/dmonitoring.cc

* Update selfdrive/modeld/models/dmonitoring.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-19 12:16:23 -08:00
Adeeb Shihadeh 9abfc02148
Hyundai: remove longitudinal whitelist (#22976)
* Hyundai: remove longitudinal whitelist

* move legacy safety mode into values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-19 14:20:03 +01:00
Adeeb Shihadeh e13630dfee
faster jenkins (#22973)
Co-authored-by: Comma Device <device@comma.ai>
2021-11-18 23:43:09 -08:00
Dean Lee 63779c385d
ui: disable toggles while onroad (#22975)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 21:45:40 -08:00
Andrew 2a6816b893
Genesis G70 2020 port (#22692)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 20:45:32 -08:00
Adeeb Shihadeh 2723cc6cf8 test car models: only check cruise state on PCM cruise cars 2021-11-18 20:42:48 -08:00
Adeeb Shihadeh 01c2a0a211 test car models: support disable radar cars 2021-11-18 19:59:30 -08:00
Cruise Brantley d77438b4e3
Hyundai: Add Elantra to allowed longitudinal cars (#22974) 2021-11-18 18:41:09 -08:00
Jason Wen 73d66ada8d
Hyundai: Car Port for 2022 Santa Fe Hybrid (#22962)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 17:33:10 -08:00
Dave 957864019a
GMC Acadia: Add lateral feedforward function (#22899)
* GM Acadia lateral tuning

* old tune was not returning to center, nor strong enough. Trying to make P and F equal.

* reduce integral, and eyeball actuator delay

* return PI to openpilot default

* remove default values from acadia

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
2021-11-18 15:45:37 -08:00
Adeeb Shihadeh f813ae3e1a back to 0.8.11 2021-11-18 15:10:41 -08:00
Jason Young ef38117219
VW MQB: Volkswagen T-Roc Mk1 (#22967) 2021-11-18 14:52:59 -08:00
Brett Sanderson 8b25551c7f
Honda: rename HONDA_NIDEC_ALT_MAIN to HONDA_PARAM_NIDEC_ALT_SCM_MESSAGES (#22970)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 14:52:37 -08:00
Adeeb Shihadeh 9e1ee72a91 CI: fix test car models bug 2021-11-18 14:40:59 -08:00
Igor Biletskyy edaf7d7604
fix chunk buffer size (#22969) 2021-11-18 14:15:06 -08:00
Dean Lee 57db99700c
panda: fix len_to_dlc always return 1 if len > 24 (#22964) 2021-11-18 13:02:36 -08:00
Willem Melching 23a1f47817
uploader: switch to upload_url v1.4 (#22966) 2021-11-18 16:23:50 +01:00
Willem Melching 77b334a698
swaglog.py: respect LOGPRINT env variable (#22950)
* swaglog.py: respect LOGPRINT env variable

* only change handler that prints

* keep usefull manager prints

* only print running list

* revert process changes

* fix test
2021-11-18 16:05:06 +01:00
Cameron Clough 140c7f430c
api: send User-Agent on network requests (#22965)
* api: set User-Agent on network requests

The format of the User-Agent header matches the format in `common/api/__init__.py`.

Closes #22954.

* Update selfdrive/ui/qt/util.cc

* fix parentheses

* refactor into function

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-18 15:53:21 +01:00
eFini 52c4ab73a9
nav: flip instruction images for RHD (#22877)
* nav instruction icon for rhd

* we dont need rhd for active direction

* define suffix as constant

* ps version icon

* reflect icon instead

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-18 14:14:41 +01:00
Robbe Derks 4960578bdf
Tesla longitudinal control (#22561)
* tesla long squashed changes

* fix no resume from stop

* try setting accel limits to 0 to remove jerk with fast switchover

* expand radard lookup tables

* bump merged panda submodule
2021-11-18 13:57:12 +01:00
Adeeb Shihadeh 6c909ba651 better update prompt text 2021-11-17 23:28:23 -08:00
Adeeb Shihadeh 2a72e2a514
add offroad alerts for car unrecognized (#22934)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
2021-11-17 20:29:00 -08:00
HaraldSchafer 24aadaf1f3
Lateral planner: lower max cost (#22960)
* prevent ping pong when tuning is not so great

* update refs
2021-11-17 20:24:10 -08:00
Dean Lee ddea21e648
replay: fix swsscale crash on nv12->yuv conversion (#22961) 2021-11-17 20:04:45 -08:00
Dean Lee 0716635808
boardd: fix a panda may be connected by multiple panda instance (#22932)
* fix bugs in main

* no auto
2021-11-17 19:25:21 -08:00
Dean Lee 841fb93def
boardd/can_recv_thread: improve caching for can_frame (#22944)
* better cache

* use emplace to remove copy&realloc

* rebase master
2021-11-17 17:54:14 -08:00
Adeeb Shihadeh 14651866c2
Honda: handle ACC state consistent with ISO 15622:2018 (#22958) 2021-11-17 17:30:50 -08:00
Igor Biletskyy 47d0d717eb
panda.cc: struct for CAN header, counter complexity, cleanup for readability (#22956)
* try struct

* can_send refactor

* cleanups

* Resize vector only when it is needed

* ...

* more cleanup
2021-11-17 16:00:18 -08:00
Adeeb Shihadeh 7d18e26ff1 bump to 0.8.12 2021-11-17 15:00:37 -08:00
Jafar Al-Gharaibeh 787dde003e
Mazda: fix typo in CX-5 fw (#22957) 2021-11-17 13:49:10 -08:00
Adeeb Shihadeh f2a81309e1 Revert "Revert "Fix build failures in Ubuntu 21.10 (#22952)""
This reverts commit 5e2570dc75.
2021-11-17 13:46:38 -08:00
Jason Young 36ca9d2daa
VW MQB: Add FW for 2018 Volkswagen e-Golf (#22953) 2021-11-17 13:44:10 -08:00
Adeeb Shihadeh 5e2570dc75 Revert "Fix build failures in Ubuntu 21.10 (#22952)"
This reverts commit 61f9b3e653.
2021-11-17 11:40:17 -08:00
Jason Shuler 61f9b3e653
Fix build failures in Ubuntu 21.10 (#22952)
* Fix compile on Ubuntu 21.10

* Add missing c++17 optional refs in ui
2021-11-17 18:59:36 +01:00
Willem Melching f1c77f97b9
cleanup unused pip packages (#22947)
* cleanup unused pip packages

* fix linter
2021-11-17 16:23:03 +01:00
Willem Melching 372b0f10da Revert "cameraview: remove glflush, reduce C3 CPU usage (#22949)"
This reverts commit 33b1b94067.
2021-11-17 16:22:25 +01:00
Dean Lee 33b1b94067
cameraview: remove glflush, reduce C3 CPU usage (#22949)
* remove glflush

* revert cpu
2021-11-17 15:37:45 +01:00
Adeeb Shihadeh 0a1aaaa74c
Take camera snapshot using VisionIPC (#22070)
* vipc snapshot

* front and rear need to go

* remove SEND_*

* cleanup

* put that back

* fix duplicate code

* dont start camerad on pc

* fix rgb stride

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-17 15:24:50 +01:00
sshane fa55dbe983
ui: draw all radard leads (#22901)
* draw leads detected from radar since it has a low speed override

* comment

* fill lead_verticies

* fix

* Revert changes

Revert "fix"

This reverts commit 7a478c435a0913e09512801309cf52654f3e17ac.

Revert "fill lead_verticies"

This reverts commit 5cdf265bb98480413a4a83c093b3e00489ba2f94.

Revert "comment"

This reverts commit 24a8a3fc2beef263909810d828d4e4fb5ea576e8.

Revert "draw leads detected from radar since it has a low speed override"

This reverts commit 4679fa5d16c7e961def9aaa52e92fb7d994a830d.

* Revert "Draw model leads (#21864)"

This commit reverts 276b00ccb8
2021-11-17 14:29:54 +01:00