Commit Graph

2164 Commits

Author SHA1 Message Date
Adeeb Shihadeh 8a5dfc571e Always keep display on with ignition (#2138)
* keep display on with ignition

* fix typo

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e386133c4b8bc2c27de2291257d6441d930b00a7
2020-09-07 13:13:10 +02:00
Willem Melching b0a5928933 UI: support multiple frame sizes (#2099)
* support multiple frame sizes

* Fix lookup

* Fix focal

* linter
old-commit-hash: 6b0ac6c8b78d53832776dada64e0c3fb273ec017
2020-09-07 12:25:29 +02:00
ZwX1616 d2fa5662b9 Fix loggerd not rotating encoder if dcamera upload disabled (#2133)
* should only count after the check

* include no dcam

* no need to copy

* run with both param

* independent idx

* not break test if no device

* remove unused

* EON D is half

* needs test for qcamera too

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6a8cd6e054f53ba6ffdb708c6deaa2976c8e0867
2020-09-06 01:21:26 -07:00
Erich Moraga d9838ad47e CAR.CAMRY f/w (#2134)
rap777#5376 DongleID 6c7451b19113581c
https://discord.com/channels/469524606043160576/524327905937850394/751358475237589022

Verified working from my own fork, per...
https://discordapp.com/channels/469524606043160576/538741329799413760/751603387778465873
old-commit-hash: bdc668d9be3505ff4b2c367883deee96c531dc08
2020-09-04 18:20:02 -07:00
Adeeb Shihadeh 9c5bfdddd2 sidebar cleanup (#2130)
* sidebar cleanup

* undo that
old-commit-hash: 660e7340227a3928693cefffbc5a1ccc5867b296
2020-09-04 15:05:45 -07:00
Adeeb Shihadeh 4706f05fe9 update refs after new alert
old-commit-hash: 5838a88a3f3a22a7afac1058e3c2f2f28b73fdf5
2020-09-04 14:09:26 -07:00
Adeeb Shihadeh e17575f36d make calibrationInvalid a permanent alert
old-commit-hash: 86f4d86cd7ae704d97efea1638f1a510d950c9bc
2020-09-04 13:20:48 -07:00
HaraldSchafer 5b1dc76a96 remove vp everywhere (#2122)
* remove vp everywhere

* wrong dimension

* useful disclaimer

* switcheroo

* imcomplete switcheroo

* did it wrong again

* difference look small enough

* fix comment
old-commit-hash: 01111b3f28c748769db8f27646d9086f00a417ef
2020-09-04 03:05:20 -07:00
Greg Hogan d200f048b7 fix pylint errors
old-commit-hash: 1e6c7c94e4750547297dc011d36eeedad0ad7e37
2020-09-03 18:46:13 -07:00
Greg Hogan a33a62c978 pytorch pip packages
old-commit-hash: 05c16b1ff928e620976b0d2ceeb20a708b98e9b0
2020-09-03 17:57:11 -07:00
Shane Smiskol 628f1808ca TextWindow Enhancements (#2114)
* cause error

* revert for now

* decrease font by 10 pts

* remove unnecessary () for class ;)

* move exit button closer to right corner

* 70% transparency for black background

* cause error

* well that's not right

* try showing more lines

* actually show last three lines

* forgot to join

* debug what we can leave out

* show last four files

* revert

* show 3 lines and one extra for last erroring line

* increase by 5 points

* move text left a bit

* fix

* fix

* two more lines

* add double indentation for formatting

* remove indentation of file lines

* fix

* fix

* try this

* try this

* make lines shorter

* clean up error code in manager

* try one more

* reduce lines altered in PR

* four is good

* this actually isn't required anymore

* can move more left

* and increase size

* slightly less

* slightly less

* try a different error

* try last three with negative

* revert to 75

* fix

* clean up

* remove path hiding

* revert offsets

* revert
old-commit-hash: fb6f6268d3c0b84e9214172b10a75e4e0f7a7bbf
2020-09-03 17:54:49 -07:00
Adeeb Shihadeh f56ab6f4fc clean up old params
old-commit-hash: 6fad82e7105628fe7312a7d47dc1e6ae2286d0f0
2020-09-03 16:37:48 -07:00
Adeeb Shihadeh c3f623e432 UI vision refactor (#2115)
* refactor vision

* don't show slow frame message when in preview mode

* change draws to uint32_t

* set vision_seen=false after destroy

* remove vision_connect_thread

* refactor ui_update

* seelp 30ms when vision is not connected

* remove should_swap

* call ui_update_sizes before ui_draw

* rebase

* start bigger UI refactor

* don't need the touch fd

* fix qt build

* more cleanup

* more responsive

* more refactor

* fix for pc

* poll for frames

* lower CPU usage

* cleanup

* no more zmq

* undo that

* cleanup speed limit

* fix sidebar severity for athena status

* not aarch64

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 848301b091af11e129ba6873f7d297d4890c562b
2020-09-03 16:32:55 -07:00
Willem Melching 9788cf1ed3 add more opengl info on startup to pc ui
old-commit-hash: 8880ec81f258b06cda134f59a7e96d7e542b9a69
2020-09-03 14:31:31 +02:00
Dean Lee 8de00af7f7 release copy_q in visionbuf_free (#2121)
old-commit-hash: f71467b4504292dff6d49553baeb6f068ba99471
2020-09-02 21:11:25 -07:00
VirtuallyChris f5d0dbff73 Add 2020 Highlander engine fw
old-commit-hash: 48b16b6b1c45ceb289ed3b2c686bac1c7d3e795a
2020-09-02 16:29:17 -07:00
Adeeb Shihadeh aae68524c1 sensord cleanup (#2111)
* sensors_qcom cleanup

* include vector and map

* abstract sensor init

* use a set

* add to relase files

* fix this up

* no ui changes

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: daea946ad25acc1451f9daf828db71b284e2f01c
2020-09-02 14:04:55 -07:00
Willem Melching e5f5cdaccf tici: fix set_realtime_priority (#2124)
* cleanup and pin modeld to core 5

* Unused import
old-commit-hash: 5c058140edb5678cfc31e5103e57cdb5d1c11305
2020-09-02 17:52:41 +02:00
Willem Melching 16ef2f6a1b pc ui: print opengl version on startup
old-commit-hash: 92de562ed91594d20f10d3b9a30d499c801baeff
2020-09-02 15:46:39 +02:00
Willem Melching e4e26ca57e 1024 MB should be enough for anyone
old-commit-hash: 873043b9fb3efecdff0fbdbb5dd95cbd66efd7f5
2020-09-02 15:12:30 +02:00
VirtuallyChris b41a7bd1dc Add Insight fw
old-commit-hash: 9ad9076486958b5ea0ecf7e254c82db2fc4c103d
2020-09-01 19:01:19 -07:00
Adeeb Shihadeh a58dc92f20 paramsd process replay test (#2118)
* paramsd process replay test

* cleanup
old-commit-hash: 1e5a935ff00916efe65046f50d46a77d091c2e29
2020-09-01 18:31:26 -07:00
Adeeb Shihadeh 6eddfac1a6 Reduce plannerd and dmonitoringd CPU usage (#2108)
* fix wasted cycles in locationd and dmonitoringd

* bump cereal

* calibrationd

* Revert "calibrationd"

This reverts commit 580051a33bc96e1e83300629e9c04817928d0851.

* this is cleaner

* calibrationd

* paramsd is driven by liveLocationKalman

* only log params once a minute

* stricter CPU usage test

* revert locationd for now

* revert calibrationd too

* revert thresholds
old-commit-hash: 21fbe26980ccbc6893af4dfe64f58e2c875f2be6
2020-09-01 16:41:09 -07:00
Adeeb Shihadeh 5df9b62742 bump panda
old-commit-hash: 2b23624b42441030d7000d6a22f8e73f35509d5e
2020-09-01 16:35:49 -07:00
Comma Device c52cafe1a3 remove recurrent LOGD and prints
old-commit-hash: 18884743a64032aa2ef8acc23c0dc84ddec17e67
2020-09-01 20:15:39 +00:00
Comma Device a3cb6cb5a5 use buffered meta
old-commit-hash: 80838f3693a1772ab6c6da9f3652106f2823b5c3
2020-09-01 18:55:15 +00:00
Willem Melching 22295ce570 Wait 5 minutes after offroad before changing thresholds (#2113)
old-commit-hash: 4891d3787afa652f5cb83e13e33e8158a8f6f7aa
2020-09-01 11:25:04 +02:00
Willem Melching 35155d5efa ui: simplify shader versions and fix hardcoded texture size (#2112)
* fix shader version

* fix texture buffer size

* Attribute/Varying is deprecated
old-commit-hash: 42b6292fa5220ca979b0354de91aa16d2cf54039
2020-08-31 15:02:01 +02:00
Willem Melching fff4680443 Fix camera view on PC
old-commit-hash: 01b30794518ef1e8d8a4315baf5678095f3a8283
2020-08-31 13:16:30 +02:00
Adeeb Shihadeh afafacabbb Remove opencv from phonelibs (#2107)
* remove opencv from phonelibs

* clean that up too
old-commit-hash: 63436373d22566a13f4f6afbcb4acb742227d09d
2020-08-30 18:23:23 -07:00
Adeeb Shihadeh a9e4b336f4 Revert "Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096)"
This reverts commit c313cbe26a6a54c07323998f8a8de718acdc9cfc.

old-commit-hash: 4569e51b3edfd9a7704709cde6a98e24e03af0fc
2020-08-30 17:14:45 -07:00
Greg Hogan ece081d471 build script that uses docker container (#1944)
old-commit-hash: e4720eb798fcd1ce960010ef86c95cde345cd58e
2020-08-30 17:02:36 -07:00
Michael Honan 3c41b9930e Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096)
old-commit-hash: 76a5ad3a5f9c23f9e40be715352ec8a7cc4f76b1
2020-08-30 17:01:26 -07:00
Shane Smiskol 80adb33924 Show lane lines and path while using uiview.py (#2104)
* add modeld and required calibd procs to uiview to display lane lines when debugging

* send radarState with empty message to show model path

* make uiview.py executable
old-commit-hash: dfdbf6e41607d793f4c7d38407978a28af0d2e28
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh 91ac4efab2 driver monitoring cleanup (#2101)
* read rhd from param

* don't need that anymore

* fix build

* bump cereal

* read param from camerad too

* add read_db_bool helper

* bump model replay ref commit, IsRHD wasn't set
old-commit-hash: 349040d9580bf7c9b98273dd2745fc4b147d3254
2020-08-29 17:16:00 -07:00
Adeeb Shihadeh 281aa9f81c fix hyundai editing can parser values
old-commit-hash: 284938cd43c690207c1b71898218af3c630498d6
2020-08-28 21:34:34 -07:00
Adeeb Shihadeh ff00f6e4a4 lidar is a scam (#2094)
old-commit-hash: 45b4b6007a188fdb35808bd11397ab6fd87f8f61
2020-08-28 16:21:05 -07:00
ZwX1616 323b66731c need no divided by 2
old-commit-hash: b7bc342cc8079e017c24c920d3a91364894ba177
2020-08-28 12:20:36 -07:00
Adeeb Shihadeh a3461065b9 fix CI cache auto-deletion
old-commit-hash: 33fd13cc8c6af7dddea64dbc239bfe872c433adb
2020-08-28 11:19:20 -07:00
Willem Melching b5766fbe8a bump cereal
old-commit-hash: 1e1ce35dbbdcbe8d720f225474f847f0d3eb1add
2020-08-28 13:25:51 +02:00
Adeeb Shihadeh cb3f689e36 remove read_param_timeout (#2095)
* remove read_param_timeout

* missed that
old-commit-hash: 9cd5180b43e03f84adb870fa25c91428a18394e0
2020-08-27 19:24:51 -07:00
ZwX1616 fca076b982 not show soft recover alerts
old-commit-hash: 9731e7a0d7af7aec44097e0028c10427681d4e8c
2020-08-27 17:59:26 -07:00
Adeeb Shihadeh cc2c6180f9 Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 685340d57897b8a0db4aa1c754c1760c59b92ead
2020-08-27 15:50:48 -07:00
Adeeb Shihadeh 6919e06a9c small uploader cleanup
old-commit-hash: 82f40f6ff5f4677fed6c1aa84a3229a29d212356
2020-08-27 14:22:59 -07:00
Adeeb Shihadeh a8d055837b increase timeout on mac CI build
old-commit-hash: 9a9e829ce48ffe1f26c828384915853873704854
2020-08-27 13:15:20 -07:00
Adeeb Shihadeh d2cdd7706c UI cleanup (#2091)
* remove unused UI code

* these params aren't used anymore

* this is cleaner

* remove one more timeout

* read that from carParams

* only android needs pm

* fix that

* fix that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 43e3ec1bc1ee0d7b8044c5cabbe4022c5ddc9783
2020-08-27 11:57:31 -07:00
Willem Melching 139301e00f make sure snpe can find libopencl
old-commit-hash: 3517d4580224d6d74ea91d46bc4fe081c8e02a2f
2020-08-27 11:35:52 +00:00
Willem Melching c441f12924 open by path instead of number
old-commit-hash: 658e9d831619acf36aad9939cdbb97a08feed962
2020-08-27 09:44:52 +00:00
robbederks 7671d18467 Tici camerad (#2048)
* fix camera config

* typos

* oops

* more typo

* lambless

* forget to send

* visualize hist

* more typo

* 0xC000

* simple

* data loss prevention, clean up later

* loggerd

* back up code

* backup

* fixed memory leak

* fix vsync

* upload ecam

* WB

* 3stream

* fix OMX crash on loggerd rotation

* rewritten debayer kernel

* update viewer

* improved AE

* no artifact lines/grids

* standard trigger

* cleanups

* CCM

* cleanups

* slight tweak

* upd push sock

* build all these

* update tele fl

* update cereal

* upd viewer

* DualCameraState -> MultiCameraState

* cameras_open

* disable frame zmq push by default

* more cleanup

* no apks

* fix submodule error

* wat

* clean up trash

* remove junk

* only build on qcom2

* no need to check these

* update cereal

* some more minor cleanup

* bump panda

* add todo

* minor typo

* Revert "minor typo"

This reverts commit 9233a1df7cac214fae6827cdae3a10cb3bd060d9.

* not care

* use consistent hdr

* some cleanup

* Update selfdrive/camerad/main.cc

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

* more cleanups

* remove irrelevant stuff

* this too

* cleanup

* rerun ci

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 37d6472bfa1c0ef9f1f8353162b97444ca66e45c
2020-08-26 19:59:56 -07:00
ZwX1616 06439bef18 Fix OMX error on loggerd rotation when using multiple cameras (#1953)
* cherry pick from f8745d3002afe1acd8b740c8421992f1a459b59d

* update cereal

* missed this line

* add enum

* Update selfdrive/loggerd/loggerd.cc

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

* Update selfdrive/loggerd/loggerd.cc

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

* use same logroot

Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3014280d1a7369c0d1f1f4b5bbc7553e656fe8af
2020-08-26 15:02:51 -07:00