Commit Graph

3540 Commits

Author SHA1 Message Date
Willem Melching ee090e1981 Boardd: Track ublox message frequency and re-init (#20278)
* track message frequency

* also keep old reset trigger

* cleanup

* improve comments

* Add 10 seconds

* these are now signed

* also check ignition last

* cleanup

* correct include

* lower threshold

* dont clear map
old-commit-hash: 4fc81c2a08515b0eb3cd1afada05265724193de0
2021-03-09 11:49:58 +01:00
Dean Lee ee6d78c90b Run models in function run_model (#20272)
* reconnect vipc_client after disconnection

* run models in run_model()

* cleanup

* use std::Mutex

* use std::thread

* const

* comments

* cleanup include

* rename live_thread to calibration_thread

* add comment
old-commit-hash: a7672e285158e7b51d6d9a878e812e6158b0a270
2021-03-09 10:32:13 +01:00
Adeeb Shihadeh db579da318 these are no longer in the pipfile
old-commit-hash: cfe03382845040cfde7b88567139ca893cf8b035
2021-03-08 22:13:29 -08:00
Adeeb Shihadeh 96b6f66472 qt_sound: lower volume
old-commit-hash: 614808f384700730a1ca805a6ba2abf0662e7076
2021-03-08 22:10:48 -08:00
iejMac 926e0dfca6 Move simulator CI to tools workflow (#20285)
* sim CI

* simulator CI

* scons already in Dockerfile.sim

* faster

* fast

* testing
old-commit-hash: 539426033b87e175d874973b6cdf633e8a70d0be
2021-03-08 21:33:15 -08:00
Adeeb Shihadeh 396e0dd092 merge tools/misc and tools/scripts
old-commit-hash: 05f6c97f4cbb36bba03416a9931bf824159618f0
2021-03-08 20:37:21 -08:00
rodclem 5606f8170d Add firmware values for 2021 Acura RDX (#20282)
old-commit-hash: 8c72ffc4cccf4efda541b22dd9c7bde5f8b8d6b6
2021-03-08 20:19:22 -08:00
Adeeb Shihadeh aebfd97edd small carla docker fixes
old-commit-hash: 1f3278461a3d93d247c9a5854434e973c9eb8b70
2021-03-08 20:12:34 -08:00
Willem Melching 4d6c98aa6b Add watchdog check to manager (#20277)
* this should work but doesnt

* Only offroad

* works

* make it work offorad

* reduce diff

* cleanup

* need util

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a94ba4fb8b704a5462352af4501290f63c987754
2021-03-08 19:17:46 -08:00
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