Commit Graph

1852 Commits (339d1967cb1e8ca73aeb1f0066a23b0933706ae5)

Author SHA1 Message Date
VirtuallyChris 47c1d6a2f5 Fix typo 2020-09-15 16:15:51 -07: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
Adeeb Shihadeh 916c3b4c53 cleanup README PC section 2020-09-14 13:13:29 -07: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
grekiki 2adc4c23db
Update README.md (#2156)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2020-09-14 16:13:49 +02: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
Adeeb Shihadeh 71562d6180 bump cereal 2020-09-12 20:06:18 -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 1fd13c87b4
tici launch script (#2155) 2020-09-12 17:57:24 -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
Adeeb Shihadeh 4cbf965165
fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
2020-09-12 14:31:20 -07:00
Adeeb Shihadeh b857f65de8 handle exception in android service call 2020-09-11 13:45:41 -07:00
Adeeb Shihadeh dd6a2b8dc2 Revert "don't ship QT UI in release", needed by release CI test for now
This reverts commit bcd79669b0.
2020-09-11 13:10:02 -07:00
Adeeb Shihadeh bcd79669b0 don't ship QT UI in release 2020-09-11 12:11:47 -07:00
ZwX1616 e9f49254da
swap ur/dl (#2153) 2020-09-11 11:29:19 -07:00
grekiki 596ab39e03
Update README.md 2020-09-11 17:42:31 +02:00
grekiki 5fad5779c9
Update README.md 2020-09-11 17:42:12 +02: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 f02ec4c68e bump cereal 2020-09-10 14:20:08 +02:00
Willem Melching c68d0ef468 add repo check to sim ci build 2020-09-10 12:20:49 +02:00
Willem Melching d4328365e9 cleanup controlsd env variable reading 2020-09-10 12:19:14 +02:00
Willem Melching dbb11d64c9 only build sim container on schedule 2020-09-10 12:15:45 +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 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