Commit Graph

3226 Commits

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

* not const
old-commit-hash: 6d16bfab82
2021-01-29 19:11:27 -08:00
Adeeb Shihadeh
07747aea97 blue bg in training guide
old-commit-hash: 4a03d1cb64
2021-01-29 13:41:48 -08:00
Adeeb Shihadeh
48282f36a4 cleanup training guide
old-commit-hash: d3756bc475
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: c5762456e1
2021-01-29 17:54:00 +01:00
grekiki
21f94c284d Wifi correct ip (#19961)
old-commit-hash: 82b894c645
2021-01-29 16:22:35 +01:00
Dean Lee
760b707597 boardd: refactor usb_connect, delete panda on failure (#19956)
old-commit-hash: dd3a260676
2021-01-29 13:10:56 +01:00
Willem Melching
6e0a4aff4d bump cereal
old-commit-hash: 9520c90a88
2021-01-29 13:02:30 +01:00
Dean Lee
53957eec3f Panda: add check for connected in usb_read (#19957)
old-commit-hash: c723bbd6be
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: 1a95127b0e
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: 8605ba8ab9
2021-01-28 14:02:58 -08:00
Comma Device
a2f322de6e match driverView with new model
old-commit-hash: 75d0802804
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: b2cc6f473c
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: 20a2bfdd31
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: 36a596eb1e
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: a48ab6130c
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: 0b75a85adc
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: c4215d8476
2021-01-28 16:25:05 +01:00
Dean Lee
7194e5926e panda: refactor get_serial, return std::optional<std::string> (#19895)
old-commit-hash: 96cc633d91
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: 6bd9e5ca6a
2021-01-28 15:53:24 +01:00
Willem Melching
1296525567 fix safequeue import
old-commit-hash: 5693773ae1
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: e6783f4d9f
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: 6583206ed4
2021-01-28 14:47:05 +01:00
Willem Melching
62f9992129 fix valgrind complaints about swaglog
old-commit-hash: 4f995b35d5
2021-01-28 14:03:46 +01:00
Dean Lee
694b81e129 C++ swaglog (#19825)
* c++ swaglog

* dd

* continue
old-commit-hash: c283be24d3
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: 79e05965c4
2021-01-28 13:34:07 +01:00
Adeeb Shihadeh
c221eff09c fix qt UI after #19762
old-commit-hash: b2bc9dcc1e
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: d1b31d3697
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: ea74f558f4
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: c95c4df51d
2021-01-27 17:10:54 -08:00
Adeeb Shihadeh
933f2952bd fix updated bug that allows for mismatch openpilot/agnos (#19943)
old-commit-hash: 09ee2a8c51
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: 8bb3c41cfd
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: 0411015103
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: af4ac70cb8
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: 3b9ae9a959
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: 8f00813089
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: 87119aebe2
2021-01-27 13:36:40 -08:00
Greg Hogan
d4b95c4258 hyundai: add follow distance button (#19852)
old-commit-hash: 92754cc808
2021-01-27 07:25:51 -08:00
Greg Hogan
2864de8c5e hyundai: car state with longitudinal control support (#19851)
old-commit-hash: 32b89fe30a
2021-01-27 07:25:23 -08:00
Greg Hogan
1960f405c2 hyundai: ability to create ACC messages (#19850)
old-commit-hash: 7c0cb9a008
2021-01-27 07:24:15 -08:00
Willem Melching
9832a90eb2 tombstoned: fix address offset in string
old-commit-hash: 4cd17555c1
2021-01-27 16:16:17 +01:00
Willem Melching
5ecc0b44c2 remove temporary fixes
old-commit-hash: 39615f9108
2021-01-27 16:08:49 +01:00
Adeeb Shihadeh
f2ad4e28a6 remove legacy reset line support (#19770)
old-commit-hash: 8c31ab3cee
2021-01-27 14:19:49 +01:00
Greg Hogan
09f27c5b8e vision-only radar toggle (#19849)
old-commit-hash: 767ada98c7
2021-01-27 14:15:59 +01:00
Comma Device
e6e7fa0883 wifi connecting is not hidden any more
old-commit-hash: e0b38c0278
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: ea642aa0cb
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: 316f475544
2021-01-27 12:10:03 +01:00
Dean Lee
2a95f73b84 Thneed::clinit() : use cl_get_device_id helper(#19934)
old-commit-hash: 21f45e3ef4
2021-01-27 12:09:28 +01:00
Dean Lee
8dfd6dce43 CameraBuf::acquire : release on failure (#19935)
old-commit-hash: 064bcbe80b
2021-01-27 12:08:38 +01:00
grekiki
2ebacdc364 Add Github SSH keys (#19879)
old-commit-hash: 7408569c1b
2021-01-27 12:07:17 +01:00
Dean Lee
bed2eb58c1 fill_frame_data: remove unused paramater cnt (#19936)
old-commit-hash: 80799c7272
2021-01-27 12:03:12 +01:00