Commit Graph

7421 Commits

Author SHA1 Message Date
Adeeb Shihadeh
a81a18205e type hints for alerts and fix community feature alert (#2196)
* fix startup alert for community features

* type hints for alerts

* more type hints

* fix dashcam only alerts

* more type hints
2020-09-17 22:06:31 -07:00
Adeeb Shihadeh
b5466002ad promote hyundai palisade to offically supported (#2195) 2020-09-17 21:35:30 -07:00
Adeeb Shihadeh
b341fdc644 Realtime shield (#2194)
* cpu 3 shield

* set priority before affinity

* add to release files

* only run on android
2020-09-17 15:49:14 -07:00
Adeeb Shihadeh
92922ce2ae these should be debug logs 2020-09-17 13:14:18 -07:00
Willem Melching
9330070bb5 tici: offroad ui powersave (#2191)
* ui powersaving

* Lower brightness even more
2020-09-17 15:50:09 +02:00
Adeeb Shihadeh
ebab660622 rt debug scripts (#2165)
* rt debug scripts

* bigger buffer

* cleanup

* move to internal

Co-authored-by: Comma Device <device@comma.ai>
2020-09-16 17:42:37 -07:00
Comma Device
45c58f561a fix tici ui lag 2020-09-17 00:13:54 +00:00
VirtuallyChris
2163b1e1df Add 2020 Highlander and Ridgeline fw 2020-09-16 17:01:30 -07:00
Adeeb Shihadeh
33ad9d67ea add android procs to cpu usage sript 2020-09-16 15:47:44 -07:00
Adeeb Shihadeh
ef21b83937 Improve realtime performance on NEOS (#2166)
* fix setting core affinity

* dmonitoringd doesn't need rt priority

* android only gets two cores

* model and planner get core 2

* log missed cycle count

* neos update

* prod image

* revert NEOS changes

* still need this
2020-09-16 15:33:12 -07:00
Erich Moraga
60d5cb2be5 Add CAR.LEXUS_RX various missing firmware (#2189)
@fire#7210  2018 RX350L  DongleID/route  45b442be1779b307|2020-09-15--12-04-24
2020-09-16 14:15:23 -07:00
Erich Moraga
fd3cc05149 Add firmwares for CAR.COROLLA_TSS2 (#2185)
jun Jin#6444 2019 Malaysian Corolla sedan w/ TSS2
DongleID/route 7bc774bc8e17fd8a|2020-09-16--14-28-46
https://discord.com/channels/469524606043160576/524327905937850394/755781555779010630
2020-09-16 13:35:59 -07:00
Dean Lee
8f45685c91 remove unused submaster (#2187) 2020-09-16 11:11:07 -07:00
Willem Melching
855f52c3e0 hub is handled by systemd gpio service (#2172) 2020-09-16 17:58:46 +02:00
Willem Melching
9bbb166303 tici: fix ui rotation (#2184)
* rotate ui 90 degree

* put rotation behind ifdef

* Also ifdef that

* ui intrinsic_matrix

* that doesnt do anything

* Keep parent on non qcom
2020-09-16 17:46:08 +02:00
Shane Smiskol
23b38a878b Update 17 Corolla safetyParam (#2175) 2020-09-16 11:40:19 +02:00
HaraldSchafer
0b849d5a4e only do reset if already calibrated (#2176) 2020-09-15 07:44:13 -07:00
Adeeb Shihadeh
0604f194b3 bump max vision clients for tici 2020-09-14 21:29:46 -07:00
Comma Device
c9183c11bd fix tbuffer img tearing 2020-09-15 03:32:29 +00:00
Adeeb Shihadeh
16f40e6ff3 fix stretched UI on pc 2020-09-14 19:07:14 -07:00
ZwX1616
13588e4255 improve tici camerad robustness (#2135)
* equalize performance on three threads

* need to request first

* clean up indexing

* obsolete

* handling skips and drops

* clean up repeated chunks

* use main frame id

* oneshot

* real skip check

* move to test

* should be cropped H here

Co-authored-by: Comma Device <device@comma.ai>
2020-09-14 16:05:57 -07:00
Comma Device
3801374da9 need to free tici DSP asap 2020-09-14 22:03:13 +00:00
ZwX1616
a2adfdb155 Cut down unnecessary DM uncertain alerts (#2157)
* cut down high std alerts

* clean comments

* uncertain curve tune

* update test gt

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-14 10:43:19 -07:00
HaraldSchafer
df99316621 Auto reset bad calibration (#2151)
* initial commit

* thanks pylint

* smoooooth

* cleanup

* cleaner

* switched

* always decay weight
2020-09-14 04:02:58 -07:00
Dean Lee
272f60221c use MessageBuilder::toBytes (#2167) 2020-09-14 01:17:00 -07:00
Adeeb Shihadeh
74801bd216 send initial calibration packet immediately 2020-09-13 13:54:14 -07:00
Dean Lee
9fa56b4eab more messagebuilder (#2162)
* more messagebuilder

* little more

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-09-13 13:00:06 -07:00
Adeeb Shihadeh
ea06941d4d set canValid for mock car 2020-09-13 11:32:37 -07:00
Adeeb Shihadeh
4d5733924a message builder (#2161)
* use custom MessageBuilder from cereal

* use MesageBuilder.toBytes

* bump cereal

* unused

* another one

* fix ui msg

Co-authored-by: deanlee <deanlee3@gmail.com>
2020-09-12 21:48:15 -07:00
Dean Lee
8417be6f40 UI: simplify layout calculation (#2131)
* add Rect struct

* simplify layout calculation by using viz_rect

* fix

* add whitespace

* use the correct value for vwp_w

* correct vwp_w again

* rebase

* dd
2020-09-12 18:35:36 -07:00
Adeeb Shihadeh
fdbfe52927 tici driver monitoring (#2158)
* use cpu for now on tici

* pin to core 5

* fix driver view

* probably wrong

* correct this time

* RHD too

Co-authored-by: Comma Device <device@comma.ai>
2020-09-12 17:50:22 -07:00
Adeeb Shihadeh
a4a4e28c1a prevent reversing alert from showing while changing gears 2020-09-12 17:21:30 -07:00
ZwX1616
e9f49254da swap ur/dl (#2153) 2020-09-11 11:29:19 -07:00
Adeeb Shihadeh
56c3d8e4d1 run deleter on tici 2020-09-10 17:21:24 -07:00
Adeeb Shihadeh
8e24939613 remove unused import in cycle_alerts 2020-09-10 15:24:09 -07:00
Adeeb Shihadeh
e0004d0981 Reduce paramsd and calibrationd CPU usage (#2119)
* reduce paramsd cpu

* reduce calibrationd cpu usage

* calibration_helpers was mostly unused

* more calibration cleanup

* update refs

* fix thresholds in CPU test
2020-09-10 12:16:29 -07:00
Willem Melching
7cc5710974 Tici light sensor (#2150)
* more generic sensor base class

* add file sensor

* light sensor working

* correct sensor type
2020-09-10 15:11:13 +02:00
Willem Melching
d4328365e9 cleanup controlsd env variable reading 2020-09-10 12:19:14 +02:00
Vivek Aithal
c5dfbe7a72 dockerize carla + openpilot (#2011)
* dockerize carla + openpilot

* separate dockerfile

* bring back CI dockerfile

* cleanup bridge

* add op docker build and start script

* build container in CI

* fix camerad hack

* remove most magic numbers from bridge.py

* openpilot-sim docker build and run scripts

* fix dmonitoring hacks

* revert controlsd hacks

* clean up build scripts

* singular

* fix path

* fix image name

* modify sim readme

* sim readme and start script changes

* dockerfile with working opengl

* working opengl + passing panda build_st in docker

* fix bug in sim docker file

* bugfix sim docker file

* bugfix all op-sim docker issues

* modify readme + run script

* IT DRIVES

* clean this up

* more cleanup

* cleanup docker stuff

* more cleanup

* start with openpilot-base

* install carla python package

* Script is not in lib

* chmod

* everything should be running in docker now, the code may not be nice though

* works locally...

* rhdChecked is deprecated

* Checkout using git lfs when building sim container

* try to pass the tests

* pull latest docker

* gps should not throw an error on openpilot launch in bridge.py

* fixed a coding style error

* Only start ubloxd in car

* fixed more style problems

* revert typo

* Use enviromental variable to prevent errors in a simulator

* Remove unused import

* Attempt to fix missing enviromental variable

* fix typo

* less work for users, auto tmux engagement

* less work for users, auto tmux engagement

* fix check for nvidia

* clean up nvidia check

* remove typo, shorted dockerfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Bruce Wayne <batman@workstation-eu-gregor.eu.local>
Co-authored-by: Gregor Kikelj <gregor1234567890@gmail.com>
2020-09-10 12:14:49 +02:00
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
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
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
Willem Melching
7cd4815773 link ui against right opengl(ES) lib 2020-09-07 17:13:47 +02:00