Commit Graph

5919 Commits

Author SHA1 Message Date
grekiki 3ab7943f97 Replace list by generator (#23077)
old-commit-hash: 91f87e367527c607724711914142851bf0ea7238
2021-11-30 14:15:42 +01:00
Adeeb Shihadeh 63bb9e9dc4 jenkins: build releases in parallel (#23070)
old-commit-hash: 700b1bcce7ef0618cd4b04c5723faf27a1d8aa98
2021-11-29 22:57:13 -08:00
Vivek Aithal 87f37d73a3 Mesh3D: Add accelerometer bias to loc_kf (#22880)
* add accel-bias to mesh3d

* remove acc scale
old-commit-hash: 5040427cb739fad364319070a0f87ab03031cd99
2021-11-29 19:30:14 -08:00
Dean Lee 9b0fcaeb84 rename yuv streams (#23071)
* rename yuv streams

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 348d2d2b0d169b0d181a51eb0e23b1f9b8fc6793
2021-11-29 18:14:59 -08:00
Adeeb Shihadeh 0781870e69 add devel
old-commit-hash: 9a87f684b58e51b2e64575452d068b4f868f026d
2021-11-29 17:50:10 -08:00
Adeeb Shihadeh 4a01386fe6 script to verify release and staging branches are the same
old-commit-hash: 8b2cb7130526baa69508b2355ca1d2240ff738ee
2021-11-29 17:42:55 -08:00
Igor Biletskyy ce565323fd boardd: split usbprotocol unittest and fix paren order in data length assert (#23065)
old-commit-hash: 65ca9be82a18115a5dd0556c4b1f8cd9705743d9
2021-11-29 15:34:33 -08:00
HaraldSchafer fb1cf5b1bf Longcontrol : pid error should be 0 when plan is followed (#23066)
* v_pid error should be 0 when plan is followed

* update ref
old-commit-hash: 048cc3ac9f86ed2b3b9fe82cb28ec243cc8e7bac
2021-11-29 15:22:02 -08:00
Adeeb Shihadeh 6c90a5d445 logreader: remove log path print
old-commit-hash: 01b99eae35906ba95c25c2498b19a53a0e8fc591
2021-11-29 13:44:20 -08:00
Vehicle Researcher 561052bed4 fix pmic temp scale on comma two
old-commit-hash: 29a8fe272cc60a80a000cdb9a921a38a4298c501
2021-11-29 13:41:48 -08:00
Willem Melching 28dd415759 Do not run code on version.py import (#23063)
* Do not run code on version.py import

* fix athena
old-commit-hash: f7c46c694985456e569ce2313b29e43607c62a12
2021-11-29 19:38:55 +01:00
Willem Melching 1ae492370d Add LastPowerDropDetected and create bootlog before clearing params (#23062)
* Add LastControlledShutdown and create bootlog before clearing params

* update param name

* sorting
old-commit-hash: 7c8044d2dbb2ce74c0c622b468caec185e590d48
2021-11-29 15:51:27 +01:00
Dean Lee db022f7816 ui: singleton networkAccessManager (#22994)
old-commit-hash: b2bcacf590f0206f7b608c4cc48afe61393dd007
2021-11-29 14:49:53 +01:00
Dean Lee 71c282d42a logreader: support reading from corrupt log (#23050)
* catch exception outside loop

* print decompress error

* add test case for corrupt log

* fix decompressbz2 stuck if log is corrupt

* recovered from corrupt data

* add output

* ass space

* std::endl

* override load(), load from buffer

* override FrameReader::load to load from the buffer

* replace NULL with nullptr

* fix test case for corrupt log

* Trigger Build

* check bzerror too

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dbec761941c7599591fb59e9bb9f74b4f8cab2f7
2021-11-29 14:10:24 +01:00
Willem Melching 3b8daea061 Clear loggerd locks once on boot (#23060)
* add test for clear_locks

* move to bootlog

* simplify test
old-commit-hash: a2f32fd3e18455ca2750f4a0a940ced2ca933163
2021-11-29 12:30:28 +01:00
Dean Lee c6ae32ecb3 framereader: refactor seeking (#22926)
* refactor seeking

* ckeck packets.empty()

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 296c4076a2ae8dfdcae5f300c922eac7d1df69cc
2021-11-29 12:09:14 +01:00
Adeeb Shihadeh 182a12fdca manager: kill procs in parallel (#23010)
* manager: kill procs in parallel

* oops block
old-commit-hash: ba67c355dbd032e4f6dfd95aaef519aa78c7c52a
2021-11-29 11:49:04 +01:00
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