Commit Graph

5883 Commits

Author SHA1 Message Date
Shane Smiskol 1b79236fa0 Clean up planner files (#23031)
* clean up planner files

clean up planner files

* fix plant instance
old-commit-hash: 93fd662adf91eda4a17a0ebedbf9dfba61c09901
2021-11-26 14:57:39 +01:00
Dean Lee 7f0beef092 loggerd: add test case for trigger_rotate (#23038)
* test rotate

* remove global LoggerdState
old-commit-hash: 1d323e0fd6e6050180bdf1b0a9793a4f52c47e9a
2021-11-26 14:53:09 +01:00
Dean Lee e308bc0a3f framereader: replace swscale with libyuv, reduce cpu usage by half (#22992)
* use libyuv

* cleanup
old-commit-hash: 5ae51745097e3245c541456029fbc0fcce63a3c3
2021-11-26 14:41:14 +01:00
Dean Lee 89fcaad057 qt/settings: reuse params (#23041)
old-commit-hash: ac179e2c36c3c9e2988016120bd7c1cf308872c5
2021-11-26 14:39:25 +01:00
Dean Lee e8b9513fcf qt/settings: use default parameter for params.get (#23042)
old-commit-hash: 723c8d6a7c8286fb85cb8e784f1d562410b91415
2021-11-26 14:39:04 +01:00
Willem Melching 935ce9edad navd: render map into VisionIPC (#22800)
* navd: render simple map

* render route

* offscreen rendering

* cleanup

* more cleanup

* render into visionIPC

* rename class

* split position update from route update

* stop broadcast if not active

* gate vipc server behind flag

* add python library

* faster

* no vipc from python

* put behind extras

* only send when loaded

* add glFlush just to be sure

* cleanup settings into helper function

* function ordering

* broadcast thumbnails

* put behind param

* adjust zoom level

* add route to python bindings

* revert that freq change

* add logging if map rendering is enabled

* use rlogs if available

* bump cereal
old-commit-hash: 5069852573128f40dd0174eb1d0f3f983367863d
2021-11-26 14:38:02 +01:00
eFini 6558e04dcb UI: minor changes to make it translation friendly (#23032)
old-commit-hash: 21ff97b8c93f63644345c77914ad12c8b178e8b8
2021-11-25 22:30:07 -08:00
grekiki 5b2511162a replace list comprehensions with generators (#23037)
old-commit-hash: 68c1a666a03a381768673a1b29a73f9131f0ed62
2021-11-25 15:53:11 -08:00
Jason Young 757c7c74b2 VW MQB: Add FW for 2013 Volkswagen Golf (#23036)
old-commit-hash: adaffb33551ecfcf06097a6ac7196984e00a6f1e
2021-11-25 14:37:33 -08:00
ZwX1616 97175e78a1 test: Replay both models on C2/C3 (#23019)
* add dcam stream

* delete model_test

* both in jenkins

* update spinner

* get filename fn

* they are not random names

* update route

* new ref commit

* temporarily resize tmp

* clean up unlog send

* need calib 0

* revert device

* cleanup

* arg

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1ec8f03ec642fb5117727eaf31df4841625e0d7b
2021-11-24 15:59:19 -08:00
Dean Lee 04fefd6791 boardd: const reference pandaStates to avoid copy (#23030)
old-commit-hash: ab9c7a11a9c6ef6e891429b26e77d59a70b0f418
2021-11-24 15:45:48 -08:00
Vivek Aithal d537897e9a locationd: Fix Nav localization reliability (#22959)
* modify reset logic

* remove debug statements

* use ecef pos and vel covariances during reset

* reset orientations initialized to 0,0,GPSbearing

* refactor nav fix

* add fake gps observations to control ecef pos and ecef vel std

* replace fake_P with individual fake cov

* set gps mode flag

* add gps invalid flag names

* update refs

* more accurate gps accuracy check + update refs
old-commit-hash: 8b6a14758329eb977beb5cba73403dd113495aeb
2021-11-24 15:24:25 -08:00
Adeeb Shihadeh ec6eb5b582 process replay: add cx9 route to migration list
old-commit-hash: 5bcb4c03581fac92dd1418ed94b5125d180461e9
2021-11-24 14:08:46 -08:00
Dean Lee c1ef2b7493 loggerd: add test case for sync_encoders (#23020)
old-commit-hash: b5eb02181c84285ecc89c4cfe0292ca866354985
2021-11-24 13:34:16 -08:00
Adeeb Shihadeh e9f5b17ed1 update refs for new mazda name
old-commit-hash: eb55226c2bc53b787834eb51997d2df1900cc892
2021-11-24 13:31:02 -08:00
Adeeb Shihadeh ed75e6600d mazda: capitalize CX9 like all others cars
old-commit-hash: f0f7359f6a7b38613d2ffc11c900add7631f46a4
2021-11-24 11:53:10 -08:00
Robbe Derks b830692a31 Typo in Quectel FCC ID
old-commit-hash: 1fd8fc45938ea245314b35d9dc8e53f2445d1b9d
2021-11-24 11:19:04 +01:00
Adeeb Shihadeh 5aebf5466a can_replay: warning & clone cmd if jungle lib is missing
old-commit-hash: b8393f7271c3b1845e7ad49e35db8688c01770cc
2021-11-23 23:33:26 -08:00
Adeeb Shihadeh 89eb02fee4 Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 239c7c1d4e7c5b854490bc44f6f4dc252b331cf3
2021-11-23 23:19:11 -08:00
Dean Lee a919e5721e panda: add unit tests for usb protocol (pack/unpack) (#22955)
* prepare for unit tests

* add to selfdrive_tests.yaml

* test header

* test chunk count

* rename test function

* continue

* don't check chunks count

* test recv_can

* continue

* small cleanup

* merge master

* cleanup

* rename functions

* test different packet size

* fix operator precedence problem

* refactor unpack_can_buffer

* cleanup test

* cleanup unpack_can_buffer

* add test for multiple pandas

* rename to test_panda

* restore test_boardd

* rename to test_boardd_usbprotocol

* fix typo

* bus_offset = [0,4]

* change src

* use USBPACKET_MAX_SIZE
old-commit-hash: c77354009c61da8a322dc9aaaa4c1ecaec432449
2021-11-23 20:15:22 -08:00
Dean Lee 987f87cc0e loggerd: split loggerd.cc into three files
old-commit-hash: 75dd0d6296753dea9f6817955ef975f8d543fd19
2021-11-23 17:53:49 -08:00
George Hotz 5d990ad509 thermald: track power usage / pmic temps (#23013)
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6462ced209fe545c2354c0d04bee98767a03eea7
2021-11-23 16:08:20 -08:00
Dean Lee b2e59c0bfe networking: remove unused #inculde<QMovie> (#23016)
old-commit-hash: 6964adec39b8264d4332fe1daee99a336a4a275b
2021-11-23 15:24:28 -08:00
Willem Melching 21651f23b9 don't build internal kalman objects on device (#23011)
old-commit-hash: 9417051062b80a6df8b21043186cacf348d90d31
2021-11-23 16:25:51 +01:00
Erich Moraga 2844ba5248 Add several missing CHRH f/w (#23002)
`Hookler#6341` 2017 C-HR DongleID/route 9de14f6c78d29e91|2021-11-22--03-48-14
His car was previously FP'ing over FPv1 on OP 0.8.1, and he didn't realize it, until I verified it.  Relevant FPv1 was pruned from newer code.
old-commit-hash: 9b9cbe1f375bddb4665fd53e63697663e84a8130
2021-11-23 15:35:08 +01:00
Dean Lee 0babd4d6e8 UI: fix cameraview crash after going offroad in settings window (#23009)
old-commit-hash: c1f617db46e3ed0aa9993dadd278f4f0c0efef6b
2021-11-22 21:46:46 -08:00
Adeeb Shihadeh bef53929d7 camerad: lower YUV vipc buffer count to 40 on tici
old-commit-hash: 20d5c0c1cb73f848770bcf8b887eff9ccd43a442
2021-11-22 16:53:59 -08:00
Adeeb Shihadeh 43abb312f8 boardd: small cleanup (#23005)
old-commit-hash: d482b2d0a265473bbb3a44e88810a436d53566bb
2021-11-22 15:15:03 -08:00
Adeeb Shihadeh 8731fc42b7 back to 0.8.12
old-commit-hash: a941a1040da3bcacca24f2eeee1745d7376d2394
2021-11-22 14:26:00 -08:00
Erich Moraga 821ddf785f Add Lexus RC support (#22941)
* Add f/w firmware for Lexus RC under LEXUS_IS

`@ph33rl355#0529`  2020 Lexus RC F Track Edition  DongleID/route 32696cea52831b02|2021-11-16--23-12-02

Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229

* Update CARS.md

* Separated Lexus RC from IS... still using IS DBC

* match lexus IS for now

* Update wheelbase to match published specs

I'm hesitant to touch `mass`, even though I know it's different from the IS.

* Add TOYOTA.LEXUS_RC test route

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d630ec9092f039cb5e51c5dd6d92fc47b91407e4
2021-11-22 14:22:28 -08:00
Adeeb Shihadeh 76aed9c23b perfetto (#22998)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b51da61dc4401efadfe15b90ce65ab24c80cf9e0
2021-11-22 14:03:42 -08:00
Jason Young b30ff5fd0c VW MQB: Longitudinal prereqs (#23004)
old-commit-hash: 819b7a120ac08ca64abda390da7cd36b21da4781
2021-11-22 14:01:42 -08:00
Adeeb Shihadeh 3a6413a103 Honda Bosch cleanup (#22999)
old-commit-hash: 7746130a1e68ea2b8b0c781effb344f1edb207bc
2021-11-21 14:52:35 -08:00
Adeeb Shihadeh 3a47379995 boardd: add note about slow disconnected panda check
old-commit-hash: a405fc5d43ebe4acd644e2ad14338e34841320f2
2021-11-21 00:32:05 -08:00
Adeeb Shihadeh f22905b998 boardd: set thread names
old-commit-hash: fb32381a8893f3999d1f34f6efda6f15846027a2
2021-11-21 00:20:33 -08:00
Dean Lee 31b63386f8 wifiManager/get_response: pass response by const reference (#22997)
old-commit-hash: aa0cc260b9bc3f6e2a2d2c8e837c92243e6c07cf
2021-11-20 20:19:43 -08:00
Adeeb Shihadeh 5e6608b67e comma pedal: rename create_gas_command -> create_gas_interceptor_command
old-commit-hash: b07ddad6ed62f9b0002ce7aa73db932dd2d7a73e
2021-11-20 20:13:58 -08:00
Adeeb Shihadeh be1f80810e boardd: resolve TODO, still need that for USB errors
old-commit-hash: 944fa5fa0814d9499036b4ffa505a06ee3f926fc
2021-11-20 19:06:47 -08:00
Dean Lee 8f9ca8d3f6 replay: add test to check dcam and ecam (#22993)
old-commit-hash: 1d2dfab81c60e48ebaeabe01efe74222190a7071
2021-11-20 18:56:27 -08:00
Dean Lee a80999fd4f moded/RunModel: fix possible memory leak without a virtual destructor (#22990)
old-commit-hash: d97ad1302a5ad665caa4cb081ada3db477ebaee4
2021-11-20 11:41:24 -08:00
Dean Lee 2d8780e5c6 logreader: fix memory leak in Event (#22987)
old-commit-hash: 9cb46cc4a12063c0ec27e9cf932cb8f7a10ed63a
2021-11-20 11:12:52 +01:00
Adeeb Shihadeh 4ffc570eb8 link to ctf in tools readme
old-commit-hash: a64169af26c905521e85e1a48d1cff0095f24d8a
2021-11-19 21:16:49 -08:00
Dean Lee 05b2ff7f26 ui/settingswindow: set parent for nav_btns. (#22984)
old-commit-hash: b399b48f0a32e17a111571d8b1d6ccef52432e1c
2021-11-19 20:40:46 -08:00
Dean Lee 3492b1290f ui/device: fix uninitialized variable awake (#22983)
old-commit-hash: 7ce9ff1b0420e5e371570e7d69deb5c19d41ec0f
2021-11-19 20:40:29 -08:00
Adeeb Shihadeh bb0c6b7314 bump 0.8.11 release date
old-commit-hash: 08078acbd0b4f7da469c7dff6159000e358974a9
2021-11-19 15:08:56 -08:00
Adeeb Shihadeh 4249c77159 test car models: verify panda and carState's ACC main on match (#22979)
old-commit-hash: cfdeeff3fdef028e2254a29f3fabeed99246eb07
2021-11-19 15:07:16 -08:00
Vivek Aithal 16d9fcbd80 Revert ecef std until real fix (#22982)
* too low

* update refs

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: 94d59314e28c484c8a4a9fb36c8ab659ea79da57
2021-11-19 12:49:32 -08:00
ZwX1616 fc1954492b 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>
old-commit-hash: 80940b98440a71e15d96dcb16105a3d0b39393f3
2021-11-19 12:16:23 -08:00
Greg Hogan 0ff7695dcb Revert "update_requirements.sh: install both Pipfiles"
This reverts commit 97ea2c37e0e831216969b8c04e9053022e39ca10.

old-commit-hash: 148c739ec754c981889c714faa265a7fa0010676
2021-11-19 11:48:34 -08:00
Adeeb Shihadeh 66aac35dd9 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>
old-commit-hash: 9abfc02148ea6fa5552f3f1563cf6d5310b73044
2021-11-19 14:20:03 +01:00