Commit Graph

291 Commits

Author SHA1 Message Date
Willem Melching
1c5ffc32ea 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>
old-commit-hash: d898841e87d548cd057a7546b1c28be36eab0f1a
2021-10-07 23:47:23 -07:00
Willem Melching
06e22360ae Add DisableRadar_Allow param and settings toggle (#22329)
old-commit-hash: 8c01ae5716b558039946c07e63d42d16094037d2
2021-09-23 17:19:47 -07:00
Willem Melching
dd7e1bef52 params.cc: sort offroad params
old-commit-hash: 6dabefb68d8ae68ebd55f2a4eb2dbdb153523759
2021-09-23 16:47:00 -07:00
Willem Melching
e6f16a7e56 sort params alphabetically
old-commit-hash: 36975a007159386262912b9cae101b358dd11a13
2021-09-23 16:46:02 -07:00
Adeeb Shihadeh
cadba6f36c add booted onroad flag (#22318)
old-commit-hash: e9e490a72933e81a190d7d7bbb94661864270885
2021-09-22 22:25:08 -07:00
Adeeb Shihadeh
47a983fb00 updated: add persistent param for build date (#22237)
old-commit-hash: ed70c5aaf537d14ca870d30851172c7a5242b7d1
2021-09-14 20:24:41 -07:00
Willem Melching
c3a226afbf Revert "ui: use C3 video sizes by default on PC"
This reverts commit 71484f14c0d13f9b3eb9bece3629726e834ea304.

old-commit-hash: abae4ef72c462eef55c8a35f14365ed8b94c2bcc
2021-09-14 11:48:34 -07:00
Willem Melching
b85209979a ui: use C3 video sizes by default on PC
old-commit-hash: cf4cd3b6935f7d0fcfc35ef0e9ea4ec0aae7155f
2021-09-14 11:27:34 -07:00
Adeeb Shihadeh
9193e1afa1 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>
old-commit-hash: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh
c1a7b5dc06 bump version to 0.8.10
old-commit-hash: 0a75a6653754bdf320263ddccca0fd8087596e15
2021-09-08 15:07:55 -07:00
Dean Lee
f4d8621be1 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>
old-commit-hash: a034926264cd1025c69d6ceb3fe444965f960b75
2021-09-08 13:13:27 -07:00
Adeeb Shihadeh
706542a7b2 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>
old-commit-hash: d5475ba9462ad9c6a18db05e96a4fa9d3bf9772a
2021-09-07 17:39:24 -07:00
Dean Lee
b1cfdaa5d6 modeldata.h: cleanup ecam_intrinsic_matrix (#22135)
old-commit-hash: 31c743b40ec73815b0b99d99a5e9028a46679488
2021-09-06 15:12:27 -07:00
Dean Lee
48b7754ab5 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.
old-commit-hash: 83710b14ee8cf043576dba8f3707fc585067167e
2021-09-01 15:10:59 -07:00
sshane
3150250f00 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>
old-commit-hash: 6fad0055b464492d6457597116125f50155b74a3
2021-09-01 14:33:06 -07:00
Willem Melching
60e7e09127 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
old-commit-hash: a93271a518b466cd83699acd8598a0361ee9a02b
2021-09-01 14:28:50 -07:00
Dean Lee
4c17c06799 Handle EINTR for all syscalls that can return it (#21948)
old-commit-hash: f02c8d0e2c04e45ceeea9f2fe9851319d724a637
2021-08-31 16:22:56 -07:00
Dean Lee
8869697c49 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>
old-commit-hash: 383ff35790705ec3bbc8d36215fe1c2dde5edef3
2021-08-30 19:47:47 -07:00
Dean Lee
467348f803 Params::put: fixed the wrong call to Params::remove instead of global ::remove (#21974)
* fix bug

* use unlink
old-commit-hash: 6be8520a84f7d43d1df5bc529a75be40be5f805b
2021-08-30 16:31:27 -07:00
Dean Lee
073898d8fd retry ioctls while errno == EINTR (#22054)
old-commit-hash: 31230e5b60aac7a7968a80d14e96f0a6fc9a9222
2021-08-30 16:07:34 -07:00
Willem Melching
6f92abc815 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>
old-commit-hash: dddab597bcee0a103895509b7909743f97cbdf83
2021-08-28 18:25:05 -07:00
Adeeb Shihadeh
e18d4064b8 bump version to 0.8.9
old-commit-hash: 26b74dd31d0ea92e510c8cf16fbcecb70c4d2ab4
2021-08-25 14:35:17 -07:00
Dean Lee
496c0af226 Params: set ParamKeyType: ALL to 0xFFFFFFFF (#21978)
old-commit-hash: 4bbbbe5175f78eae660e7385c644f4f1392e6bdc
2021-08-22 13:09:14 -07:00
Dean Lee
29ec7b83bf params: remove persistent params (#21975)
* cleanup constructors

* remove persistent_param

* remove test_persist_params_put_and_get
old-commit-hash: 3b752a307f167ad536eb53cceac76f7034f2faf9
2021-08-20 16:57:45 -07:00
Dean Lee
93d6a8257b remove unused function starts_with (#21979)
old-commit-hash: 5f1ec6339fd01cd0979e272cf481c2e9a58d0889
2021-08-19 14:48:36 -07:00
Willem Melching
5bdd6a5165 Write panda heartbeat lost in param (#21957)
old-commit-hash: 2abd288567d849dc52bf664f3c536908f2a183c7
2021-08-18 12:48:01 +02:00
Dean Lee
aff7f0b1f3 enclose macro arguments in parentheses (#21947)
* macro argument should be enclosed in parentheses

* CL_CHECK
old-commit-hash: 4625098a7953308cc76c6c9b81d28e6bb89f671c
2021-08-18 10:56:37 +02:00
Dean Lee
11876a275e params.cc: remove unnecessary static keyword (#21940)
old-commit-hash: 39870b195dd9377a2808273c48570fefb7a56994
2021-08-16 16:07:06 +02:00
Mitchell Goff
b7b87efed9 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
old-commit-hash: 05b37552f3a38f914af41f44ccc7c633ad152a15
2021-08-12 21:06:26 -07:00
Dean Lee
16c727b65c fix: util::file_exists will return false on no permissions (#21880)
* fix bug

* add test case
old-commit-hash: 3a7959b5ffff6f866e592fc815692ec469f4fbb6
2021-08-09 11:56:45 +02:00
arfy slowy
63b3d6024b fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

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

* apply review
old-commit-hash: fefc70b4cab71a11b3c5ed1b8680606ee2013a48
2021-08-04 13:29:03 +02:00
Adeeb Shihadeh
fa31a76843 bump version to 0.8.8
old-commit-hash: 780f737fbb642d2c241c70022e958f2fa336a80a
2021-08-03 18:40:11 -07:00
George Hotz
17867a1122 loggerd: implement DONT_LOG flag (#21832)
* implement DONT_LOG flag

* better typing
old-commit-hash: 8354cfc53c023bfd20b7887c7ff4560fb9615b4f
2021-08-02 20:16:38 -07:00
Dean Lee
c40edd4b56 qt/util: new function getDongleId (#21810)
* new function getDongleId

* return std::optional
old-commit-hash: 073b96e5d16c4780ed4adfb50b506fa1afd40d68
2021-08-02 11:21:51 +02:00
Dean Lee
31ea9413bb util/read_files_in_dir: return map by value (#21815)
old-commit-hash: 11ffbc693694780c612d9d449f49a2feabe8a0a2
2021-08-02 10:59:54 +02:00
Mitchell Goff
2d0512b8a1 Revert "New desire model (#21729)" (#21805)
* Revert "New desire model (#21729)"

This reverts commit 709932b3bfb4c3b4f33711b8d07615469e762832.

* Updated process replay ref and reverted release notes
old-commit-hash: 15d6bbb47c3a33f98d33377d95bf7e69c46565fa
2021-07-30 14:34:29 -07:00
Mitchell Goff
3fb1a1c746 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>
old-commit-hash: e83973b9b31199c1594b9be2371a7af0c589c2d9
2021-07-26 21:11:09 -07:00
Adeeb Shihadeh
e8161a42ee 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>
old-commit-hash: 7b94cf0ca79e570dd217f164b0a0ca163566eea9
2021-07-26 13:50:58 -07:00
Adeeb Shihadeh
f559d321b4 bump version to 0.8.7
old-commit-hash: 973e016fa7b21b57037d15385fc3b6481cd605aa
2021-07-21 17:31:19 -07:00
Adeeb Shihadeh
b39d2d441a remove wide toggle (#21669)
old-commit-hash: 4e6c268b1784f7899a91760f20142bc7809e044f
2021-07-21 00:58:42 -07:00
Adeeb Shihadeh
477e2e22d3 Revert model (#21571)
* Revert "New desire model (#21458)"

This reverts commit 9db03d2a3fefff50b738d288beadc2c2e7c3165e.

* revert rel notes
old-commit-hash: 88424ede2c5bdd2beade731717cbb0bb635034e9
2021-07-12 19:26:50 -07:00
Willem Melching
c042bbf09c nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
old-commit-hash: 9ea913bcc812ed55d2f8204ced892b81f20af326
2021-07-08 14:33:58 +02:00
HaraldSchafer
7fcdd04541 New desire model (#21458)
* 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

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
old-commit-hash: 4230d5d2124577b86e69b136d846ca9cc3ecd746
2021-07-07 19:44:17 -07:00
HaraldSchafer
96d4bfbff3 Refactor long (#21433)
* refactor

* needs casting

* tests pass

* fix that test

* refactor in controls

* lets not go crazy

* change of names

* use constants

* better naming

* renamed

* soft constraints

* compile slack variables

* rm git conflict

* add slack variables

* unused

* new edition

* fcw

* fix tests

* dividing causes problems

* was way too slow

* take a step back

* byeeee

* for another time

* bad idxs

* little more cpu for cruise mpc

* update refs

* these limits seem fine

* rename

* test model timings fails sometimes

* add default

* save some cpu

* Revert "little more cpu for cruise mpc"

This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.

* Revert "test model timings fails sometimes"

This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.

* update refs

* less cpu

* Revert "Revert "test model timings fails sometimes""

This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.

* Revert "less cpu"

This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.

* cleanup

* not too much until we clean up mpc

* more cost on jerk

* change ref

* add todo

* new ref

* indentation
old-commit-hash: be5ddd25cd3f4c8b7e46cdeecf303e2c73301003
2021-07-07 19:42:26 -07:00
Willem Melching
32cde15035 bump date in time_valid check
old-commit-hash: 86630effcfd8e1aee71e11a79937714de6379757
2021-06-30 12:18:53 +02:00
Adeeb Shihadeh
d31397b84b segment regen (#21148)
* start seg regen

* send vipc

* fix up some paths

* set fp

* fix no entries

* engages

* seperate camera procs

* send real frames

* regen test routes

* nice argparser

* fix valgrind test

* move that

* fix that
old-commit-hash: 4a1aec27efb48bdba1d267c86ef66c8a044c4986
2021-06-28 21:44:40 -07:00
Adeeb Shihadeh
784601c8e1 remove lte toggle (#21392)
* remove lte toggle

* little more
old-commit-hash: a420c7ad50eec716e53537957b1439b2ce44d73e
2021-06-23 17:01:17 -07:00
Dean Lee
c1aec67697 fix FileLock: fd could be closed twice (#21362)
old-commit-hash: 766f3281bb5edc8ab4e86a745e07f4034e4f249c
2021-06-22 14:05:48 -07:00
Dean Lee
f03ca47c9c util.cc: refactor read_file (#21350)
old-commit-hash: ac71384a28cda46126ea5d699697bb7ab701d972
2021-06-22 13:48:41 -07:00