Commit Graph

3226 Commits

Author SHA1 Message Date
ZwX1616 2dca9b49c7 tici dcam AE (#19970)
* tici_ae_front

* not const
old-commit-hash: 6d16bfab8243b7b320ac4ef20c98ddfc5ba6bfce
2021-01-29 19:11:27 -08:00
Adeeb Shihadeh 07747aea97 blue bg in training guide
old-commit-hash: 4a03d1cb648cbfe466b02f114fdab86876f89580
2021-01-29 13:41:48 -08:00
Adeeb Shihadeh 48282f36a4 cleanup training guide
old-commit-hash: d3756bc475b38c6343b192444bf3af4d5f387d13
2021-01-29 13:21:10 -08:00
grekiki 9518779d56 Qt training guide (#19953)
* initial commit

* background kind of works

* checkpoint

* temp

* add images

* all works

* remove some files

* rename

* enable restart

* remove first

* lfs try1

* refactor labels

* remove nonneeded code

* centered

* more centering

* don't hardcode the training version

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c5762456e13ff46bc517ab69c07d94d022cd800b
2021-01-29 17:54:00 +01:00
grekiki 21f94c284d Wifi correct ip (#19961)
old-commit-hash: 82b894c645471a409dbb5b76562edc59b0cb62b9
2021-01-29 16:22:35 +01:00
Dean Lee 760b707597 boardd: refactor usb_connect, delete panda on failure (#19956)
old-commit-hash: dd3a2606765e51631034677df81b1513a74d503a
2021-01-29 13:10:56 +01:00
Willem Melching 6e0a4aff4d bump cereal
old-commit-hash: 9520c90a8841058140f1e660191296fbf20e190e
2021-01-29 13:02:30 +01:00
Dean Lee 53957eec3f Panda: add check for connected in usb_read (#19957)
old-commit-hash: c723bbd6be642ab939fa183fb065fc4928069b3c
2021-01-29 13:00:49 +01:00
ZwX1616 099a5a21e2 camerad frame lag/drop jenkins tests (#19945)
* clean up test

* not needed for now

* this be enough

* comment this out

* clean up

* adjust tolerance

* use sof on tici

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1a95127b0ef62fd744b2f9277b86d130020f5bde
2021-01-28 14:21:59 -08:00
ZwX1616 e961d9b64c pyTorch DM (#19760)
* new model files

* no more rot

* no rot no diag switch

* should be correct and cache aware

* 405d7aeb

* parse new outputs

* change uncertain policy accordingly

* 1bdbd9ed

* adjust

* 0.5 is fine

* 3d4f9cab

* no face prob no loss

* clean up

* clean up test

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8605ba8ab95bfe1edea69c648ccef4ea0c9f911e
2021-01-28 14:02:58 -08:00
Comma Device a2f322de6e match driverView with new model
old-commit-hash: 75d0802804500e3f7c785baff14cd6f4caabbd8a
2021-01-28 13:44:12 -08:00
Maksym Sobolyev 9f3e992fd7 Set "use_bsm" on KIA_NIRO_EV, I've tested it seems to be generating (#19955)
old-commit-hash: b2cc6f473c296196103c90cf8248567a47a1c076
2021-01-28 13:10:17 -08:00
Adeeb Shihadeh 78b20a077f Revert "OmxEncoder: new function set_state, set and wait state changed (#19906)"
This reverts commit fbc80f3131acd05e6473daa1682f017874b6f883.

old-commit-hash: 20a2bfdd31b32594e905edc62a7508b8e6ff017c
2021-01-28 11:57:29 -08:00
Dean Lee d7adc6ed49 OmxEncoder: new function set_state, set and wait state changed (#19906)
* free buffers after state is loaded

* set_data_blocking

* fix indentation

* Empty commit,trigger Build
old-commit-hash: 36a596eb1e5752883ef408fcf5d7e2b2cd9ef6b7
2021-01-28 11:45:44 -08:00
Dean Lee 41c117bba0 keyboard.cc: get value by reference in ranged based loop (#19950)
old-commit-hash: a48ab6130c857fce15a5266af93ca5689cc207a4
2021-01-28 11:35:38 -08:00
Dean Lee 41368ada11 Panda: use 'std::atomic<bool> connected' to ensure thread-safety (#19954)
old-commit-hash: 0b75a85adc951f9d0e0e42fbece54d83e078395e
2021-01-28 11:35:13 -08:00
Dean Lee 24ffdd6183 Panda: refactor get_firmware_version, return std::optional<std::vector> (#19896)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c4215d8476219cca33f85adc5ce0a425891c62c5
2021-01-28 16:25:05 +01:00
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