Commit Graph

16653 Commits

Author SHA1 Message Date
Dean Lee 99f19b5da6 UI: remove struct track_vertices_data (#20018)
* remove struct track_vertices_data

* space

* rebase master
old-commit-hash: c2aefab553
2021-02-08 12:06:14 +01:00
Dean Lee 31a811ca45 boardd: check do_exit in usb_retry_connect (#20007)
old-commit-hash: 2a935a2010
2021-02-08 12:01:12 +01:00
Willem Melching c8bcf66cd5 Remove dockerhub references from CI (#20038)
* cache from base image

* specify github repo
old-commit-hash: e9c4a75a5c
2021-02-08 11:53:47 +01:00
Igor d9ac51af5c Toyota interface.py: Create separate section for custom long tune (#20021)
* Move custom long tune section

* Move default tune to else statement
old-commit-hash: 18382f7819
2021-02-08 10:07:37 +01:00
Dean Lee 766302fabe removed margin paramater from car_space_to_full_frame (#20017)
old-commit-hash: 40919a6f48
2021-02-07 18:00:56 -08:00
Dean Lee 6e63be3a01 loggerd: remove the segment variable from encoders (#20034)
old-commit-hash: 1fad5216ea
2021-02-07 17:48:46 -08:00
vanillagorillaa eb847854ea Chrysler Pacifica: additional 2020 Fingerprint values (#20032)
* Additional 2020 Values

* space
old-commit-hash: 4e99b4c232
2021-02-07 17:36:34 -08:00
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbd
2021-02-07 17:33:48 -08:00
Adeeb Shihadeh 5bc05ad36b android logcatd fixes + better test (#20036)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bb0f91791a
2021-02-07 17:29:52 -08:00
Willem Melching 17d5446650 Timezoned (#19960)
* untested code

* add to manager

* whitespace

* only save on fix

* cleanup

* fix typo

* add to ignored processes

* import tici

* fix param name

* cleanup

* only run offroad

* use itertools

* wait for thermald

* simpler

* fall back to api call

* add param to override timezone

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4c04e220a1
2021-02-06 11:07:37 +01:00
Adeeb Shihadeh 434e5f0454 UI: make onroad/offroad transition more robust (#20030)
* make onroad/offroad transition more robust

* fix up driver view

* check other started

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3dc45554d7
2021-02-05 22:13:32 -08:00
Willem Melching 6f4437a8ff Agnos v0.5 (#20023)
old-commit-hash: 53bb7e3e10
2021-02-05 19:54:46 -08:00
Adeeb Shihadeh 10bf2690f1 fix font weights in qt ui
old-commit-hash: d75ff15048
2021-02-05 17:50:19 -08:00
Adeeb Shihadeh 9168fa6d93 show sat count in sidebar (#20028)
* show sat count in sidebar

* fix

* revert that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54b59783cb
2021-02-05 14:15:02 -08:00
HaraldSchafer 5092214913 Different lag comp (#20024)
* more sensible

* different names for different segs

* new ref

* this is checked somewhere
old-commit-hash: c3707328f5
2021-02-05 14:01:22 -08:00
Dean Lee dc406c1b16 move global SET_SPEED_NA to function that uses it (#20026)
old-commit-hash: a7fe4560a6
2021-02-05 12:12:33 -08:00
Julian Pieles ba082ebe50 support for Nissan Leaf with ADAS ECU in alt location (instrument cluster) (#19619)
old-commit-hash: 2e32f18d06
2021-02-05 11:04:45 -08:00
Adeeb Shihadeh 01d65286f0 make thneed compile more robust
old-commit-hash: 5930749a12
2021-02-05 00:54:57 -08:00
Adeeb Shihadeh f1530e6739 swap factory reset order
old-commit-hash: a94bf25d6f
2021-02-05 00:06:57 -08:00
Adeeb Shihadeh 5d28f23778 skip manager check in sim
old-commit-hash: 4ca462a846
2021-02-04 20:51:37 -08:00
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 ee4c5cbbbe ui.py fix current steering angle
old-commit-hash: d6a4c84a73
2021-02-04 22:39:49 +01:00
Willem Melching 3516acf3ad fix ui.py
old-commit-hash: 7ae497d05d
2021-02-04 22:36:46 +01:00
Willem Melching b854cca46d look in /usr/local/lib first
old-commit-hash: d46520a057
2021-02-04 19:11:29 +01: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
grekiki 60de719638 update libs (#20009)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4a509982a7
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: 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
Adeeb Shihadeh bf0d5f5ad9 nui is built with scons now
old-commit-hash: 2731283052
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: 236743a4e2
2021-02-02 15:36:04 +01: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 1acdd80998 split the build and test running
old-commit-hash: 8f84f19062
2021-02-01 20:35:37 -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