Commit Graph

3279 Commits

Author SHA1 Message Date
Willem Melching
dadeec50dd thneed: lookup dlsym offset at compile time (#20019)
old-commit-hash: 1744076514a9aa5bf9d7e7940ddbd9c431c551bf
2021-02-04 16:41:46 +01:00
Comma Device
d295eb68f9 fix logcatd after bugfix
old-commit-hash: 366292a059eee602bc8bd8768730c1bdfb8004ac
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: 1b140bdbcad52b939a21346d67471cae760cd64b
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: 000bd226aa9902da01e6010bf26762fca2c20df0
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: 61a4e3e66179c731aee9d631675c23936d7da7fb
2021-02-03 17:51:21 -08:00
grekiki
60de719638 update libs (#20009)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4a509982a785085c5ec3b91e06fa846b1ea8ecbe
2021-02-03 17:09:49 +01:00
robbederks
8156542312 implement ublox MON_HW2 message (#19962)
* implement MON_HW2 message

* didn't mean to remove this
old-commit-hash: 99d58193e497385b925a215f42b8bc470e328da4
2021-02-03 13:09:44 +01:00
Adeeb Shihadeh
f1e7ae3e42 don't show on tici
old-commit-hash: d7281387ad86a9820d8c53ea7e3d326b4e946f40
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: 3f2b42b4e3527b9575f0a385079bfa8869b12581
2021-02-02 17:09:01 -08:00
Adeeb Shihadeh
bf0d5f5ad9 nui is built with scons now
old-commit-hash: 273128305230c59cbd383e2e557352baa7a1df80
2021-02-02 13:12:19 -08:00
Shubham Dhumal
cf03d69f71 Fix jwt.encode return type (#19776) (#19958)
* Fix for issue #19776

PyJWT 2.0.0 does not return `bytes` for `encode()` instead returns `str`. So converted the `str` to `bytes` and returned the resulting value

* added check for jwt.encode return type

* Update __init__.py

* Updated with suggested change

* Test to check return type of get_token() 

The `get_token()` must return a `str` but for PyJWT version < 2.0.0 the `jwt.encode()` returns `bytes`. This test is to make sure if token returned by `get_token()` is `str`.

* Update test_get_token.py

* Update test_get_token.py

* Delete test_get_token.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 236743a4e2499c29e6651f6231c5734ccc6d213f
2021-02-02 15:36:04 +01:00
Willem Melching
3de7203214 small tombstoned cleanup
old-commit-hash: 7b56ab7811f42847d593e20e55c255370f5f1b0d
2021-02-02 15:29:24 +01:00
Dean Lee
0346652a66 move global connected_once into function static (#19999)
old-commit-hash: 13ea8b5fc9e7742eea4b1b2e0e036b12e0cdce6a
2021-02-02 14:39:19 +01:00
Dean Lee
04adbaf8e1 Don't call function in assert (#19997)
old-commit-hash: 91504176e403ca1bb6bd9491ce9e2075b7f4bae0
2021-02-02 13:18:11 +01:00
Willem Melching
fac6d44e8b BMX055 magnetometer calibration (#19992)
old-commit-hash: fd01c89491152c76709aac8ecf3bafaa26ece2a5
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: 1588a6f0acc3a0f80e0ccaa9f621004d90375fea
2021-02-02 12:09:27 +01:00
Dean Lee
bc3b705a5b mv logger_build_boot to bootlog.cc (#19996)
old-commit-hash: 678c149246f5bd6cab2acabe59351eabd19471fc
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: aa37e95341b0df8dcd378f6ca082014828edbbbf
2021-02-01 21:57:17 -08:00
Adeeb Shihadeh
02788f3a0e skip dashcam3 build for now
old-commit-hash: 449e60cb82626e772060389724898fe0b4842957
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: ef6d1aeaaaa6c5df63d44033852e1eb683130414
2021-02-01 21:00:42 -08:00
Comma Device
1acdd80998 split the build and test running
old-commit-hash: 8f84f190629e5724b1eaff6c1e02b4972967ae1d
2021-02-01 20:35:37 -08:00
Comma Device
a63dca4659 fix thneed build
old-commit-hash: dcd4bb4f4eac60439e354686b85a67d99c2b0458
2021-02-01 20:34:21 -08:00
Dean Lee
3f7488b73a model_publish: use kj::ArrayPtr<const float> raw_pred (#19917)
old-commit-hash: 0b7b7241c8fd314775fa2a5b3c7c1846ab3f2776
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: c22d6e315d532bd802fd8dcf62105a1fee35afa6
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: 49d4d5820190836d32089c3e79a2e47a02e7ce36
2021-02-01 15:15:29 -08:00
ZwX1616
b7245e4cf5 tici fcam vignette compensation (#19971)
* simple model

* fix api

* this too
old-commit-hash: 8824966aad4da328cc393cda26dd80d5bbcd7265
2021-02-01 15:06:15 -08:00
Willem Melching
58fd0deed5 cloudlog once on commIssue (#19949)
old-commit-hash: bacf8727d719205ff2fa4c1f21e1304928595882
2021-02-01 13:41:04 -08:00
Adeeb Shihadeh
3469fb0c62 shouldn't need that anymore
old-commit-hash: 0a69c929674d441febb2cbdc9b005ceb6531efbf
2021-02-01 13:13:57 -08:00
grekiki
0b4151df44 Multithreaded ssh activation (#19988)
No more lag on SSH enable/disable
old-commit-hash: cc1308c7dffa8735bcb8f0a021f9755588efdf30
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: b06da518924b5b44becbe681ca86ed6c01e802b2
2021-02-01 16:22:16 +01:00
Robbe Derks
d1ba59fd0a bump panda
old-commit-hash: 0328f550bc8a36ac4cf6ecda828c713e9002c864
2021-02-01 15:55:10 +01:00
Robbe Derks
5b221a0a32 Add back replay_many script for unlogging over jungles
old-commit-hash: 935b9ceb05418e5c6e78b7c556a0d6469d3b5f3c
2021-02-01 15:54:19 +01:00
Willem Melching
ac85e3e240 bump panda
old-commit-hash: 480ebebc504b4ddf014b8adf9352e6e2ece94c0a
2021-02-01 15:01:19 +01:00
Igor
e5e37f373e Longitudinal tune for Corolla TSS2 (#2746)
old-commit-hash: 745b91ee57e577e4dec8d2c6b74966fb12fe407a
2021-02-01 13:43:42 +01:00
Adeeb Shihadeh
33fa938674 need to build from here since we link against the absolute paths
old-commit-hash: 4dcb22f03f2aa61f1bb4e06f011c18e3af992185
2021-01-31 20:05:53 -08:00
Comma Device
8554408282 copy into installer/
old-commit-hash: 592f994c05d26f749de93eb1f0bccaa371e6ce88
2021-02-01 03:31:55 +00:00
Comma Device
94932b5871 copy continue.sh into release3
old-commit-hash: e069e7ca9873a06c087e6a2cfa2970f314e03e0c
2021-02-01 03:09:40 +00:00
Adeeb Shihadeh
162e363c02 build release3 (#19984)
* build release3

* copy agnos manifest

* build in jenkins

* nproc doesn't work

* no pandaextra

* revert that

* don't modify version from source

* build after tests

* restore the symlink

* only master

* remove apk

* revert that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a712a4bd9c2f3b403485fa8bf7a66e0ac48fa6e5
2021-01-31 18:49:34 -08:00
Dean Lee
a64b230637 get_frame_image: moved the global variables into function static (#19982)
old-commit-hash: 7f5a1ce02d83f3413137b6c9cb5534c1b787a712
2021-01-31 18:16:12 -08:00
Jack Davison
dde321fcc0 Add ESP FW for 2021 Hyundai Sonata SEL (#19980)
old-commit-hash: 5bebc32fb114bf91917309547c5d9a2a4928f800
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: 3fde3a5f7d924062d47ebe934af1865e43a08dc9
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: b0c8ce486394f010bd031b9f22f6e0679aeed5a4
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: 9a9641a296dcc0887d902412214510f0ff912fa2
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: 2d0c249f4048fba02ad12f25a45f26df4742b444
2021-01-30 18:49:44 -08:00
Dean Lee
33495e4368 loggerd: small cleanup (#19864)
old-commit-hash: 16e259cadf7da85f8faf072edd2b37dc1fc4f03c
2021-01-30 18:37:58 -08:00
Adeeb Shihadeh
ec468f88c9 move agnos manifest to selfdrive/hardware (#19889)
old-commit-hash: cfb0390183fe073f8aee93d922b6ba907c010532
2021-01-30 18:31:28 -08:00
Adeeb Shihadeh
2803e48c7d bump opendbc
old-commit-hash: 2d240717b34948cdc0ccdda2ca58a6d3cd0e3b55
2021-01-30 18:23:19 -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: f54ecc277930b204d492c896f465cffbb0826aeb
2021-01-30 18:21:54 -08:00
Adeeb Shihadeh
75b57c9ffe faster webcam CI (#19975)
* don't copy in openpilot

* need that

* try this

* reenable the condition
old-commit-hash: afa1e69bc1cb74949ebed7e7517f428ae0f93c27
2021-01-30 17:56:54 -08:00
Adeeb Shihadeh
d366d2abeb pin pre-commit hook versions
old-commit-hash: 9fbac812e40e1decb4e6f47e70967efe450953bb
2021-01-30 16:55:07 -08:00