Commit Graph

186 Commits

Author SHA1 Message Date
Jason Wen 6df086aa82 Merge branch 'master' into dev-priv/master
# Conflicts:
#	panda
#	selfdrive/car/honda/interface.py
#	selfdrive/car/hyundai/hyundaican.py
#	selfdrive/car/mazda/carstate.py
#	selfdrive/car/nissan/nissancan.py
#	selfdrive/car/subaru/carcontroller.py
#	selfdrive/car/subaru/subarucan.py
#	selfdrive/car/volkswagen/mqbcan.py
#	selfdrive/car/volkswagen/pqcan.py
#	selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/ui/SConscript
#	selfdrive/ui/qt/offroad/settings.cc
#	selfdrive/ui/qt/onroad.cc
#	selfdrive/ui/translations/main_de.ts
#	selfdrive/ui/translations/main_ja.ts
#	selfdrive/ui/translations/main_ko.ts
#	selfdrive/ui/translations/main_zh-CHS.ts
#	selfdrive/ui/translations/main_zh-CHT.ts
2023-06-22 15:14:15 -04:00
Jason Wen 54c4dbd49b Merge branch 'upstream/openpilot/master'
# Conflicts:
#	cereal
#	common/version.h
#	opendbc
#	panda
#	selfdrive/car/honda/carstate.py
#	selfdrive/car/honda/interface.py
#	selfdrive/car/hyundai/values.py
#	selfdrive/car/subaru/carcontroller.py
#	selfdrive/car/subaru/subarucan.py
#	selfdrive/controls/lib/longitudinal_planner.py
#	selfdrive/manager/manager.py
2023-06-22 14:52:51 -04:00
Adeeb Shihadeh 8704c1ff95 logmessaged: handle interrupted rollover (#28572) 2023-06-15 22:05:44 -07:00
Jason Wen 6e0132856f Fleet Manager: toggle PIN requirement (#160)
* Fleet Manager: toggle PIN requirement

* update the entire title

* update the param

* handle conditions

* update on toggle press
2023-06-15 07:07:10 -04:00
Adeeb Shihadeh a1b6697629 logmessaged: handle big cloudlogs (#28553)
* logmessaged: handle big cloudlogs

* revert

* switch
2023-06-14 22:48:51 -07:00
Harald Schäfer 2453d3a04b Encoderd: refactor msg getters and setters (#28509)
* Encoderd: refactor msg getters and setters

* whitespace

* whitespace

* whitespace
2023-06-12 00:08:00 -07:00
Harald Schäfer 5df4ac61d3 Encoderd: Give encoder threads good names (#28508) 2023-06-11 23:25:16 -07:00
Harald Schäfer ac45b77d3b Encoderd: give every camera stream list of encoder streams (#28480)
* Compiles

* fixed something

* CLEANUP

* todo

* More cleanup

* Add TODO

* Update loggerd.cc

* remove write here too
2023-06-11 22:23:40 -07:00
Harald Schäfer d8f677c5eb Encoderd: encoders don't write, they only encode (#28499)
* Encoders dont write, they encode

* Delete words

* unused

---------

Co-authored-by: Harald Schaefer <torq_boi@Haralds-MacBook-Air.local>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh 5161c23645 Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit 1fd7542eae.
2023-06-11 08:27:09 -07:00
Harald Schäfer 1fd7542eae Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
2023-06-10 23:44:01 -07:00
Jason Wen 526b106c9a Merge branch 'master' into dev-priv/master 2023-06-10 01:49:14 -04:00
Jason Wen 7d2eaa7d74 Fleet Manager: update instruction screenshot (#181) 2023-06-10 01:48:35 -04:00
Jason Wen c8aff167bb Fleet Manager: rolling PIN implementation (#121)
* Fleet Manager: rolling PIN implementation

* format

* spacing

* use scheduler

* use thread
2023-06-10 01:02:58 -04:00
Comma Device dec3c5a57d test_amp: wait for panda 2023-06-09 15:36:41 -07:00
Jason Wen 64b47e89ab Add staging-c3 and release-c3 as tested branches 2023-06-08 17:16:06 -04:00
AlexandreSato 6fd591e4b5 Fleet Manager: Error log access support (#169)
* Update README.md

* add error troubleshooting and delScreenRecords btn

* Revert "Update README.md"

This reverts commit 5d22fe815f.

* complete coment at paths

* add button to delete screen record

* remove button to delete screen record

* index cleanup

* rename

* simpler

* same module

* no need auth on home

* ide

* name

* smaller text

* spacing

* Update README.md

* Update CHANGELOGS.md

* '\n on changelogs.md

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2023-06-08 10:19:24 -04:00
Jason Wen 75ca9e18e1 Merge branch 'master' into dev-priv/master 2023-06-08 09:48:14 -04:00
Jason Wen 0065709a25 Fleet Manager: redirect cleanup (#178) 2023-06-08 09:17:10 -04:00
Jason Wen 3790c6c756 Fleet Manager: One-Time Password cleanup (#177)
* init

* keep previous page from session
2023-06-08 08:48:37 -04:00
Jason Wen 48c440f24d Merge branch 'master' into dev-priv/master
# Conflicts:
#	selfdrive/manager/process_config.py
2023-06-07 17:22:21 -04:00
Mitchell Goff 729d3ddcb5 Check msg count in test_power_draw (#28444)
* Check msg count in test_power_draw.

* Use drain_sock

* Bug fix

* Combine into a single table

* Check camera state msgs and no default value for Proc.msgs

* Update system/hardware/tici/tests/test_power_draw.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-07 14:06:11 -07:00
Jason Wen 8c41f9a81e Sentry: set environment tag properly (#101) 2023-06-07 16:06:54 -04:00
Jason Wen 462b20ac12 Dashcam Viewer ▶️ Fleet Manager (#174)
* Dashcam Viewer ▶️ Fleet Manager

* missed

* process
2023-06-07 13:56:36 -04:00
Jason Wen df185e6ead Merge branch 'master' into dev-priv/master 2023-06-07 02:12:24 -04:00
Jason Wen e4aa1dee05 Dashcam Viewer: One-Time Password support (#171)
* skeleton

* Print PIN under Device menu

* wrap in decorator

* login page reformat

* simplify

* cleanup

* add instruction

* formatting
2023-06-07 02:10:43 -04:00
Jason Wen 604761f6a4 Dashcam Viewer: small style change (#172) 2023-06-07 02:08:58 -04:00
mitchellgoffpc ae0768909b Lowered expected power draw for mapsd 2023-06-06 11:58:32 -07:00
Mitchell Goff dd6f7116f7 Test power usage for mapsd and navmodeld (#28378)
* Test power usage for mapsd and navmodeld

* Send LLK message from thread

* Use threading.Event
2023-06-05 20:27:02 -07:00
Adeeb Shihadeh e276d2a417 update pylint (#28395)
* update pylint

* update config

* fix
2023-06-04 14:06:04 -07:00
Adeeb Shihadeh 04556652dc rawgpsd: fix loading assistance data (#28381)
* rawgpsd: fix loading assistance data

* needs a specific name

* cleanup

* more logging

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-02 22:35:05 -07:00
Jason Wen a0a70f563f Merge branch 'master' into dev-priv/master 2023-06-02 18:17:36 -04:00
AlexandreSato 1846814ac5 Dashcam Viewer: Screen Recordings support and interface refresh (#160)
* init bootstrap 5.3

* bootstrap done

* watch screen records

* formatting

* syntax

* import

* specific path

* pathing

* text

* not needed

* sunnypilot home

* better name

* Revert "syntax"

This reverts commit 45c54a54ef.

* path

* fix miss "/" at end of path and show current screenrecord video

* Created the About page

* Display errors in a more communicative way

* enable <br> at error messages

* display title on top of the page

* link to download screenrecord

* Update README.md

* Update styles

* Navbar on top, don't block content

* Don't center and format

* Update CHANGELOGS.md

* Update About page

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2023-06-02 18:16:02 -04:00
Jason Wen c69e49c064 Merge branch 'master' into dev-priv/master
# Conflicts:
#	selfdrive/manager/process_config.py
2023-05-29 19:35:21 -04:00
Curtis Jenkins 13616ab771 Dashcam Viewer support (#155)
* add webserver + dashcam reviewer

* add offroad flag to webserver process

* fix process and rename tag in webpage

* add read me

* formatting & shadow names

* small cleanup

* +

* Force offroad only

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>

* Update function name

change from "hello_world" to "index"

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>

* Change webserver process name

now dashcam_viewer

* change process name to dashcam(_)viewer

* sort

* Update README.md

* Credit

* fix

* shadow

* name

* name

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2023-05-29 19:32:12 -04:00
Harald Schäfer b35d525cc9 Assisted GPS qcom (#28278)
* Assisted GPS works

* cleanup

* add error handling

* use pycurl instead with timeout

* Add file size check

* More cleanup

* more cleanup

* Dont crash on large file
2023-05-26 17:24:09 +02:00
Jason Wen a0d162ccd9 Merge branch 'master' into dev-priv/master
# Conflicts:
#	panda
#	selfdrive/car/nissan/carcontroller.py
#	selfdrive/car/subaru/subarucan.py
#	selfdrive/controls/controlsd.py
#	selfdrive/controls/lib/lateral_planner.py
#	selfdrive/ui/qt/offroad/settings.cc
#	selfdrive/ui/qt/onroad.cc
#	selfdrive/ui/ui.cc
2023-05-25 12:39:32 -04:00
Jason Wen 6c2a58f2e9 Merge branch 'upstream/openpilot/master'
# Conflicts:
#	cereal
#	common/params.cc
#	panda
#	selfdrive/car/subaru/subarucan.py
#	selfdrive/controls/lib/lateral_planner.py
#	selfdrive/controls/lib/longitudinal_planner.py
2023-05-25 12:17:54 -04:00
Kacper Rączy 2bd37acef3 ubloxd: enable satReport parsing (#28037)
* Uncomment satReport parsing. New ublox recv callback logic in process_replay

* Typo

* Update replay ref commit

* Update ref commit again
2023-05-25 07:41:45 +02:00
Kacper Rączy b43a875ba2 params: specify path using PARAMS_ROOT (#28257)
* Add PARAMS_ROOT env var

* Change getenv type signature

* Use getenv default_val
2023-05-23 19:02:22 +02:00
Adeeb Shihadeh 4751d2b57c tici: log disk info (#28259) 2023-05-22 16:53:07 -07:00
Shane Smiskol 7f7637f3e5 uploader: check upload key value (#28206)
* fix check

* tests

* fix test

* fix

* xattr truthy and falsy tests

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-16 21:55:24 -07:00
Adeeb Shihadeh 951bab8e18 AGNOS 7 (#26908)
* agnos 7

* no caibx

* new build

* agnos 7.1

* prod manifest
2023-05-12 17:22:09 -07:00
Adeeb Shihadeh 1a3125bb8f bootlog: log agnos partition hashes (#28141)
* bootlog: log agnos partition hashes

* full path

* trimming

* slot

* boot is big

* give some time to start

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-10 13:56:44 -07:00
Adeeb Shihadeh e24d28fd45 loggerd: log HW-specific extras (#28084)
* loggerd: log HW-specific extras

* fix value

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-08 19:21:22 -07:00
ZwX1616 78ba67e211 camerad: write static AE settings only once (#28134)
* this is free

* illusion of choice
2023-05-08 18:43:54 -07:00
Adeeb Shihadeh 9b0d140400 tizi: more amp retries (#28082) 2023-05-04 11:07:40 -07:00
Robbe Derks 21bcd7db63 Dynamic device type (#28011)
* tizi_device_type

* fix test

* also change it in the C versin
2023-05-04 12:12:01 +02:00
Adeeb Shihadeh 8a6312ef14 pandad: support GPIO recovery when in bootstub (#28090)
pandad: recover when in bootstub

Co-authored-by: Comma Device <device@comma.ai>
2023-05-03 20:27:32 -07:00
Adeeb Shihadeh d5a0a4b3e8 Jenkins tuneup (#28095)
* tuneup

* use service messages

* logmono

* not passive
2023-05-03 16:52:20 -07:00