Commit Graph

5529 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7237128a1d script to apply patch from PR 2021-11-28 13:33:57 -08:00
Dean Lee
a449b856ca framereader: fix crash after fallback to cpu decoding (#23055) 2021-11-28 13:29:40 -08:00
Willem Melching
a4ca8e4835 sim: improve carla performance (#23046) 2021-11-28 11:32:37 +01:00
Adeeb Shihadeh
8160cf3c1b camerad: remove camera frame stream (#23045)
* camerad: remove camera frame stream

* fix release files
2021-11-27 21:58:21 -08:00
Igor Biletskyy
b2a018643f Extra check for tail_size length (#23047) 2021-11-27 12:22:54 -08:00
George Hotz
c6f62ebc4f Revert "boardd: be careful with paren order in assert"
This reverts commit 50cd8588a2.
2021-11-27 00:57:30 -05:00
George Hotz
50cd8588a2 boardd: be careful with paren order in assert 2021-11-27 00:28:33 -05:00
jimw
a58d272ae4 CARLA: send YUV and RGB over visionipc from bridge.py (#23012)
* CARLA: send YUV and RGB over visionipc

* CARLA: send YUV and RGB over visionipc-fix pipfile

* CARLA: send YUV and RGB over visionipc-Camerad class

* relock pipfile

* small bridge cleanup

* use tici camera resolution

* update vof

* HUD_SETTING has no counter

* no loggerd

Co-authored-by: jwolffe <wolffja@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-26 16:58:25 +01:00
Dean Lee
e376a621ba ui/device: change last_brightness from float to int (#23029) 2021-11-26 14:59:23 +01:00
Willem Melching
ee4a1ee700 bump cereal 2021-11-26 14:58:06 +01:00
Shane Smiskol
93fd662adf Clean up planner files (#23031)
* clean up planner files

clean up planner files

* fix plant instance
2021-11-26 14:57:39 +01:00
Dean Lee
1d323e0fd6 loggerd: add test case for trigger_rotate (#23038)
* test rotate

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

* cleanup
2021-11-26 14:41:14 +01:00
Dean Lee
ac179e2c36 qt/settings: reuse params (#23041) 2021-11-26 14:39:25 +01:00
Dean Lee
723c8d6a7c qt/settings: use default parameter for params.get (#23042) 2021-11-26 14:39:04 +01:00
Willem Melching
5069852573 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
2021-11-26 14:38:02 +01:00
eFini
21ff97b8c9 UI: minor changes to make it translation friendly (#23032) 2021-11-25 22:30:07 -08:00
grekiki
68c1a666a0 replace list comprehensions with generators (#23037) 2021-11-25 15:53:11 -08:00
Jason Young
adaffb3355 VW MQB: Add FW for 2013 Volkswagen Golf (#23036) 2021-11-25 14:37:33 -08:00
ZwX1616
1ec8f03ec6 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>
2021-11-24 15:59:19 -08:00
Dean Lee
ab9c7a11a9 boardd: const reference pandaStates to avoid copy (#23030) 2021-11-24 15:45:48 -08:00
Vivek Aithal
8b6a147583 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
2021-11-24 15:24:25 -08:00
Adeeb Shihadeh
5bcb4c0358 process replay: add cx9 route to migration list 2021-11-24 14:08:46 -08:00
Dean Lee
b5eb02181c loggerd: add test case for sync_encoders (#23020) 2021-11-24 13:34:16 -08:00
Adeeb Shihadeh
eb55226c2b update refs for new mazda name 2021-11-24 13:31:02 -08:00
Adeeb Shihadeh
f0f7359f6a mazda: capitalize CX9 like all others cars 2021-11-24 11:53:10 -08:00
Robbe Derks
1fd8fc4593 Typo in Quectel FCC ID 2021-11-24 11:19:04 +01:00
Adeeb Shihadeh
b8393f7271 can_replay: warning & clone cmd if jungle lib is missing 2021-11-23 23:33:26 -08:00
Adeeb Shihadeh
239c7c1d4e Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com>
2021-11-23 23:19:11 -08:00
Dean Lee
c77354009c 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
2021-11-23 20:15:22 -08:00
Dean Lee
75dd0d6296 loggerd: split loggerd.cc into three files 2021-11-23 17:53:49 -08:00
George Hotz
6462ced209 thermald: track power usage / pmic temps (#23013)
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-23 16:08:20 -08:00
Dean Lee
6964adec39 networking: remove unused #inculde<QMovie> (#23016) 2021-11-23 15:24:28 -08:00
Willem Melching
9417051062 don't build internal kalman objects on device (#23011) 2021-11-23 16:25:51 +01:00
Erich Moraga
9b9cbe1f37 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.
2021-11-23 15:35:08 +01:00
Dean Lee
c1f617db46 UI: fix cameraview crash after going offroad in settings window (#23009) 2021-11-22 21:46:46 -08:00
Adeeb Shihadeh
20d5c0c1cb camerad: lower YUV vipc buffer count to 40 on tici 2021-11-22 16:53:59 -08:00
Adeeb Shihadeh
d482b2d0a2 boardd: small cleanup (#23005) 2021-11-22 15:15:03 -08:00
Adeeb Shihadeh
a941a1040d back to 0.8.12 2021-11-22 14:26:00 -08:00
Erich Moraga
d630ec9092 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>
2021-11-22 14:22:28 -08:00
Adeeb Shihadeh
b51da61dc4 perfetto (#22998)
Co-authored-by: Comma Device <device@comma.ai>
2021-11-22 14:03:42 -08:00
Jason Young
819b7a120a VW MQB: Longitudinal prereqs (#23004) 2021-11-22 14:01:42 -08:00
Adeeb Shihadeh
7746130a1e Honda Bosch cleanup (#22999) 2021-11-21 14:52:35 -08:00
Adeeb Shihadeh
a405fc5d43 boardd: add note about slow disconnected panda check 2021-11-21 00:32:05 -08:00
Adeeb Shihadeh
fb32381a88 boardd: set thread names 2021-11-21 00:20:33 -08:00
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