Commit Graph

3209 Commits

Author SHA1 Message Date
Dean Lee 7194e5926e panda: refactor get_serial, return std::optional<std::string> (#19895)
old-commit-hash: 96cc633d915caf5fd5a8eeee196db55ca8277c91
2021-01-28 16:21:18 +01:00
Dean Lee 34952f246e draw lead indicator in 3D (#19793)
* lead indicator in 3D

* more

* Update selfdrive/ui/ui.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 6bd9e5ca6a67c73be68bbfd38a370f615ce6239a
2021-01-28 15:53:24 +01:00
Willem Melching 1296525567 fix safequeue import
old-commit-hash: 5693773ae14b23695294cbfc7e1678a7a6c70385
2021-01-28 15:25:24 +01:00
Dean Lee da9b0e8baa remove cqueue, use class SafeQueue (#19774)
* class SafeQueue

* cleanup includes

* space

* add timeout

use try_poll

* add function empty() & size()

* class SafeQueue

* add timeout

use try_poll

* add function empty() & size()

* rebase master

* rebase master

* for loop

* fix bug
old-commit-hash: e6783f4d9f10a256a4c301eb1d1843d9e2a17ab6
2021-01-28 15:12:45 +01:00
Dean Lee 7a086b3f3d convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
old-commit-hash: 6583206ed41c9277bb7509bcb66b7d5e058ea5fe
2021-01-28 14:47:05 +01:00
Willem Melching 62f9992129 fix valgrind complaints about swaglog
old-commit-hash: 4f995b35d5d84508fda0a3d203dd8d3d35f8d2b2
2021-01-28 14:03:46 +01:00
Dean Lee 694b81e129 C++ swaglog (#19825)
* c++ swaglog

* dd

* continue
old-commit-hash: c283be24d38d688eb9a0009d79d33262ee542822
2021-01-28 13:52:18 +01:00
Dean Lee b0552a1985 bootlog: fix dangling pointer problem in logger_build_boot (#19942)
* fix  dangling pointer problem

* logger_build_init_data() has same problem

* return kj::Array<capnp::byte>

* Revert "return kj::Array<capnp::byte>"

This reverts commit 4df4685bfcaba0c5400e2690440a74c32ff75afa.

* Empty commit,trigger Build

* fix each segment in a route having a different initial logMonoTime
old-commit-hash: 79e05965c403289dbe75622ac5a9970218163959
2021-01-28 13:34:07 +01:00
Adeeb Shihadeh c221eff09c fix qt UI after #19762
old-commit-hash: b2bc9dcc1eee885afff4c339c8a37ad5f80fb88c
2021-01-27 23:00:14 -08:00
HaraldSchafer 5794b3a053 not relevant at high speed (#19946)
* not relevant at high speed

* update ref
old-commit-hash: d1b31d3697d1169fed8c0d2330d48f57fdb07d15
2021-01-27 20:28:17 -08:00
Adeeb Shihadeh efb14fc172 Revert "OMXEncoder: add calls to OMX_Init()&OMX_Deinit() (#19905)"
This reverts commit 2b789323981058401a6c908ec674901ed2662f08.

old-commit-hash: ea74f558f4fc75bf64ae48a6989f440fe4ae2e23
2021-01-27 20:17:35 -08:00
Adeeb Shihadeh 5db3d3f18e don't reflash agnos update if already flashed (#19944)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c95c4df51df33094ed88ff78ee16000208272678
2021-01-27 17:10:54 -08:00
Adeeb Shihadeh 933f2952bd fix updated bug that allows for mismatch openpilot/agnos (#19943)
old-commit-hash: 09ee2a8c51ae7c2fc0c3204228d5f501e471291e
2021-01-27 15:39:14 -08:00
Dean Lee 1a29755702 dmonitoring_publish: use kj::ArrayPtr<const float> raw_pred as paramater instead of float (#19916)
old-commit-hash: 8bb3c41cfd8c71d9dd2368da0a980d8f635e2a75
2021-01-27 14:30:12 -08:00
Adeeb Shihadeh bfa5674d4f fix up encoder test for tici rotation (#19941)
* fix encoder test

* revert for c2

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0411015103d593fe5aac408e70d558c890815842
2021-01-27 14:20:48 -08:00
Dean Lee acc39a8c5f UI: handle alert in function update_alert (#19762)
* handle alert in function update_alert

* use sm->updated

* typo
old-commit-hash: af4ac70cb823214aa02863a0b5d7202dc4bc9912
2021-01-27 14:16:51 -08:00
newstackdevelopment a3405389b2 Fix BSM signal for Hyundai Santa Fe (#19855)
* Update Hyundai Santa fe FP and constant

Added fingerprint for hyundai santafe limited 2020 and updated the constant description for class

* Update values.py

* removed duplicate from santafe fwdCamera

* add bsm to santa fe for lane change

* added allow nudgeless bypass

* Revert "added allow nudgeless bypass"

This reverts commit f1a3ede920d3e34336fa18ae3c888041d4d9d4f6.
old-commit-hash: 3b9ae9a959b06117f3de68553024d29361eab0f3
2021-01-27 14:05:57 -08:00
Dean Lee 6bd65f558e OMXEncoder: add calls to OMX_Init()&OMX_Deinit() (#19905)
* add calls to OMX_Init()&OMX_Deinit()

* fix indentation
old-commit-hash: 8f008130898b0b880a62038ba2a9cb17a4f79cc9
2021-01-27 13:37:42 -08:00
Willem Melching 4fd576e7f7 Put bootlog in own folder (#19939)
* put bootlog in own folder

* fix uploader

* remove print statements

* update test

* remove comment

* also write initddata

* remove sentinels from test
old-commit-hash: 87119aebe2e7051df49f6f2be9c29d2af4737656
2021-01-27 13:36:40 -08:00
Greg Hogan d4b95c4258 hyundai: add follow distance button (#19852)
old-commit-hash: 92754cc808a25d06e989ca297f4a8ecbc8826148
2021-01-27 07:25:51 -08:00
Greg Hogan 2864de8c5e hyundai: car state with longitudinal control support (#19851)
old-commit-hash: 32b89fe30abf4c7252596f03ea2f84338c5c8131
2021-01-27 07:25:23 -08:00
Greg Hogan 1960f405c2 hyundai: ability to create ACC messages (#19850)
old-commit-hash: 7c0cb9a0082c674557e5f06255b2c1f766a66b6e
2021-01-27 07:24:15 -08:00
Willem Melching 9832a90eb2 tombstoned: fix address offset in string
old-commit-hash: 4cd17555c114514e35f0c27dbd2cec6668f0b2ea
2021-01-27 16:16:17 +01:00
Willem Melching 5ecc0b44c2 remove temporary fixes
old-commit-hash: 39615f9108e8172a6ede21bbd9b99b43e057ca88
2021-01-27 16:08:49 +01:00
Adeeb Shihadeh f2ad4e28a6 remove legacy reset line support (#19770)
old-commit-hash: 8c31ab3cee7c2f3a4b91c223aa5c0eedae533fe6
2021-01-27 14:19:49 +01:00
Greg Hogan 09f27c5b8e vision-only radar toggle (#19849)
old-commit-hash: 767ada98c750a4d2bf2bbf36dc6dbc869123090f
2021-01-27 14:15:59 +01:00
Comma Device e6e7fa0883 wifi connecting is not hidden any more
old-commit-hash: e0b38c0278c86b95cc0e0724223f88cdd6b69bf6
2021-01-27 12:56:11 +00:00
grekiki 3ea2e2788b minor wifi improvements (#19938)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ea642aa0cb091d881098e8a412930a20004c496c
2021-01-27 13:43:28 +01:00
Dean Lee 9abfacf182 util.h: re-indent function string_format and use const std::string & for read_file (#19931)
old-commit-hash: 316f475544f4c28808933b593616da1080429e6d
2021-01-27 12:10:03 +01:00
Dean Lee 2a95f73b84 Thneed::clinit() : use cl_get_device_id helper(#19934)
old-commit-hash: 21f45e3ef49fece453feeefa1c65286c36bfc14b
2021-01-27 12:09:28 +01:00
Dean Lee 8dfd6dce43 CameraBuf::acquire : release on failure (#19935)
old-commit-hash: 064bcbe80b90dc8dabb36c713964d6834b81c7c0
2021-01-27 12:08:38 +01:00
grekiki 2ebacdc364 Add Github SSH keys (#19879)
old-commit-hash: 7408569c1b7fc858125c2ec131037ccc407aad3a
2021-01-27 12:07:17 +01:00
Dean Lee bed2eb58c1 fill_frame_data: remove unused paramater cnt (#19936)
old-commit-hash: 80799c7272a35d69e508d724a4f95c44b61a3ec0
2021-01-27 12:03:12 +01:00
Chris McCammon 8a92d271ee 2021 Toyota Highlander engine fw (#19930)
old-commit-hash: 12a11211310a5db772132e4664398345163da785
2021-01-27 00:04:31 -08:00
Chris McCammon 418ef1e3a9 Civic Hatch Diesel fw (#19929)
old-commit-hash: f9d6e8bf0a7390e68a1ff2627bf1346fb064eb93
2021-01-27 00:04:15 -08:00
Mitchell Goff d28831dbab Split planner and pathplanner publishing into separate 'publish' methods (#19860)
* Split planner and pathplanner publishing into separate 'publish' methods

* Updated test_following_distance.py

* Combined publish+send_mpc_solution methods
old-commit-hash: 608f00f81485c674263eb403c201934e1b904fe4
2021-01-26 20:27:24 -08:00
Harald Schafer b4f3a03518 new ref for rateSteers fix
old-commit-hash: 39e3672e828985853abc70cd8d7ef39b83d44c7c
2021-01-26 15:33:31 -08:00
Adeeb Shihadeh 2e946df700 actually wait for boardd to start
old-commit-hash: 6e70baa3063dde55056f0dfc2ed1540e4fe79f44
2021-01-26 15:09:09 -08:00
Dean Lee 2f3ae6ba78 fix indentation (#19925)
old-commit-hash: 511bad6a9ffea248dce81631fb58b3d020a4117b
2021-01-26 14:43:37 -08:00
HaraldSchafer b3287a405b important for indi (#19926)
* important for indi

* dont change that in this pr
old-commit-hash: d6283520980554454f7fb924f3c0f0bf63c52c8a
2021-01-26 14:26:27 -08:00
Adeeb Shihadeh dc32aa52a8 wait for pandad to start boardd
old-commit-hash: 144227d3d3901544ac068eb70b469d006179dabe
2021-01-26 13:39:15 -08:00
Adeeb Shihadeh 256d586d6c fix boardd loopback test after #19880
old-commit-hash: 59f4ea9fe57b367a84ffd7906aceeb12a5ccccd1
2021-01-26 12:12:10 -08:00
Dean Lee 7dc1f76057 TTYPigeon::send : delete unnecessary temporary variables (#19898)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4ac08ce05ec645704befa84c7fb662f36f3ccdef
2021-01-26 17:33:53 +01:00
Dean Lee b16842b512 boardd: use setUbloxRaw to avoid memory alloc&copy in pigeon_publish_raw (#19884)
* use setUbloxRaw to avoid memory copy

* const std::string &dat
old-commit-hash: 0f8b5db8cefdd53c06ffd4867b8915d12f6e4603
2021-01-26 17:21:02 +01:00
Dean Lee bf95f37eba cameras_qcom: fix dangling pointer in fill_frame_image (#19891)
old-commit-hash: cbd08d6f0c95089e89b268c76fb4054443730c5e
2021-01-26 17:19:06 +01:00
Dean Lee faa4640ffe can_list_to_can_capnp_cpp: write message directly to the output string (#19912)
old-commit-hash: d17a5195e7f38a00364b38eeb1066dfd7484dba3
2021-01-26 17:18:02 +01:00
Dean Lee 06b8f1042b Panda: add can_send buffer caching (#19910)
old-commit-hash: 5c58a2618eed043bca9e1b5a2b8303756663cca1
2021-01-26 17:10:53 +01:00
Jon8RFC e9b2f0399d 2018 Hyundai Sonata (#19915)
* 2018 Sonata

* Refactor SONATA_2019 to SONATA_LF

For future support of 2016-2019 Sonata Limited Ultimate vehicles.

* Refactor SONATA_2019 to SONATA_LF

For future support of 2016-2019 Sonata Limited Ultimate vehicles.

* Add 2018 Sonata fingerprints

Add FPv1 and FPv2 fingerprints for 2018 Sonata Limited Ultimate (SCC+LKAS)
Refactor SONATA_2019 to SONATA_LF (LF = 2014-2019 Sonatas) for future support of 2016-2019 Sonata Limited Ultimate vehicles.

* remove 2018 Sonata FPv1

* Revert change to car name string

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9c9add60949c28345db6b316135113e34564dc44
2021-01-26 17:08:09 +01:00
Dean Lee 8e0dc47f2e camera_common: rename create_thumbnail to publish_thumbnail (#19920)
* rename create_thumbnail to publish_thumbnail

* check pm
old-commit-hash: 90994baab00ab59428768a4b8841a14452d88248
2021-01-26 17:06:03 +01:00
Dean Lee 8c963586f8 model_init: remove memset (#19921)
old-commit-hash: ccf055fd6267bd6bfa0189d2f61d39574548fa80
2021-01-26 16:56:37 +01:00