Commit Graph

7421 Commits

Author SHA1 Message Date
Dean Lee
1588a6f0ac Logger: added function logger_get_route_name (#19995)
* added function logger_get_route_name

* remove empty line
2021-02-02 12:09:27 +01:00
Dean Lee
678c149246 mv logger_build_boot to bootlog.cc (#19996) 2021-02-02 12:07:52 +01:00
Dean Lee
aa37e95341 OmxEncoder: use c++ mutex&condition_variable (#19786)
* use c++ mutex&condition_variable

* rebase

* cleanup includes&use while

* remove include pthread.h
2021-02-01 21:57:17 -08:00
Adeeb Shihadeh
449e60cb82 skip dashcam3 build for now 2021-02-01 21:14:02 -08:00
Dean Lee
ef6d1aeaaa Logger: new class BZFile (#19959)
* add class BZFile

* inline

* cleanup includes

* stack bzfile

* log first error

* remove assert

* rename log_err to err_logged

* assert in destructor

* LOGE

* don't assert statement

* assert error of fclose
2021-02-01 21:00:42 -08:00
Comma Device
dcd4bb4f4e fix thneed build 2021-02-01 20:34:21 -08:00
Dean Lee
0b7b7241c8 model_publish: use kj::ArrayPtr<const float> raw_pred (#19917) 2021-02-01 19:08:17 -08:00
Dean Lee
c22d6e315d UI: mv sidebar_collapsed&viz_rect to struct UIState (#19782)
* mv sidebar_collapsed&viz_rect to struct UIState

* rebase master

* rebase master

* rebase master

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-01 16:10:15 -08:00
Adeeb Shihadeh
49d4d58201 logcatd bugfix + tests (#19689)
* hack to exit cleanly

* move the hack

* add test

* run in ci

* unused

Co-authored-by: Comma Device <device@comma.ai>
2021-02-01 15:15:29 -08:00
ZwX1616
8824966aad tici fcam vignette compensation (#19971)
* simple model

* fix api

* this too
2021-02-01 15:06:15 -08:00
Willem Melching
bacf8727d7 cloudlog once on commIssue (#19949) 2021-02-01 13:41:04 -08:00
Adeeb Shihadeh
0a69c92967 shouldn't need that anymore 2021-02-01 13:13:57 -08:00
grekiki
cc1308c7df Multithreaded ssh activation (#19988)
No more lag on SSH enable/disable
2021-02-01 19:46:03 +01:00
Dean Lee
b06da51892 Pigeon::receive: reserve 4kb+64b for std::string (#19951)
* receive: reserve 4kb+64b for std::string

* fix bug
2021-02-01 16:22:16 +01:00
Robbe Derks
935b9ceb05 Add back replay_many script for unlogging over jungles 2021-02-01 15:54:19 +01:00
Igor
745b91ee57 Longitudinal tune for Corolla TSS2 (#2746) 2021-02-01 13:43:42 +01:00
Dean Lee
7f5a1ce02d get_frame_image: moved the global variables into function static (#19982) 2021-01-31 18:16:12 -08:00
Jack Davison
5bebc32fb1 Add ESP FW for 2021 Hyundai Sonata SEL (#19980) 2021-01-31 13:00:17 -08:00
Dean Lee
3fde3a5f7d pigeon_thread: ensure the pigeon->init() will not be called twice (#19963)
* ensure init is not called twice

* add space
2021-01-31 12:55:11 -08:00
Dean Lee
b0c8ce4863 pigeon_publish_raw: use capnp::Data::Reader instead of Builder (#19952) 2021-01-30 19:16:21 -08:00
Dean Lee
9a9641a296 OMXEncoder: remove pthread_mutex_t lock from member variables (#19948)
* remove mutex

* rebase master
2021-01-30 19:11:03 -08:00
Dean Lee
2d0c249f40 dmonitoring: use the same way as driving to build model output more clearly (#19933)
* Use the same way as driving to build model output more clearly

* rebase master
2021-01-30 18:49:44 -08:00
Dean Lee
16e259cadf loggerd: small cleanup (#19864) 2021-01-30 18:37:58 -08:00
Adeeb Shihadeh
cfb0390183 move agnos manifest to selfdrive/hardware (#19889) 2021-01-30 18:31:28 -08:00
Dean Lee
f54ecc2779 UI: function update_status (#19679)
* update_status

* reformat switch

* set s->started in update_status

* space

* rebase master
2021-01-30 18:21:54 -08:00
Adeeb Shihadeh
229395e15b fix static analysis checks after mypy update 2021-01-30 16:53:48 -08:00
Dean Lee
4d6584a315 boardd: remove global variables spoofing_started&fake_send (#19966) 2021-01-31 00:02:03 +01:00
Dean Lee
edc2b3f67c fix panda: remove uninitialized err and check after (#19974) 2021-01-30 23:59:49 +01:00
ZwX1616
6d16bfab82 tici dcam AE (#19970)
* tici_ae_front

* not const
2021-01-29 19:11:27 -08:00
Adeeb Shihadeh
4a03d1cb64 blue bg in training guide 2021-01-29 13:41:48 -08:00
Adeeb Shihadeh
d3756bc475 cleanup training guide 2021-01-29 13:21:10 -08:00
grekiki
c5762456e1 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>
2021-01-29 17:54:00 +01:00
grekiki
82b894c645 Wifi correct ip (#19961) 2021-01-29 16:22:35 +01:00
Dean Lee
dd3a260676 boardd: refactor usb_connect, delete panda on failure (#19956) 2021-01-29 13:10:56 +01:00
Dean Lee
c723bbd6be Panda: add check for connected in usb_read (#19957) 2021-01-29 13:00:49 +01:00
ZwX1616
1a95127b0e 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>
2021-01-28 14:21:59 -08:00
ZwX1616
8605ba8ab9 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>
2021-01-28 14:02:58 -08:00
Comma Device
75d0802804 match driverView with new model 2021-01-28 13:44:12 -08:00
Maksym Sobolyev
b2cc6f473c Set "use_bsm" on KIA_NIRO_EV, I've tested it seems to be generating (#19955) 2021-01-28 13:10:17 -08:00
Adeeb Shihadeh
20a2bfdd31 Revert "OmxEncoder: new function set_state, set and wait state changed (#19906)"
This reverts commit 36a596eb1e.
2021-01-28 11:57:29 -08:00
Dean Lee
36a596eb1e 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
2021-01-28 11:45:44 -08:00
Dean Lee
a48ab6130c keyboard.cc: get value by reference in ranged based loop (#19950) 2021-01-28 11:35:38 -08:00
Dean Lee
0b75a85adc Panda: use 'std::atomic<bool> connected' to ensure thread-safety (#19954) 2021-01-28 11:35:13 -08:00
Dean Lee
c4215d8476 Panda: refactor get_firmware_version, return std::optional<std::vector> (#19896)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-01-28 16:25:05 +01:00
Dean Lee
96cc633d91 panda: refactor get_serial, return std::optional<std::string> (#19895) 2021-01-28 16:21:18 +01:00
Dean Lee
6bd9e5ca6a 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>
2021-01-28 15:53:24 +01:00
Willem Melching
5693773ae1 fix safequeue import 2021-01-28 15:25:24 +01:00
Dean Lee
e6783f4d9f 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
2021-01-28 15:12:45 +01:00
Dean Lee
6583206ed4 convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
2021-01-28 14:47:05 +01:00
Willem Melching
4f995b35d5 fix valgrind complaints about swaglog 2021-01-28 14:03:46 +01:00