Commit Graph

238 Commits

Author SHA1 Message Date
Adeeb Shihadeh
f4c2398db4 add sdcard support (#22703)
* generalize

* factory reset
2021-10-26 19:34:08 -07:00
Willem Melching
cca07c0c73 navigation: use mapbox proxy server (#22660)
* use mapbox proxy

* remove MapboxToken param

* do not log jwt

* remove import

* move to staging url

* put has_prime in ui state

* logic was flipped

* Update selfdrive/ui/qt/maps/map.h
2021-10-26 18:59:17 +02:00
Willem Melching
c30bd052c3 bump version to 0.8.11 2021-10-26 15:23:04 +02:00
Greg Hogan
755a0a63a2 ModelDataRaw struct part 3 (#22639)
* lane lines and road edges

* roll back some changes to find what broke things

* rollback more changes to find issue

* fix order of lane line probs

* try outputs on stack again

* initialize output array
2021-10-21 14:59:07 -07:00
Greg Hogan
a7f36c9daf ModelDataRaw struct part 2 (#22554)
* model pose more struct

* constexpr seems useful

* more concise

* fix order

* seems more readable

* plan struct

* attempt to fix compiling on device

* fix constexpr errors on device

* fix rotation rate in log

* maybe this fixes compiling constexpr on device

* exp() cannot be used in constexpr on c2

* only copy what we actually log

* simplify pivot()

* fix setting position std

* see if this works

* try lambda again

* giving up on the lambda to select member

* fix position std

* fix param order
2021-10-19 19:04:01 -07:00
Adeeb Shihadeh
84de248fa7 tici: affine loggerd to efficiency cores (#22581) 2021-10-18 13:21:24 -07:00
dlsp
c6b210da02 params: include optional header (#22553) 2021-10-14 13:09:51 -07:00
Mitchell Goff
fd3fdea7b4 Use TICI intrinsics by default on PC (#22546) 2021-10-13 12:44:36 -07:00
Willem Melching
d898841e87 Change APN from settings (#22440)
* Change APN from settings

* subtext

* one function

* bring connection down and up

* fix adapter type

* trim input

* fix scrolling in scanning state

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-07 23:47:23 -07:00
Willem Melching
8c01ae5716 Add DisableRadar_Allow param and settings toggle (#22329) 2021-09-23 17:19:47 -07:00
Willem Melching
6dabefb68d params.cc: sort offroad params 2021-09-23 16:47:00 -07:00
Willem Melching
36975a0071 sort params alphabetically 2021-09-23 16:46:02 -07:00
Adeeb Shihadeh
e9e490a729 add booted onroad flag (#22318) 2021-09-22 22:25:08 -07:00
Adeeb Shihadeh
ed70c5aaf5 updated: add persistent param for build date (#22237) 2021-09-14 20:24:41 -07:00
Willem Melching
abae4ef72c Revert "ui: use C3 video sizes by default on PC"
This reverts commit cf4cd3b693.
2021-09-14 11:48:34 -07:00
Willem Melching
cf4cd3b693 ui: use C3 video sizes by default on PC 2021-09-14 11:27:34 -07:00
Adeeb Shihadeh
b3705ede5e Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh
0a75a66537 bump version to 0.8.10 2021-09-08 15:07:55 -07:00
Dean Lee
a034926264 Qt/onroad: use CameraViewWidget (#21821)
* use CameraViewWidget

* no timer, updateFrame after frameSwapped

* use QOpenGLShaderProgram

* merge master

* remove that

* new function setStreamType

* continue

* remove showEvent

* cleanup

* cleanup

* little more

* fix black screen on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-08 13:13:27 -07:00
Adeeb Shihadeh
d5475ba946 nav: add button to clear current route (#22167)
* nav: add button to clear current route

* fix scroll

* retab

Co-authored-by: Comma Device <device@comma.ai>
2021-09-07 17:39:24 -07:00
Dean Lee
31c743b40e modeldata.h: cleanup ecam_intrinsic_matrix (#22135) 2021-09-06 15:12:27 -07:00
Dean Lee
83710b14ee fix: util::read_files_in_dir does not always return a correct result (#21883)
* fix bug

* use de->d_type==DT_REG

* Revert "use de->d_type==DT_REG"

This reverts commit ecb38c82305ea23bfec84284aa77be5b5c64957a.
2021-09-01 15:10:59 -07:00
sshane
6fad0055b4 UI: roaming toggle (#21750)
* roaming toggle

* clean up

* only tici

* fix order

* move to wifiManager

* should be working

* clean up

clean up

* use map icon

* move to advanced settings

* clean up

* temporarily change home-only

* keep setting for now

* set both to defaults in case ui doesn't start

* knownConnections stores conn names

* Revert "knownConnections stores conn names"

This reverts commit 4466a029a38f8c89876fad3c221e95e8fc572ded.

* save lteConnectionPath instead

* use the if statement

Co-authored-by: Comma Device <device@comma.ai>
2021-09-01 14:33:06 -07:00
Willem Melching
a93271a518 Ensure that first segment starts with all cameras on the same frameId (#22096)
* test that segment starts with the same frame id

* improve test

* add sync logic

* atomic max

* review comments
2021-09-01 14:28:50 -07:00
Dean Lee
f02c8d0e2c Handle EINTR for all syscalls that can return it (#21948) 2021-08-31 16:22:56 -07:00
Dean Lee
383ff35790 Params: faster atomic clearAll (#21973)
* faster clearAll

* use unlink

* fsync_dir if removed > 0

* remove macro ERR_NO_VALUE

* always fsync

* keep call to unlink

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 19:47:47 -07:00
Dean Lee
6be8520a84 Params::put: fixed the wrong call to Params::remove instead of global ::remove (#21974)
* fix bug

* use unlink
2021-08-30 16:31:27 -07:00
Dean Lee
31230e5b60 retry ioctls while errno == EINTR (#22054) 2021-08-30 16:07:34 -07:00
Willem Melching
dddab597bc Less open file permissions (#21922)
* Less open file permissions

* add test back

* remove params test for permissions

* remove umask

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-28 18:25:05 -07:00
Adeeb Shihadeh
26b74dd31d bump version to 0.8.9 2021-08-25 14:35:17 -07:00
Dean Lee
4bbbbe5175 Params: set ParamKeyType: ALL to 0xFFFFFFFF (#21978) 2021-08-22 13:09:14 -07:00
Dean Lee
3b752a307f params: remove persistent params (#21975)
* cleanup constructors

* remove persistent_param

* remove test_persist_params_put_and_get
2021-08-20 16:57:45 -07:00
Dean Lee
5f1ec6339f remove unused function starts_with (#21979) 2021-08-19 14:48:36 -07:00
Willem Melching
2abd288567 Write panda heartbeat lost in param (#21957) 2021-08-18 12:48:01 +02:00
Dean Lee
4625098a79 enclose macro arguments in parentheses (#21947)
* macro argument should be enclosed in parentheses

* CL_CHECK
2021-08-18 10:56:37 +02:00
Dean Lee
39870b195d params.cc: remove unnecessary static keyword (#21940) 2021-08-16 16:07:06 +02:00
Mitchell Goff
05b37552f3 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
2021-08-12 21:06:26 -07:00
Dean Lee
3a7959b5ff fix: util::file_exists will return false on no permissions (#21880)
* fix bug

* add test case
2021-08-09 11:56:45 +02:00
arfy slowy
d74def61f8 fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 12:05:49 -07:00
Dean Lee
fefc70b4ca hw.h: move Hardware-related paths to namespace Path (#21826)
* refactor getenv and path

* apply review
2021-08-04 13:29:03 +02:00
Adeeb Shihadeh
780f737fbb bump version to 0.8.8 2021-08-03 18:40:11 -07:00
George Hotz
8354cfc53c loggerd: implement DONT_LOG flag (#21832)
* implement DONT_LOG flag

* better typing
2021-08-02 20:16:38 -07:00
Dean Lee
073b96e5d1 qt/util: new function getDongleId (#21810)
* new function getDongleId

* return std::optional
2021-08-02 11:21:51 +02:00
Dean Lee
11ffbc6936 util/read_files_in_dir: return map by value (#21815) 2021-08-02 10:59:54 +02:00
Mitchell Goff
15d6bbb47c Revert "New desire model (#21729)" (#21805)
* Revert "New desire model (#21729)"

This reverts commit e83973b9b3.

* Updated process replay ref and reverted release notes
2021-07-30 14:34:29 -07:00
Mitchell Goff
e83973b9b3 New desire model (#21729)
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900

* Enable keeps

* use new packet

* Send keep pulses once per second

* Updated model_replay_ref_commit

* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac

* Bump model_replay_ref_commit

* Bump submodules

* New model: fd904bf9-5dd8-4619-8997-c5668400e078/550

* New model: fd904bf9-5dd8-4619-8997-c5668400e078/950

* No keeps

* Bumped model replay ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2021-07-26 21:11:09 -07:00
Adeeb Shihadeh
7b94cf0ca7 athena: detect no prime (#21718)
* detect no prime

* show in sidebar

* revert timeout

* clear ping param

* fix typo

Co-authored-by: Comma Device <device@comma.ai>
2021-07-26 13:50:58 -07:00
Adeeb Shihadeh
973e016fa7 bump version to 0.8.7 2021-07-21 17:31:19 -07:00
Adeeb Shihadeh
4e6c268b17 remove wide toggle (#21669) 2021-07-21 00:58:42 -07:00
Adeeb Shihadeh
88424ede2c Revert model (#21571)
* Revert "New desire model (#21458)"

This reverts commit 4230d5d212.

* revert rel notes
2021-07-12 19:26:50 -07:00