Commit Graph

2211 Commits

Author SHA1 Message Date
ZwX1616 fb77feccd8 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>
old-commit-hash: 13588e4255e3667459bc5b23068dbccd2fab2a39
2020-09-14 16:05:57 -07:00
Comma Device 23d0571312 need to free tici DSP asap
old-commit-hash: 3801374da98197f375e28e73ead0a227389c4256
2020-09-14 22:03:13 +00:00
Adeeb Shihadeh d1a24a4452 cleanup README PC section
old-commit-hash: 916c3b4c53fe94ed55be6059f1d6c765ea11e51b
2020-09-14 13:13:29 -07:00
ZwX1616 6f3c2fba6e 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>
old-commit-hash: a2adfdb155f2293d9a2e7be11e81af8c020f011b
2020-09-14 10:43:19 -07:00
grekiki 7accebd4a7 Update README.md (#2156)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
old-commit-hash: 2adc4c23db104c2a7cbf4c9a8a9cc7926c19a94e
2020-09-14 16:13:49 +02:00
HaraldSchafer d36675e618 Auto reset bad calibration (#2151)
* initial commit

* thanks pylint

* smoooooth

* cleanup

* cleaner

* switched

* always decay weight
old-commit-hash: df99316621ae51870a92fdc767ec4651261b7314
2020-09-14 04:02:58 -07:00
Dean Lee ef811e1105 use MessageBuilder::toBytes (#2167)
old-commit-hash: 272f60221c45cc543660a5e491cb800182c8b8f2
2020-09-14 01:17:00 -07:00
Adeeb Shihadeh 218c3d3de7 send initial calibration packet immediately
old-commit-hash: 74801bd216601df2ff38d853787139337a375c3c
2020-09-13 13:54:14 -07:00
Dean Lee 7cee5aae63 more messagebuilder (#2162)
* more messagebuilder

* little more

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9fa56b4eab62b5d793e6c6d714c9dbab47bb3f0a
2020-09-13 13:00:06 -07:00
Adeeb Shihadeh bc5a293de9 set canValid for mock car
old-commit-hash: ea06941d4d023b82eae8f9d342f972c4744353a1
2020-09-13 11:32:37 -07:00
Adeeb Shihadeh ac3422fc0f 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>
old-commit-hash: 4d5733924a2fdd8a3bbaf5f48869ac744b983401
2020-09-12 21:48:15 -07:00
Adeeb Shihadeh c3980a9cc2 bump cereal
old-commit-hash: 71562d6180e6e740fc154e983cb50d416f4cb08c
2020-09-12 20:06:18 -07:00
Dean Lee 2baf5c7356 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
old-commit-hash: 8417be6f40a0b1ee92524da7c1bd4e114cd32674
2020-09-12 18:35:36 -07:00
Adeeb Shihadeh d236df2eba tici launch script (#2155)
old-commit-hash: 1fd13c87b429102951c69c5c980da2804cd3681a
2020-09-12 17:57:24 -07:00
Adeeb Shihadeh 3372b5e878 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>
old-commit-hash: fdbfe5292797c5638855fb947ebc5f4eb161353c
2020-09-12 17:50:22 -07:00
Adeeb Shihadeh 6dbfe6fb9e prevent reversing alert from showing while changing gears
old-commit-hash: a4a4e28c1a9948297d36f562aad6343294380d47
2020-09-12 17:21:30 -07:00
Adeeb Shihadeh 556c862586 fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
old-commit-hash: 4cbf965165bab44dcf819aaafbd2d99c89994c97
2020-09-12 14:31:20 -07:00
Adeeb Shihadeh e4ca9e2c96 handle exception in android service call
old-commit-hash: b857f65de873d94a91aaeac8f16dda5aa3854409
2020-09-11 13:45:41 -07:00
Adeeb Shihadeh 4d293f610d Revert "don't ship QT UI in release", needed by release CI test for now
This reverts commit c69553564e616477ffdcc2a57aef3304cd1f49c6.

old-commit-hash: dd6a2b8dc20847109180cbd333f47e80971840cd
2020-09-11 13:10:02 -07:00
Adeeb Shihadeh 5fcdbef4cd don't ship QT UI in release
old-commit-hash: bcd79669b0e64e7e7d399655802284c51ae627e7
2020-09-11 12:11:47 -07:00
ZwX1616 912611b539 swap ur/dl (#2153)
old-commit-hash: e9f49254da35072f9b2d124ea05ca2782dbcf7cf
2020-09-11 11:29:19 -07:00
grekiki 41142635d2 Update README.md
old-commit-hash: 596ab39e0336249c7f75641a530b02c6a65c3e0c
2020-09-11 17:42:31 +02:00
grekiki dd8fe84a95 Update README.md
old-commit-hash: 5fad5779c92f3a3730cc122f8d596159dd07a273
2020-09-11 17:42:12 +02:00
Adeeb Shihadeh b24efb35ac run deleter on tici
old-commit-hash: 56c3d8e4d1f336c41ad93724d77533a3e0f29450
2020-09-10 17:21:24 -07:00
Adeeb Shihadeh 0ce447e092 remove unused import in cycle_alerts
old-commit-hash: 8e249396138ff2c7c4e38f54aa01776a9d5e00e9
2020-09-10 15:24:09 -07:00
Adeeb Shihadeh 64a9728f2e 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
old-commit-hash: e0004d09810d9c3bcb8681bca110bf5bbd09445a
2020-09-10 12:16:29 -07:00
Willem Melching 23c8b41c67 Tici light sensor (#2150)
* more generic sensor base class

* add file sensor

* light sensor working

* correct sensor type
old-commit-hash: 7cc571097446ae9adbaa5f12650d3c10e058d8fe
2020-09-10 15:11:13 +02:00
Willem Melching d8eb799948 bump cereal
old-commit-hash: f02ec4c68ed8514cb6d16c683ee75bdc86c096c3
2020-09-10 14:20:08 +02:00
Willem Melching a5c9113050 add repo check to sim ci build
old-commit-hash: c68d0ef46857aef054c1a201bed2987ae1402478
2020-09-10 12:20:49 +02:00
Willem Melching e64274a37d cleanup controlsd env variable reading
old-commit-hash: d4328365e90636cc0e075c8844823fed5321e8ed
2020-09-10 12:19:14 +02:00
Willem Melching f90922151f only build sim container on schedule
old-commit-hash: dbb11d64c99b3b02ebe30b620d64bcf5d3b43e9c
2020-09-10 12:15:45 +02:00
Vivek Aithal db0a4ef2dc 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>
old-commit-hash: c5dfbe7a72c6f31a0aa3a32b6df3f81409b40faf
2020-09-10 12:14:49 +02:00
Adeeb Shihadeh 6aebe5fa2a turn display on in spinner (#2148)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0ebc037be7a41ad8a42f157ef5c3368ab35062ec
2020-09-09 20:24:13 -07:00
Jafar Al-Gharaibeh b3b48372d8 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>
old-commit-hash: 6c292c3f0c3f399b5e6f77a54ff9d2ffae379325
2020-09-09 16:02:26 -07:00
Adeeb Shihadeh 3001e4c3b2 set params for new test
old-commit-hash: fde8b18f733797b1222ea844f3f3fc93217a8dcc
2020-09-09 15:57:06 -07:00
Adeeb Shihadeh 43010d853a fix timing issues with new test
old-commit-hash: fae13bf07e3b336f52911cb23291c6db029922cb
2020-09-09 15:16:05 -07:00
Adeeb Shihadeh c3760c267d simple unit test for startup alert
old-commit-hash: a3c1de1e66e798d5e2c030cbb8d5c66159dc4cbe
2020-09-09 14:40:16 -07:00
VirtuallyChris d66e530573 Add 2020 Highlander Hybrid fw
old-commit-hash: 7fb0eb4e17e4e939a0ed214f549cb6827635b6fb
2020-09-09 14:26:51 -07:00
Comma Device 934fce64ab wait 5s before showing waiting for controls
old-commit-hash: d6571aa633ba3a4602bcb1cf5f8cbad134e18c10
2020-09-09 13:19:20 -07:00
Adeeb Shihadeh 49428139da temporarily disable mac build
old-commit-hash: 847fc1fefef2f2e07c22d68497a5f8468eda7231
2020-09-09 12:15:31 -07:00
Adeeb Shihadeh 0ae5e7403e 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>
old-commit-hash: acd1bde496904fbc0d97f4d89e630358c4d11f7f
2020-09-09 19:04:28 +02:00
Willem Melching 9da5303dc8 bump submodules
old-commit-hash: 9eca642c76bbd9c34a6f5f4aede89dd614533a7d
2020-09-09 17:41:17 +02:00
Adeeb Shihadeh 3e86c0f2d6 bump rednose
old-commit-hash: b438301aa984774fc8eeaed52c9ed3078c700a24
2020-09-09 00:17:00 -07:00
Adeeb Shihadeh 5b9466a76e hide camera view when in reverse (#2144)
* partially hide camera view when in reverse

* lowest priority

* update ref commit

* fix type

* update refs
old-commit-hash: 9cd88526b513250aae592761a4d554a0eae4acc0
2020-09-09 00:11:12 -07:00
Willem Melching a351212c04 ui: glTexImage2D only redundant on QCOM
old-commit-hash: e8c8e9dab25c81fbeefa4fa05bf38166f9abe203
2020-09-08 14:33:27 +00:00
grekiki d462cf08c2 Update CONTRIBUTING.md
Removed nonworking link
old-commit-hash: 61489b4348d718f9dc1b93407a223877ba9aa0ed
2020-09-08 08:56:58 +02:00
Willem Melching 1268a08fd3 link ui against right opengl(ES) lib
old-commit-hash: 7cd481577347529ba90d6b3454700d610e80941c
2020-09-07 17:13:47 +02:00
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