Commit Graph

8267 Commits

Author SHA1 Message Date
HaraldSchafer 61b3840c7f camera offsets (#20022)
* camera offsets

* runs on pc so is 0 in proc replay
old-commit-hash: bad68e4663
2021-02-04 15:50:53 -08:00
Willem Melching dadeec50dd thneed: lookup dlsym offset at compile time (#20019)
old-commit-hash: 1744076514
2021-02-04 16:41:46 +01:00
Comma Device d295eb68f9 fix logcatd after bugfix
old-commit-hash: 366292a059
2021-02-03 22:57:34 -08:00
Dean Lee cb9b7c44c1 logcatd: fix bug: subsequent reads after the first always return empty (#19994)
* refactor logcatd

* cleanup

* rename logger_list to loggers

* apply review

* little cleaner

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1b140bdbca
2021-02-03 22:24:05 -08:00
Adeeb Shihadeh 966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
old-commit-hash: 000bd226aa
2021-02-03 19:57:30 -08:00
HaraldSchafer f4e94524d4 Remove curv factor (#20011)
* cleaning crew

* need that to match

* smooth factor

* that didn't really work

* closer to previous

* new ref

* new names
old-commit-hash: 61a4e3e661
2021-02-03 17:51:21 -08:00
robbederks 8156542312 implement ublox MON_HW2 message (#19962)
* implement MON_HW2 message

* didn't mean to remove this
old-commit-hash: 99d58193e4
2021-02-03 13:09:44 +01:00
Adeeb Shihadeh f1e7ae3e42 don't show on tici
old-commit-hash: d7281387ad
2021-02-02 21:27:36 -08:00
HaraldSchafer 8fc39f52c8 Deal with long lag compensation (#20004)
* add hack for big lags

* wrong bracket

* new pathplanner values
old-commit-hash: 3f2b42b4e3
2021-02-02 17:09:01 -08:00
Willem Melching 3de7203214 small tombstoned cleanup
old-commit-hash: 7b56ab7811
2021-02-02 15:29:24 +01:00
Dean Lee 0346652a66 move global connected_once into function static (#19999)
old-commit-hash: 13ea8b5fc9
2021-02-02 14:39:19 +01:00
Dean Lee 04adbaf8e1 Don't call function in assert (#19997)
old-commit-hash: 91504176e4
2021-02-02 13:18:11 +01:00
Willem Melching fac6d44e8b BMX055 magnetometer calibration (#19992)
old-commit-hash: fd01c89491
2021-02-02 12:10:08 +01:00
Dean Lee 60aa7b9d96 Logger: added function logger_get_route_name (#19995)
* added function logger_get_route_name

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

* rebase

* cleanup includes&use while

* remove include pthread.h
old-commit-hash: aa37e95341
2021-02-01 21:57:17 -08:00
Adeeb Shihadeh 02788f3a0e skip dashcam3 build for now
old-commit-hash: 449e60cb82
2021-02-01 21:14:02 -08:00
Dean Lee 926c3d6fd7 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
old-commit-hash: ef6d1aeaaa
2021-02-01 21:00:42 -08:00
Comma Device a63dca4659 fix thneed build
old-commit-hash: dcd4bb4f4e
2021-02-01 20:34:21 -08:00
Dean Lee 3f7488b73a model_publish: use kj::ArrayPtr<const float> raw_pred (#19917)
old-commit-hash: 0b7b7241c8
2021-02-01 19:08:17 -08:00
Dean Lee 58cf6b8a80 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>
old-commit-hash: c22d6e315d
2021-02-01 16:10:15 -08:00
Adeeb Shihadeh 88566ec71c 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>
old-commit-hash: 49d4d58201
2021-02-01 15:15:29 -08:00
ZwX1616 b7245e4cf5 tici fcam vignette compensation (#19971)
* simple model

* fix api

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

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

* add space
old-commit-hash: 3fde3a5f7d
2021-01-31 12:55:11 -08:00
Dean Lee 2162aae01b pigeon_publish_raw: use capnp::Data::Reader instead of Builder (#19952)
old-commit-hash: b0c8ce4863
2021-01-30 19:16:21 -08:00
Dean Lee 06ac698691 OMXEncoder: remove pthread_mutex_t lock from member variables (#19948)
* remove mutex

* rebase master
old-commit-hash: 9a9641a296
2021-01-30 19:11:03 -08:00
Dean Lee 04d7c01eda 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
old-commit-hash: 2d0c249f40
2021-01-30 18:49:44 -08:00
Dean Lee 33495e4368 loggerd: small cleanup (#19864)
old-commit-hash: 16e259cadf
2021-01-30 18:37:58 -08:00
Adeeb Shihadeh ec468f88c9 move agnos manifest to selfdrive/hardware (#19889)
old-commit-hash: cfb0390183
2021-01-30 18:31:28 -08:00
Dean Lee ab859c30de UI: function update_status (#19679)
* update_status

* reformat switch

* set s->started in update_status

* space

* rebase master
old-commit-hash: f54ecc2779
2021-01-30 18:21:54 -08:00
Adeeb Shihadeh dbc2971dba fix static analysis checks after mypy update
old-commit-hash: 229395e15b
2021-01-30 16:53:48 -08:00
Dean Lee 6bd51543e5 boardd: remove global variables spoofing_started&fake_send (#19966)
old-commit-hash: 4d6584a315
2021-01-31 00:02:03 +01:00
Dean Lee 35fe949cd8 fix panda: remove uninitialized err and check after (#19974)
old-commit-hash: edc2b3f67c
2021-01-30 23:59:49 +01:00
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
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