Commit graph

1615 commits

Author SHA1 Message Date
Adeeb Shihadeh 0ebc037be7
turn display on in spinner (#2148)
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 20:24:13 -07:00
Jafar Al-Gharaibeh 6c292c3f0c
Split car identities to CX5, CX9, and Mazda3 (#2097)
Add test routes for CX9 and Mazda3

CX9: "10b5a4b380434151|2020-08-26--17-11-45"

Mazda3: "74f1038827005090|2020-08-26--20-05-50"

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-09-09 16:02:26 -07:00
Adeeb Shihadeh fde8b18f73 set params for new test 2020-09-09 15:57:06 -07:00
Adeeb Shihadeh fae13bf07e fix timing issues with new test 2020-09-09 15:16:05 -07:00
Adeeb Shihadeh a3c1de1e66 simple unit test for startup alert 2020-09-09 14:40:16 -07:00
VirtuallyChris 7fb0eb4e17 Add 2020 Highlander Hybrid fw 2020-09-09 14:26:51 -07:00
Comma Device d6571aa633 wait 5s before showing waiting for controls 2020-09-09 13:19:20 -07:00
Adeeb Shihadeh 847fc1fefe temporarily disable mac build 2020-09-09 12:15:31 -07:00
Adeeb Shihadeh acd1bde496
QT UI: sounds (#2078)
* move android into own dir

* fix name

* maybe this works? qt ui doesn't work on mac

* fix that

* pc sound works

* fix pc build

* lowercase

* that needs to be real_arch

* split into classes

* fix typo in lib

* Fix cycle alerts

* Add qt multimedia libs to install scripts

* Add ui/android folder

* Fix android build

* Raise exception if sound init fails

* add missing return

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 19:04:28 +02:00
Willem Melching 9eca642c76 bump submodules 2020-09-09 17:41:17 +02:00
Adeeb Shihadeh b438301aa9 bump rednose 2020-09-09 00:17:00 -07:00
Adeeb Shihadeh 9cd88526b5
hide camera view when in reverse (#2144)
* partially hide camera view when in reverse

* lowest priority

* update ref commit

* fix type

* update refs
2020-09-09 00:11:12 -07:00
Willem Melching e8c8e9dab2 ui: glTexImage2D only redundant on QCOM 2020-09-08 14:33:27 +00:00
grekiki 61489b4348
Update CONTRIBUTING.md
Removed nonworking link
2020-09-08 08:56:58 +02:00
Willem Melching 7cd4815773 link ui against right opengl(ES) lib 2020-09-07 17:13:47 +02:00
Adeeb Shihadeh e386133c4b
Always keep display on with ignition (#2138)
* keep display on with ignition

* fix typo

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

* Fix lookup

* Fix focal

* linter
2020-09-07 12:25:29 +02:00
ZwX1616 6a8cd6e054
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>
2020-09-06 01:21:26 -07:00
Erich Moraga bdc668d9be
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
2020-09-04 18:20:02 -07:00
Adeeb Shihadeh 660e734022
sidebar cleanup (#2130)
* sidebar cleanup

* undo that
2020-09-04 15:05:45 -07:00
Adeeb Shihadeh 5838a88a3f update refs after new alert 2020-09-04 14:09:26 -07:00
Adeeb Shihadeh 86f4d86cd7 make calibrationInvalid a permanent alert 2020-09-04 13:20:48 -07:00
HaraldSchafer 01111b3f28
remove vp everywhere (#2122)
* remove vp everywhere

* wrong dimension

* useful disclaimer

* switcheroo

* imcomplete switcheroo

* did it wrong again

* difference look small enough

* fix comment
2020-09-04 03:05:20 -07:00
Greg Hogan 1e6c7c94e4 fix pylint errors 2020-09-03 18:46:13 -07:00
Greg Hogan 05c16b1ff9 pytorch pip packages 2020-09-03 17:57:11 -07:00
Shane Smiskol fb6f6268d3
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
2020-09-03 17:54:49 -07:00
Adeeb Shihadeh 6fad82e710 clean up old params 2020-09-03 16:37:48 -07:00
Adeeb Shihadeh 848301b091
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>
2020-09-03 16:32:55 -07:00
Willem Melching 8880ec81f2 add more opengl info on startup to pc ui 2020-09-03 14:31:31 +02:00
Dean Lee f71467b450
release copy_q in visionbuf_free (#2121) 2020-09-02 21:11:25 -07:00
VirtuallyChris 48b16b6b1c Add 2020 Highlander engine fw 2020-09-02 16:29:17 -07:00
Adeeb Shihadeh daea946ad2
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>
2020-09-02 14:04:55 -07:00
Willem Melching 5c058140ed
tici: fix set_realtime_priority (#2124)
* cleanup and pin modeld to core 5

* Unused import
2020-09-02 17:52:41 +02:00
Willem Melching 92de562ed9 pc ui: print opengl version on startup 2020-09-02 15:46:39 +02:00
Willem Melching 873043b9fb 1024 MB should be enough for anyone 2020-09-02 15:12:30 +02:00
VirtuallyChris 9ad9076486 Add Insight fw 2020-09-01 19:01:19 -07:00
Adeeb Shihadeh 1e5a935ff0
paramsd process replay test (#2118)
* paramsd process replay test

* cleanup
2020-09-01 18:31:26 -07:00
Adeeb Shihadeh 21fbe26980
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
2020-09-01 16:41:09 -07:00
Adeeb Shihadeh 2b23624b42 bump panda 2020-09-01 16:35:49 -07:00
Comma Device 18884743a6 remove recurrent LOGD and prints 2020-09-01 20:15:39 +00:00
Comma Device 80838f3693 use buffered meta 2020-09-01 18:55:15 +00:00
Willem Melching 4891d3787a
Wait 5 minutes after offroad before changing thresholds (#2113) 2020-09-01 11:25:04 +02:00
Willem Melching 42b6292fa5
ui: simplify shader versions and fix hardcoded texture size (#2112)
* fix shader version

* fix texture buffer size

* Attribute/Varying is deprecated
2020-08-31 15:02:01 +02:00
Willem Melching 01b3079451 Fix camera view on PC 2020-08-31 13:16:30 +02:00
Adeeb Shihadeh 63436373d2
Remove opencv from phonelibs (#2107)
* remove opencv from phonelibs

* clean that up too
2020-08-30 18:23:23 -07:00
Adeeb Shihadeh 4569e51b3e Revert "Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096)"
This reverts commit 76a5ad3a5f.
2020-08-30 17:14:45 -07:00
Greg Hogan e4720eb798
build script that uses docker container (#1944) 2020-08-30 17:02:36 -07:00
Michael Honan 76a5ad3a5f
Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096) 2020-08-30 17:01:26 -07:00
Shane Smiskol dfdbf6e416
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
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh 349040d958
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
2020-08-29 17:16:00 -07:00