Adeeb Shihadeh
cc3857eb62
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Greg Hogan
93cd0285ac
nav: toggle to show on left side of onroad ui ( #25169 )
...
* nav: show on left side of onroad ui
* add toggle
* capitalization
* update translations
* single params object
* skip unfinished translations test
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Shane Smiskol
949de4d2b6
UI: Internationalization support ( #21212 )
...
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* update names
* Add Chinese (Simplified) translations
* Do missing French translations
* unit tests caught that :)
* fix test
* fix other test (on PC)
* add entries to dialog to test
* add cancel button, clean up a bit
* just chinese
* some clean up
* use quotes
* clean up
* Just quit, set timeout to 0
* half a second
* use exitcode
* don't print if it's expected
* this comment is outdated
* update translations
* Update translations
* re-order input classes
* Update line numbers
* use enabled property for button style
* Get rid of ListWidget
* Update line numbers
* Log failed to load language
* Log failed to load language
* Move to utils and fix english logging
extra line
* Update translations
* spacing
* looks a bit better
* try this instead of exitcode
fixes
fix
* only one function
* comment
* Update line numbers
* fixup some japanese translations
* clean up multi option dialog
* Update line numbers
3 years ago
Willem Melching
bef5350fa3
don't log LaikadEphemeris in initData
3 years ago
Adeeb Shihadeh
7c826b4fa1
add param to override carParams.dashcamOnly ( #24857 )
...
* add param to override carParams.dashcamOnly
* little cleaner
3 years ago
Gijs Koning
c3fa9151f3
Laikad: Cache orbit and nav data ( #24831 )
...
* Cache orbit and nav data
* Cleanup
* Cleanup
* Use ProcessPoolExecutor to fetch orbits
* update laika repo
* Minor
* Create json de/serializers
Save cache only 1 minute at max
* Update laika repo
* Speed up json by caching json in ephemeris class
* Update laika
* Fix test
* Use constant
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
HaraldSchafer
7f16e19f79
Remove laneless toggle ( #24738 )
...
* Remove laneless toggle
* Update refs
3 years ago
Gijs Koning
b5aed2bf67
Simulator: Speed up process by removing second camera ( #24679 )
...
* simulator: support running wide camera only
* proper frame id
* use param name that makes more sense
* do some cleanup
* Update tools/sim/bridge.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
e38b93fc31
athena: remove redirect detection for old prime ( #24662 )
...
This worked on old magenta, but doesn't work on new magenta
or blue prime.
3 years ago
Adeeb Shihadeh
cb8885cffb
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
3 years ago
Lukas Petersson
c28735358e
params: support OPENPILOT_PREFIX ( #24495 )
...
* prefix params
* set env
* prefix in manager
* filesystem except
* dont delete manager folder
* Update selfdrive/common/params.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* debug same path
* remove cleanup + same default
* dont use filesystem lib
* param symlink path
* path
* spelling
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
67e60efd18
remove now unused LastPeripheralPandaType param
3 years ago
Adeeb Shihadeh
2466233b1c
body: opt-out logging ( #24423 )
...
* body: opt-out logging
* wait a bit
* little better
* fix that too
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
670126cbf1
body: opt-in logging ( #24416 )
3 years ago
Willem Melching
3063c70ff1
updated: only run offroad & disable automatic git garbage collection ( #24269 )
...
* updated: disable automatic git garbage collection
* set gc.autoDetach false
* add gc cloudlogs
* trigger updated
* handle exception
* trigger updated
* only while offroad
* no trigger needed
* trigger updated
* check if git gc was interrupted
* trigger updated
* dont set params when shutting down
* let manager clear params
* no offroad check anymore
* event is nicer to parse
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Shane Smiskol
f1f40c117a
Add Disengage on Accelerator Toggle ( #23977 )
...
* Squashed commit of the following:
commit 953bcf0ecf8d03f0fec9ce0d5442cc660ae2347d
Merge: b4198608d 333257bad
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:58:06 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit b4198608dac9595bfeb9443f95cd6c5d385cd62d
Merge: 24f90b2c8 0b9790dd2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 14:32:54 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 24f90b2c8d6ae509c0776b6e33b743467aa08dee
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 14:07:52 2022 -0700
revert changes and get ready for override
commit aa514df6b5e8431f0faa07f6b25eb5cb6c9f2749
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 20:52:24 2022 -0700
temporary
commit c874e10c2555968c683f629c4582ab22e51d431f
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:30:13 2022 -0700
move gasPressed to controlsd
commit fe670439dff5bc6dfc5963d79ca2febe0c5920c7
Merge: 49d3b6d11 81862fce7
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:15:48 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49d3b6d1162893fa94b2294152f0718eeb4698ed
Merge: 475b27e74 d60c44e03
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 13:06:08 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 475b27e74fd6479f1d148e9ded1eca6ee476865c
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 20:24:59 2022 -0700
update SAFETY.md
commit 0798eadb82749e12ecbaa86f4e57b21bd3dbc7e8
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 17:52:06 2022 -0700
⛽ ➡️ 🔋
bump
commit d2b64b89cf8d7265bc90848b4e3a2276c9a4cb78
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:19:34 2022 -0700
these changes will be in border PR
these changes will be border PR
commit bed31e63de2244c161729773978fef8a9246ddb5
Merge: 491417640 e91613bc6
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:17:31 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49141764098e3a701ff123ead52de4656b31db4d
Merge: 9291e9f00 c88ced1f1
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 19:00:26 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 9291e9f0045780669b2ffa7f08fb10373c03b070
Merge: 2aed64157 99c02bdd2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:13 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 2aed64157d6e9dc993d103a2c6abf7e643410562
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:03 2022 -0700
Revert "send pre-enable state when gas is pressed"
This reverts commit 8d82e697dc2efade307413e767d14b56b4d2d079.
commit a219defe5342efa731a957b2ff4fd86292c1f239
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 17 12:50:46 2022 -0700
bump cereal
commit 8d82e697dc2efade307413e767d14b56b4d2d079
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:40:13 2022 -0700
send pre-enable state when gas is pressed
formatting and it's out
forgot one
allow gas press
show toggle
revert changes
revert changes
commit 5eb4d1ab1b77ac65bdd901f692ebfb848d5187ca
Merge: bad1bdc74 db7b49c71
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:29:43 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit bad1bdc7428c5d8a4a765b259da504f0ade84424
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 23:03:56 2022 -0700
clean up a bit
commit 7516ed9b786536a07f00a92b9c1742ca252a01d1
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:55:09 2022 -0700
these are null checks right now
commit 408f5f1d633521b29b08d966c9b387fa79dff0d6
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:51:14 2022 -0700
should work
commit be1978e29c03d8843cf073cc9ddf84020fd2b378
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:36:16 2022 -0700
stash
commit f0bd4c47e9d27061c6cd3b88765a7c10995f42db
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:26:24 2022 -0700
this was flipped
commit d5b6e30389a727e8559331acd706422e1b246f60
Merge: 820b19894
5fe00fb77
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:25:49 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 820b198949
Merge: 91763f9ff
d7c758d4b
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 14 23:39:34 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 91763f9ff4
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:15:26 2022 -0800
add icon from jozef 🔥
commit 1885c9e2ba
Merge: 1f591736a
9c70e8bca
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:08:07 2022 -0800
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 1f591736a2
Merge: 465811f0b
7410160d0
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Sat Feb 12 10:24:29 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 465811f0b4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:20:32 2022 -0500
Add param to process replay
commit 0344363a53
Merge: 700efcb3f
3e915cf62
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Fri Feb 11 11:07:31 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 700efcb3f4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:04:39 2022 -0500
Add param to unsafeMode
commit 220ce272fe
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:54:16 2022 -0500
Add param to unsafeMode
commit d273bb78ac
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:52:22 2022 -0500
Resolve conflicts
commit 1a85afd60c
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:50 2022 -0500
Resolve conflicts
commit e3be32afc2
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:08 2022 -0500
Resolve conflicts
commit f27203af3a
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Wed Jan 19 00:30:09 2022 -0500
Add param to process replay
commit 04c0ad1a54
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Wed Jan 19 00:28:49 2022 -0500
Update interfaces.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
commit 99cf13caeb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Sat Jan 15 00:03:38 2022 -0500
Fix missing params lib
commit 2230254ca7
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:38:46 2022 -0500
Disengage on gas toggle
commit 87475e02cb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:24:00 2022 -0500
Disengage on gas toggle
* bump
* use ALTERNATIVE_EXPERIENCE
* or it
* de-bump
* update refs
* update refs!
* you can just ctrl+click ALTERNATIVE_EXPERIENCE!
* already have a params
* update text
3 years ago
Adeeb Shihadeh
a6d4bb5d01
Add warning for unsupported NVME ( #23972 )
...
* Add warning for unsupported NVME
* fix it up
* fix typo
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
da5a0c41a0
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
3 years ago
Robbe Derks
5f64f1c089
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>
3 years ago
Willem Melching
4e4cb07297
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
3 years ago
Adeeb Shihadeh
8d9afa7171
Log panda signature to param ( #23670 )
3 years ago
Adeeb Shihadeh
3e9cb7fa12
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
3 years ago
Adeeb Shihadeh
308a6f1730
manager: log exit reason ( #23532 )
3 years ago
Willem Melching
ed23177898
thermald: remove panda disconnect logic ( #23526 )
...
* thermald: remove panda disconnect logic
* keep that
3 years ago
Adeeb Shihadeh
610b99fd68
Log android system shutdown to param ( #23520 )
...
* Log android system shutdown to param
* comment
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
3ce4976db7
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
3 years ago
Robbe Derks
842ba8e5e6
C2 detection ( #23439 )
...
* two detection
* fix CI
* catch all
* gotta catch em all
3 years ago
Devin Leamy
8cb83b29a6
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>
3 years ago
Willem Melching
2e0c73fc0c
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
3 years ago
Willem Melching
7c8044d2db
Add LastPowerDropDetected and create bootlog before clearing params ( #23062 )
...
* Add LastControlledShutdown and create bootlog before clearing params
* update param name
* sorting
3 years ago
Willem Melching
5069852573
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
3 years ago
Adeeb Shihadeh
2a72e2a514
add offroad alerts for car unrecognized ( #22934 )
...
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
3 years ago
Adeeb Shihadeh
d8a5c415cd
Revert "add offroad alerts for car unrecognized"
...
This reverts commit fb1e8ce086
.
3 years ago
Adeeb Shihadeh
fb1e8ce086
add offroad alerts for car unrecognized
3 years ago
Willem Melching
07ff724726
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>
4 years ago
Adeeb Shihadeh
e528e2e3e2
allow update snoozing ( #22876 )
...
* allow update snoozing
* not immediately visible
* dismiss and close
* grey button
4 years ago
Willem Melching
6ace88a0f1
cache prime status in param ( #22850 )
4 years ago
Dean Lee
6de66f2832
params: remove obsolete keys ( #22769 )
4 years ago
Dean Lee
2773ff5ace
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
4 years ago
Robbe Derks
585c16cd2a
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>
4 years ago
Dean Lee
1f39d8cee6
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
4 years ago
Adeeb Shihadeh
f4c2398db4
add sdcard support ( #22703 )
...
* generalize
* factory reset
4 years ago
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
4 years ago
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>
4 years ago
Willem Melching
8c01ae5716
Add DisableRadar_Allow param and settings toggle ( #22329 )
4 years ago
Willem Melching
6dabefb68d
params.cc: sort offroad params
4 years ago
Willem Melching
36975a0071
sort params alphabetically
4 years ago
Adeeb Shihadeh
e9e490a729
add booted onroad flag ( #22318 )
4 years ago