Dean Lee
14fa2bf41a
cameraview: fix frameskip ( #23022 )
...
* fix frameskip
* sync upload->render
* cleanup
* comment
* rename to latest_texture_id
old-commit-hash: 00db14af6435ef789cd22d275855610f18be0011
2021-11-29 11:35:34 +01:00
Shane Smiskol
996594fa29
longitudinal: only apply overshoot prevention when braking ( #22986 )
...
* only if braking is desired
* use v_target to determine stopping
* more clear?
old-commit-hash: 113988ae31bd32db1576d88d5160be01faa63cb5
2021-11-29 11:29:32 +01:00
Dean Lee
a96d3f46bf
boardd: new function sync_time ( #23033 )
...
* sync_time
* add direction
* Update selfdrive/boardd/boardd.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* enum class
* rename
* caps
* lambda get_time_str
* Revert "lambda get_time_str"
This reverts commit 5eb6e19c5130b28963e9555f6c73835ac30d817d.
* static
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 35c0319f6c846c900098b5280652ab16424658c6
2021-11-29 11:19:38 +01:00
Dean Lee
67c748d62a
refactor httprequest: emit single signals ( #23039 )
...
* refactor httprequest
* Trigger Build
old-commit-hash: 3fd02649601856b2780168d36c49940ff49f4de2
2021-11-29 11:19:08 +01:00
Dean Lee
b6e6c342b3
DevicePanel: split long constructor into multiple functions ( #23043 )
...
* begin refactor
* split long constructor to multiple functions
* one connection to signal
* merge master
old-commit-hash: 5394fe1ae799e38d5c5433a2e530d5be84ee7e99
2021-11-29 11:14:34 +01:00
Dean Lee
43812ae898
replay: refactor http download ( #23052 )
...
* refactor http download
* use chunk_size instead of parts
testcase:set chunksize to 5mb
* use template
space
* cleanup
* remove unused include
* check buffer overfllow
* simplify print download speed
old-commit-hash: f5e48678640bbde0f2616e955ced53f30d61ac6c
2021-11-29 11:13:30 +01:00
Erich Moraga
6464875954
Fix comment typo: steerRation -> steerRatio ( #23058 )
...
old-commit-hash: 5abe293f614479071f016fbbc2c4d1bdc3d6ddbe
2021-11-28 19:15:36 -08:00
Adeeb Shihadeh
807e84d900
juggle: add demo flag and improve README
...
old-commit-hash: 920b751888a09192f055241c7db6cfdfc5f1bf57
2021-11-28 14:19:49 -08:00
Adeeb Shihadeh
973a48acef
remove dead + duplicate python code
...
old-commit-hash: 08f9316b56ffe2c36a5d9c23d0b4df49903ad52a
2021-11-28 14:02:06 -08:00
Adeeb Shihadeh
63f019e2ef
script to apply patch from PR
...
old-commit-hash: 7237128a1d106ba1781cdcd33807ab155d875684
2021-11-28 13:33:57 -08:00
Dean Lee
4ac4b61272
framereader: fix crash after fallback to cpu decoding ( #23055 )
...
old-commit-hash: a449b856cac746647ad994eb511600929d529498
2021-11-28 13:29:40 -08:00
Willem Melching
70e2e78f52
sim: improve carla performance ( #23046 )
...
old-commit-hash: a4ca8e4835949f5f8a5d6123142f9ffcb7e36245
2021-11-28 11:32:37 +01:00
Adeeb Shihadeh
94d30c6c5f
camerad: remove camera frame stream ( #23045 )
...
* camerad: remove camera frame stream
* fix release files
old-commit-hash: 8160cf3c1b2726709db58219c33d1616b4a8acb5
2021-11-27 21:58:21 -08:00
Igor Biletskyy
9055f2df79
Extra check for tail_size length ( #23047 )
...
old-commit-hash: b2a018643fb3caa30e7baa5b6be61b8ec4b734f1
2021-11-27 12:22:54 -08:00
George Hotz
327767f93f
Revert "boardd: be careful with paren order in assert"
...
This reverts commit c221485bd1eebbab87f6b5a579e66e10767fcdf8.
old-commit-hash: c6f62ebc4f661c4b597e8bde971aa8617cfc5bcb
2021-11-27 00:57:30 -05:00
George Hotz
6475085095
boardd: be careful with paren order in assert
...
old-commit-hash: 50cd8588a27834bfd01d95ed452cf8ac247cb584
2021-11-27 00:28:33 -05:00
jimw
cf29eacca4
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 >
old-commit-hash: a58d272ae4afa11624220b9392295ad6659db1df
2021-11-26 16:58:25 +01:00
Dean Lee
5f299f7f3e
ui/device: change last_brightness from float to int ( #23029 )
...
old-commit-hash: e376a621baa125063ffbf1fbd91560e25d45e8fd
2021-11-26 14:59:23 +01:00
Willem Melching
1e87522804
bump cereal
...
old-commit-hash: ee4a1ee7000605449cb8a8403e2a6fdac5228b82
2021-11-26 14:58:06 +01:00
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