Willem Melching
2eded18267
C3: detect metered Android hotspot ( #23734 )
...
* C3: detect metered networks
* show in ui
* fix text layout
* bump cereal
* revert ui changes
* set networkMetered
* add athena method
* add metered logging to uploader
* use in athena uploader
* remove param
* use networkmanager properties to set cell to unmetered
* fix indentation
* no need to check
* bump cereal
* review
* bump cereal
old-commit-hash: da5a0c41a0
2022-03-09 11:36:52 +01:00
HaraldSchafer
fc042cd85a
Fix tici bigmodel ( #23817 )
...
* Fix bigmodel on tici: cam intrinsics arent static
* Give TICI route own name for import
* Make function useable in offline test
* typo
* change tici ecam focal to trained focal
* No shadow variable
* Fixed ref
* Force update this time
* Update model replay ref commit
old-commit-hash: 48154703a7
2022-02-21 19:57:04 -08:00
Robbe Derks
7ef4b9115f
Param to allow upload over cellular ( #23811 )
...
* param to allow upload over cellular
* brackets to be consistent
* move outside loop
* fix tests
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5f64f1c089
2022-02-21 12:17:47 +01:00
Adeeb Shihadeh
66473b54b2
bump to 0.8.14
...
old-commit-hash: bdf4245e00
2022-02-15 15:32:44 -08:00
Willem Melching
30a0b40b5d
ui: configure tethering based on prime type ( #23733 )
...
* Store prime type in param
* set tethering metric based on prime type
* update existing connections
* returning zero is fine
* always set
* add callback on activate
* call systemctl
* match server enum
* add delay
* assume field is there
* snake case
old-commit-hash: 4e4cb07297
2022-02-09 20:27:58 +01:00
Dean Lee
fab73e6e9f
remove trailing whitespaces ( #23716 )
...
old-commit-hash: 786152f0f1
2022-02-06 10:42:41 -08:00
Adeeb Shihadeh
94f8115236
Log panda signature to param ( #23670 )
...
old-commit-hash: 8d9afa7171
2022-01-30 13:07:05 -08:00
Robbe Derks
c69bba9c9c
Statlog in C ( #23596 )
...
* statlog in C
* fix swaglog and the test
* add missing files
* fix context initialization todo
* speed up test
old-commit-hash: 6366d1303f
2022-01-27 17:14:38 +01:00
Adeeb Shihadeh
70f1418256
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
old-commit-hash: 3e9cb7fa12
2022-01-24 14:49:47 -08:00
Dean Lee
3e286dd194
swaglog: Fix random test failure ( #23546 )
...
* print info
* retry zmq_recv on errors
* get line no from __LINE__
* cleanup
* renmae msg to thread_id
old-commit-hash: 1221d8887c
2022-01-16 09:36:52 -08:00
Adeeb Shihadeh
ccf91380f2
manager: log exit reason ( #23532 )
...
old-commit-hash: 308a6f1730
2022-01-14 08:55:51 -08:00
Willem Melching
4b0cd07836
boardd: panda_state_thread run closer to 2 Hz ( #23529 )
...
* boardd: panda_state_thread run closer to 2Hz
* make explicit
old-commit-hash: b75e410779
2022-01-14 15:08:39 +01:00
Willem Melching
6346a84060
thermald: remove panda disconnect logic ( #23526 )
...
* thermald: remove panda disconnect logic
* keep that
old-commit-hash: ed23177898
2022-01-14 14:13:18 +01:00
Adeeb Shihadeh
2f87bde2ff
Log android system shutdown to param ( #23520 )
...
* Log android system shutdown to param
* comment
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 610b99fd68
2022-01-13 22:40:35 -08:00
Adeeb Shihadeh
7ea602dafe
swaglog: add daemon name to context ( #23518 )
...
* cleanup first
* add daemon name
* add test
* fix
* daemon name
old-commit-hash: 8c53adf4ab
2022-01-13 20:23:08 -08:00
Dean Lee
12c511b1e0
swaglog.cc: add test case. fixed the ctx of the first message is empty ( #23226 )
...
* test case
* add to selfdrive_tests.yaml
* fix ctx_j is empty
* check return value too
old-commit-hash: feae37541f
2022-01-13 20:03:07 -08:00
Willem Melching
efc06c6290
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
old-commit-hash: 3ce4976db7
2022-01-10 19:54:07 +01:00
Robbe Derks
08212107e8
C2 detection ( #23439 )
...
* two detection
* fix CI
* catch all
* gotta catch em all
old-commit-hash: 842ba8e5e6
2022-01-10 13:13:52 +01:00
Dean Lee
52ad5cddac
modeldata: use a constexpr function to build the IDXS ( #23245 )
...
remove convert_array_to_type
rename to build_idxs
space
double
old-commit-hash: 7d3ad941bc
2021-12-16 14:19:46 -08:00
Devin Leamy
20a2b9d0a2
athena: persist upload queue to disk ( #22659 )
...
* revert submodules
* lowercase
* addressed comments
* add test for cancelled uploads
* formatting
* catch all exceptions
* handle empty param
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8cb83b29a6
2021-12-14 13:29:17 +01:00
Adeeb Shihadeh
87ca19c8fd
bump version to 0.8.13
...
old-commit-hash: 4a936bb2e5
2021-12-13 22:24:03 -08:00
Dean Lee
dd7c226097
util: move all functions into util namespace ( #23203 )
...
old-commit-hash: 9decd3d8a2
2021-12-12 14:42:23 -08:00
Willem Melching
bc267926ce
dmonitoring/DriverView: get crop_rect & transform by video size ( #23169 )
...
* dmonitoring/DriverView: get crop_rect & transform by video size (#23014 )
* keep rounding the same
Co-authored-by: Dean Lee <deanlee3@gmail.com>
old-commit-hash: f93d89b888
2021-12-09 16:20:50 +01:00
Willem Melching
f44ac2a806
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit e312313d5c75a3914cdabc6e1382df602b005c84.
old-commit-hash: b5fdf646ff
2021-12-08 19:13:38 +01:00
Dean Lee
1e45fe1ee7
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
...
old-commit-hash: 1af715d6a2
2021-12-08 17:51:56 +01:00
Willem Melching
e7bf88f29f
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
old-commit-hash: 2e0c73fc0c
2021-12-07 11:25:40 +01:00
Willem Melching
1ae492370d
Add LastPowerDropDetected and create bootlog before clearing params ( #23062 )
...
* Add LastControlledShutdown and create bootlog before clearing params
* update param name
* sorting
old-commit-hash: 7c8044d2db
2021-11-29 15:51:27 +01:00
Willem Melching
935ce9edad
navd: render map into VisionIPC ( #22800 )
...
* navd: render simple map
* render route
* offscreen rendering
* cleanup
* more cleanup
* render into visionIPC
* rename class
* split position update from route update
* stop broadcast if not active
* gate vipc server behind flag
* add python library
* faster
* no vipc from python
* put behind extras
* only send when loaded
* add glFlush just to be sure
* cleanup settings into helper function
* function ordering
* broadcast thumbnails
* put behind param
* adjust zoom level
* add route to python bindings
* revert that freq change
* add logging if map rendering is enabled
* use rlogs if available
* bump cereal
old-commit-hash: 5069852573
2021-11-26 14:38:02 +01:00
Adeeb Shihadeh
8731fc42b7
back to 0.8.12
...
old-commit-hash: a941a1040d
2021-11-22 14:26:00 -08:00
Adeeb Shihadeh
ab74f9a372
back to 0.8.11
...
old-commit-hash: f813ae3e1a
2021-11-18 15:10:41 -08:00
Adeeb Shihadeh
2bcaee3678
add offroad alerts for car unrecognized ( #22934 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
old-commit-hash: 2a72e2a514
2021-11-17 20:29:00 -08:00
Adeeb Shihadeh
74f4dfde27
bump to 0.8.12
...
old-commit-hash: 7d18e26ff1
2021-11-17 15:00:37 -08:00
Dean Lee
84097b29df
watchdog_kick: non-allocating ( #22892 )
...
* non-allocating
* unpack
* call kick every second
* cleanup include
old-commit-hash: ca88a8769b
2021-11-17 12:02:31 +01:00
Adeeb Shihadeh
8a66c54064
Revert "add offroad alerts for car unrecognized"
...
This reverts commit 2ffaadb4d2eaabf6e8d86423fbc25328e81dfff0.
old-commit-hash: d8a5c415cd
2021-11-16 13:31:10 -08:00
Adeeb Shihadeh
08bfdb151b
add offroad alerts for car unrecognized
...
old-commit-hash: fb1e8ce086
2021-11-16 13:30:33 -08:00
Willem Melching
bb8d0aa76d
Move shutdown/reboot handling to manager ( #22882 )
...
* Move shutdown/reboot handling to manager
* more logging
* check enagaged
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 07ff724726
2021-11-12 09:10:34 -08:00
Adeeb Shihadeh
29f6b5cb98
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
old-commit-hash: e528e2e3e2
2021-11-11 15:32:25 -08:00
Willem Melching
669ed5ff2b
Put journal and nvme stats in bootlog ( #22849 )
...
* Run commands and put output in bootlog
* log nvme
* fix indent
* cereal without event
* use regular array
old-commit-hash: fa0cbe5d40
2021-11-10 16:07:22 +01:00
Willem Melching
d6c860cb0a
cache prime status in param ( #22850 )
...
old-commit-hash: 6ace88a0f1
2021-11-10 16:05:49 +01:00
Dean Lee
2bbceb0b29
EGLImageTexture: pass nullptr to glTexImage2d in last argument ( #22844 )
...
old-commit-hash: b0f9365295
2021-11-09 18:49:48 -08:00
Dean Lee
6e027a8aa6
util.h: add unit conversion constants ( #22813 )
...
* Add unit conversion constants.
* move to common/util.h
old-commit-hash: e29cc1c2ee
2021-11-08 10:19:34 +01:00
Dean Lee
6677f91e9d
thneed/serialize: use funtions from clutil( #22760 )
...
old-commit-hash: 177c3b89b6
2021-11-04 16:19:25 +01:00
Dean Lee
7ff2217c8b
util: remove function to_hex ( #22792 )
...
old-commit-hash: ff33ca3413
2021-11-04 16:18:01 +01:00
Willem Melching
19deb98bc3
wshadow: fix comma three build
...
old-commit-hash: 45c506bb17
2021-11-02 17:27:34 +01:00
Dean Lee
950211e15f
params: remove obsolete keys ( #22769 )
...
old-commit-hash: 6de66f2832
2021-11-01 14:32:55 -07:00
Dean Lee
40b2bb9f65
params: code cleanup ( #22744 )
...
* cleanup params
* apply review
* continue
* use c_str
* cleanup filelock
* don't check return code of close()
* remove call_once
* cleanup params_pyx
* cleanup comment
old-commit-hash: 2773ff5ace
2021-11-01 11:22:34 +01:00
Dean Lee
a602b4a1a0
util:: remove unused funtion base_name ( #22759 )
...
old-commit-hash: 8da3cd3cdd
2021-10-31 13:10:27 -07:00
Dean Lee
ebffd5f3ad
util: add safe write functions ( #22160 )
...
* add safe write functions
* log error
* bzfile safe_fopen&safe_flush
* update test_case
* trigger ci
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 652c42da2c
2021-10-29 13:23:31 +02:00
Robbe Derks
dbe4641e04
Multipanda support ( #22402 )
...
* squash all PR commits for easy rebase
* merged all panda rx can into one message
* fix buffers in can_send
* more cleanup and minor fixes
* fix even more stuff
* fix non-allocated send buffer
* make connecting more robust
* fix bus offset
* fix controls_mismatch?
* simplify mismatch check
* C++ style struct
* fix connect loop
* update ref
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 585c16cd2a
2021-10-29 13:04:26 +02:00
Dean Lee
0afe7d74bc
util: add new function create_directories with unit tests ( #21871 )
...
* util::create_directories
* check bool ret
* don't assume mask
* rename with_umask to no_umask
* remove umask
* rebase master
* rebase master
* 0755
old-commit-hash: 1f39d8cee6
2021-10-29 12:27:35 +02:00