Commit Graph

3531 Commits

Author SHA1 Message Date
Adeeb Shihadeh e80ea20b34 only show EON charge alert on EONs
old-commit-hash: 8c207d3cd5be2f066af3bbd64857208a414b34f4
2021-03-08 17:00:58 -08:00
Adeeb Shihadeh 1b54ab1135 android logcatd test reliability (#20284)
* android logcatd test reliability

* remove that

* more fix

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9151f55e5d2b2414764a8ff4dfcb6488d8250718
2021-03-08 16:47:28 -08:00
Comma Device 9360cf6509 revert to divide first
old-commit-hash: bcbcc03dc7488d6c9cf75062b7168dd40393cc4f
2021-03-08 13:53:24 -08:00
Willem Melching 2e6473611d bridge.py: don't clear params
old-commit-hash: b2b207917eb8fe47342ee2cc4a45e9cdfca8a837
2021-03-08 15:53:18 +01:00
Willem Melching e58f651070 start_openpilot_docker.sh: pull image
old-commit-hash: bedfca4fc9e0b89f46e0e27c3fcd2501ee050855
2021-03-08 15:42:24 +01:00
Willem Melching d9707bcaac manager: check if process is running before sending signal
old-commit-hash: af2a847f0647320c2e741221ca70ebf3657182f3
2021-03-08 15:42:09 +01:00
Willem Melching c993097393 Process config cleanup (#20276)
* add enabled flag

* remove hack

* only prepare when enabled
old-commit-hash: 476558b547a4747119819f9684baa81c61c86e97
2021-03-08 12:18:58 +01:00
Dean Lee 2654277bc3 use cached buffer for FlatArrayMessageReader (#20233)
old-commit-hash: 12928cdae2e21f59211b19cfe40e432506576212
2021-03-08 11:02:21 +01:00
Dean Lee 55cfd38489 camera_qcom: better error message for apply exp error (#20265)
old-commit-hash: 6e1730a3e852d285b000d9a8b034be9f36220156
2021-03-08 10:42:31 +01:00
Dean Lee 5582f01a23 camera_qcom: change unsigned int to uint32_t (#20262)
old-commit-hash: 74afec9f155441ad7d2f8b7c5c9b5e0afa10932e
2021-03-08 10:41:07 +01:00
Dean Lee 927d34ec43 cameras_qcom: use macros for actuator moving dir (#20259)
* use macro

* revert change
old-commit-hash: e66f81687919a9eb47d8f5af5cd3cc098ff025af
2021-03-08 10:40:15 +01:00
Dean Lee 57f0f9a7ab camera_qcom: remove eeprom related stuff (#20254)
old-commit-hash: e0cc95a56556b30421f7f24cd1caebd4c3a10125
2021-03-08 10:19:43 +01:00
Dean Lee 43a8ac2b73 ui/update_line_data: use max_idx as paramater instead of max_distance (#20256)
old-commit-hash: cdc46ffbabf9fb9627a44ce8260ce4be7481f32f
2021-03-08 10:16:46 +01:00
Dean Lee bca42582d9 modeldata.h: new function get_model_yuv_transform (#20257)
old-commit-hash: 80cc0eefc9f132590e3baad595fdd3c01e85c406
2021-03-08 10:10:13 +01:00
iejMac afc0597686 Fix simulator docker: CPU only for now (#20227)
* initial commit

* CPU working in dokcer

* Update selfdrive/manager.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/manager.py

* fixes

* fixing env var

* fixes

* building and running in docker

* camerad fix

* camerad fix

* this ACTUALLY works

* removing unused libraries

* updating to CARLA 0.9.11

* removing useless flags

* small changes

* forgot this

* sudo not needed for xhost

* final changes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 968ed10200913d81833e87a738cd780089eb0eaa
2021-03-07 23:02:57 -08:00
Adeeb Shihadeh 3ed4ffbc30 fix managed_processes for tests
old-commit-hash: d54e4bd60af4b589f3bd8d35000570962a5331cc
2021-03-07 22:39:14 -08:00
Adeeb Shihadeh 22b96822d1 also skip ubloxd in sim
old-commit-hash: 8541ac8449bc27ea2f75fe03ebbb03374a004836
2021-03-07 22:14:25 -08:00
Adeeb Shihadeh 6696320745 don't run dmonitoringmodeld in sim
old-commit-hash: a9f8fe7dca7455ed433643046c802dc5cc550f35
2021-03-07 22:02:08 -08:00
Adeeb Shihadeh 3ad7100cb4 fix manager crash on PC after going offroad
old-commit-hash: 7cfd6b1170f0ef46ad1df07821be9c6fd627cd25
2021-03-07 21:52:20 -08:00
Dean Lee d7e1874549 raw_logger: remove unneeded recursive_mutex (#20274)
* remove lock

* remove forword declared err

* cleanup include
old-commit-hash: 51d46e289a7cc7afa2f893060acb568ccb2b116a
2021-03-07 21:36:37 -08:00
Adeeb Shihadeh 8dc4500a83 fix uninstall after manager refactor
old-commit-hash: 745a4e884a6a91befe990bc26831d2a53bddac6d
2021-03-07 21:02:37 -08:00
Adeeb Shihadeh b70b880dff bump panda
old-commit-hash: 3e78d073f013ff1280c31a94bbfb606296819cca
2021-03-07 20:34:49 -08:00
Adeeb Shihadeh 8866942686 offroad alert for agnos update (#20270)
old-commit-hash: 6e101fd6919f3eac745e9273dcdfe470c5ab1f64
2021-03-07 15:37:09 -08:00
Adeeb Shihadeh 52795d95f1 agnos 0.8 (#20267)
* agnos 0.8

* bump required version

* update
old-commit-hash: cd86f94ec789adb9739dc21fc8d15224f242a410
2021-03-07 03:08:36 -08:00
Adeeb Shihadeh 582d07e928 agnos 0.7 (#20249)
* agnos 0.7

* update system
old-commit-hash: 2162d8d6654944652ca4ae84be8c05b702fb65fb
2021-03-05 19:05:59 -08:00
vanillagorillaa 6cef4aa1ba 2020 HRV FW (#20246)
old-commit-hash: 156b24e4787281e2fd95cd80840d10bfafa8abcd
2021-03-05 10:56:39 -08:00
Willem Melching c0098cec09 Manager cleanup (#20231)
* move manager in folder

* inital refactor

* call start

* small cleanup

* add comments

* use self.signal()

* order shouldnt matter

* newlines

* add helpers

* newlines

* add process config

* split out build part of manager

* this should fix most tests

* no sensord on pc

* dont start athena

* remove comment

* fix old athena test

* fix inject model

* fix test car models

* should be not none

* fix helpers exitcode

* ignore manage_athenad

* Use time.monotonic()

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* combine init, remove spinner

* move manager test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00
Dean Lee 213d9255f2 camera_qcom: move opencl stuff into class LapConv (#20180)
* class RGB2Gray

* rename Rgb2Grey to LapConv

* rebase master

* rebase master
old-commit-hash: 59698344a2c1f6557b06485de1dcf296ec5eb542
2021-03-04 20:41:59 -08:00
Dean Lee e64a35bbff ui: remove unused roadCameraState from SubMaster (#20245)
old-commit-hash: 90310042cbfcc105604385439b5736de60174e02
2021-03-04 20:18:54 -08:00
Jason Young f777cedcee VW MQB: Add support for stock FCW and AEB (#20244)
old-commit-hash: e4cd83d782aa917759828fe7a2f5efd21b8e8d5c
2021-03-04 19:12:04 -08:00
Adeeb Shihadeh f47a31f5c5 UI touchups (#20243)
* do that automatically

* move that

* catch failures in factory reset

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0fc98355d07aebb68ddc0da1d51013cf00e4f610
2021-03-04 17:12:56 -08:00
Adeeb Shihadeh cde6887837 bump opendbc
old-commit-hash: e31336ed3907fd6e0a4b996d97c269fded8625b6
2021-03-04 16:56:22 -08:00
Jason Young d55b56aa46 VW MQB: Add support for blind spot monitoring radar (#20242)
* Get steering rate-change sign from the right signal

* Temp remove network-switching reference prior to upstream

* Additional description of BSM signals

* Simplify expression

* Typo

* Update ref_commit

* update refs after merge

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6129a92f38a7256cda5e1785ded784ab1d937df5
2021-03-04 16:48:36 -08:00
iejMac 3db55c19ab Update README.md
old-commit-hash: 1a2e67583cbd19c4cd702fd36995643d564c4b58
2021-03-04 15:01:40 -08:00
Adeeb Shihadeh aa194a3cbb VW: update process replay route (#20239)
* VW: update process replay route

* update refs
old-commit-hash: f3f44e43e6c8fc3b70011a2364730d5f5b43f94c
2021-03-04 14:58:28 -08:00
Chris McCammon f402790d2c 2020 Avalon (#20241)
old-commit-hash: 979319e4beab6a3903e6f36b9e633e4ab8d5ec28
2021-03-04 14:34:33 -08:00
Chris McCammon ec1c8d2674 2021 Ridgeline (#20240)
old-commit-hash: dee2c9788442a4b999e1079c896395c544fec7df
2021-03-04 14:22:00 -08:00
Jason Young 0da9ef375f VW MQB: Get steering rate-change sign from the correct signal (#20238)
old-commit-hash: 029932f772e5f0ec6a40963d71f7b3f548bf285e
2021-03-04 13:51:37 -08:00
Adeeb Shihadeh b3f8b886cb fix tici sound card check
old-commit-hash: 59ea5eade9f3266fc4cd9519a71fc0a84cae4ac2
2021-03-04 11:57:43 -08:00
Dean Lee a13c21c7a7 oneplus cleanup (continue) (#20212)
* cleanup cameras_supported

* use macro

* remove ois_fd

* remove ois_init_settings

* cleanup sensor_i2c.h

* apply_exposure

* better comment

* remove int err

* init apply_exposure in camera_init

* continue

* remove event startupOneplus

* Revert "remove event startupOneplus"

This reverts commit f5b16e864399bcf4dc7c48fc07a43e35c47e7dc2.

* move camera_init after xxx_apply_exposure
old-commit-hash: 2f46ddf779a96b2a41fbbf9fc02827674a615faf
2021-03-04 11:25:53 -08:00
Comma Device f68201e717 better transition
old-commit-hash: 0d036de20558d2a33611fe1f61fc6c0a34ea2d95
2021-03-04 11:08:52 -08:00
Willem Melching 6ec00afa0f ui: check sensor list size
old-commit-hash: 1b5c4d908947da2721167f60b43563dcb4844d1e
2021-03-04 14:40:16 +01:00
Willem Melching 46ecd68beb needs to be int
old-commit-hash: ff1cd3de1e380ba3990ff70c231bf99d1272a331
2021-03-04 13:25:50 +01:00
Willem Melching f0da92ba5c set brightness, catch exceptions
old-commit-hash: 0d02e858735aa39137074704b6c9356632935852
2021-03-04 13:19:30 +01:00
Dean Lee 9faffa817b camerad: fix thumbnail cnt (#20236)
old-commit-hash: d3a71dcf65722b80b6f08acb4a371b138436a495
2021-03-03 20:14:37 -08:00
ZwX1616 a899ac0de6 clean up tici camera registers (#20209)
* clean up registers

* clean up more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab87aa1da8c2ac381786a53537dc98e1189a3c8e
2021-03-03 19:29:08 -08:00
Comma Device 633687e43a force same gamma
old-commit-hash: a5e9c603bda12733b543fa40369239b84b90b88c
2021-03-03 14:28:58 -08:00
wolterhv 56f48a03bc Replace hardcoded values for Pi (#20235)
* Avoid redefining pi, use instead math.pi or M_PI from math.h

* Revert overwriting of the gpsPi variable, which is part the GPS standard.

* Move standard library imports to top, remove standard library import comments.
old-commit-hash: 93911a7dbedcd06383cb9fea94ed78133442f687
2021-03-03 14:22:06 -08:00
Dean Lee 0818f7166d UI: Move the variables need to be updated by socket to UIScene (#19783)
* move variables into UIScene

* rebase master

* rebase master

* rebase master

* rebase master

* rebase master

* rebase master

* fix build error

* cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dd603a89f642ea73d2c9b0def94d228adf9d52df
2021-03-03 17:40:50 +01:00
Willem Melching 8ca071310a remove build arg from manager prepare_managed_process (#20229)
old-commit-hash: 6b5a5bd180383782445f58f40511dfd03ef8b5ea
2021-03-03 15:17:04 +01:00