Commit Graph

5933 Commits

Author SHA1 Message Date
Adeeb Shihadeh 2a46ffdf9d Honda: fix controls mismatch on Alt Nidecs (#23089)
* Honda: fix controls mismatch on Ridgeline

* bump panda
old-commit-hash: 55422d733ace2d8f1eeebba74b61691abde92906
2021-12-01 14:56:25 -08:00
HaraldSchafer 9c03362ba8 Less sensitive torque saturated warning (#23003)
* Less sensetive torque saturated warning

* better comment
old-commit-hash: 8f3bc4872f19b84203608b2561924cd85e0d1788
2021-12-01 13:53:42 -08:00
Willem Melching 1222957224 ci: improve valgrind test robustness (#23092)
old-commit-hash: fa34bd912ec820a0b821f581ef88b28a347ecccb
2021-12-01 17:54:06 +01:00
Vivek Aithal 37ccdd8127 locationd: cleanup (#23088)
* remove dead code, avoid indexing by value in locationd

* remove dead states in live_kf
old-commit-hash: 64eb5b0da4d624ecc03f8a45b73296871ae726ff
2021-12-01 00:09:00 -08:00
Adeeb Shihadeh 6828b2f01a jenkins: make agent per-stage
old-commit-hash: 077ec6725a1a9de5d1bde215daf8941a44ce23f4
2021-11-30 22:18:43 -08:00
Adeeb Shihadeh 73cfd04ec9 test car models: ignore more fake buses
old-commit-hash: d78be47a90df0d7a4cb2faee957b28a20aabd4b7
2021-11-30 21:52:44 -08:00
Adeeb Shihadeh 55ea9a0218 add new sounds to release notes
old-commit-hash: cc27d6c115d7459b133ed5d41f2d3e9c6246104a
2021-11-30 21:44:48 -08:00
Adeeb Shihadeh dccb8b4010 New sounds (#22652)
* new engage/disengage + amp config

* first family

* cleanup audible alerts

* tici isn't special

* fix up debug cycle alerts

* these were better

* extend range

* use distracted sound

* log scaling

* getting closer

* slightly louder

* prompt

* update tests

* update refs

* fix c2 test

* resolve todo

* adjust tolerance

* revert for now

* should work

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e679d05d9e98e267047c21c0b6b67fe9d61f8ed6
2021-11-30 19:47:33 -08:00
Adeeb Shihadeh 2a57577b9d process replay: set full env in cpp replay
old-commit-hash: b3b5beb6277ba0889a74ac56178596727519f1b1
2021-11-30 18:18:12 -08:00
Adeeb Shihadeh 78a7cf85d3 increase scons cache size for CI devices
old-commit-hash: bc57ffd16ff2154a9c9126648233c8439dcffe9c
2021-11-30 14:51:31 -08:00
Dean Lee d30429a2ad soundd: fix test case (#23075)
* init sound_stats

* send deviceState msg
old-commit-hash: eb0724d7e3bff078f803d45d5d305b5f793c8f22
2021-11-30 11:31:46 -08:00
Vivek Aithal b2ddfb3719 add a note in loc_kf (#23082)
old-commit-hash: b57f55088e4a4054ba4b86d7cce9b2a20704db61
2021-11-30 10:51:32 -08:00
HaraldSchafer 4d9d215996 Toyota pedal rewrite (#23067)
* pedal redo

* add offset to compensate for creep and windbrake

* offset in standard units

* wrong size

* better creep values

* update ref
old-commit-hash: eda69930430da564251581814fd3962ca7af0372
2021-11-30 10:50:06 -08:00
Erich Moraga 02c60a4503 docs/CARS: Add 2021 C-HR (#23078)
`@eFini#8426` confirmed...
https://discord.com/channels/469524606043160576/524327905937850394/914925655228031017 [my inquiry]
https://discord.com/channels/469524606043160576/524327905937850394/915131655679791144 [his confirmation]

Still stuck w/ stock longitudinal, despite being TSS2.5.

He's been using it for many months, as seen in one of his early posts that came to Adeeb's attention for route analysis...
https://discord.com/channels/469524606043160576/524327905937850394/827038344742699008 [`88551059c417a545|2021-03-29--23-34-50`]
old-commit-hash: f65e9b4c67611fd347d57b092941b92e6da544da
2021-11-30 10:49:54 -08:00
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