Commit Graph

2188 Commits

Author SHA1 Message Date
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
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