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: 4fc81c2a08
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: a7672e2851
2021-03-09 10:32:13 +01:00
Adeeb Shihadeh db579da318 these are no longer in the pipfile
old-commit-hash: cfe0338284
2021-03-08 22:13:29 -08:00
Adeeb Shihadeh 96b6f66472 qt_sound: lower volume
old-commit-hash: 614808f384
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: 539426033b
2021-03-08 21:33:15 -08:00
Adeeb Shihadeh 396e0dd092 merge tools/misc and tools/scripts
old-commit-hash: 05f6c97f4c
2021-03-08 20:37:21 -08:00
rodclem 5606f8170d Add firmware values for 2021 Acura RDX (#20282)
old-commit-hash: 8c72ffc4cc
2021-03-08 20:19:22 -08:00
Adeeb Shihadeh aebfd97edd small carla docker fixes
old-commit-hash: 1f3278461a
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: a94ba4fb8b
2021-03-08 19:17:46 -08:00
Adeeb Shihadeh e80ea20b34 only show EON charge alert on EONs
old-commit-hash: 8c207d3cd5
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: 9151f55e5d
2021-03-08 16:47:28 -08:00
Comma Device 9360cf6509 revert to divide first
old-commit-hash: bcbcc03dc7
2021-03-08 13:53:24 -08:00
Willem Melching 2e6473611d bridge.py: don't clear params
old-commit-hash: b2b207917e
2021-03-08 15:53:18 +01:00
Willem Melching e58f651070 start_openpilot_docker.sh: pull image
old-commit-hash: bedfca4fc9
2021-03-08 15:42:24 +01:00
Willem Melching d9707bcaac manager: check if process is running before sending signal
old-commit-hash: af2a847f06
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: 476558b547
2021-03-08 12:18:58 +01:00
Dean Lee 2654277bc3 use cached buffer for FlatArrayMessageReader (#20233)
old-commit-hash: 12928cdae2
2021-03-08 11:02:21 +01:00
Dean Lee 55cfd38489 camera_qcom: better error message for apply exp error (#20265)
old-commit-hash: 6e1730a3e8
2021-03-08 10:42:31 +01:00
Dean Lee 5582f01a23 camera_qcom: change unsigned int to uint32_t (#20262)
old-commit-hash: 74afec9f15
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: e66f816879
2021-03-08 10:40:15 +01:00
Dean Lee 57f0f9a7ab camera_qcom: remove eeprom related stuff (#20254)
old-commit-hash: e0cc95a565
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: cdc46ffbab
2021-03-08 10:16:46 +01:00
Dean Lee bca42582d9 modeldata.h: new function get_model_yuv_transform (#20257)
old-commit-hash: 80cc0eefc9
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: 968ed10200
2021-03-07 23:02:57 -08:00
Adeeb Shihadeh 3ed4ffbc30 fix managed_processes for tests
old-commit-hash: d54e4bd60a
2021-03-07 22:39:14 -08:00
Adeeb Shihadeh 22b96822d1 also skip ubloxd in sim
old-commit-hash: 8541ac8449
2021-03-07 22:14:25 -08:00
Adeeb Shihadeh 6696320745 don't run dmonitoringmodeld in sim
old-commit-hash: a9f8fe7dca
2021-03-07 22:02:08 -08:00
Adeeb Shihadeh 3ad7100cb4 fix manager crash on PC after going offroad
old-commit-hash: 7cfd6b1170
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: 51d46e289a
2021-03-07 21:36:37 -08:00
Adeeb Shihadeh 8dc4500a83 fix uninstall after manager refactor
old-commit-hash: 745a4e884a
2021-03-07 21:02:37 -08:00
Adeeb Shihadeh b70b880dff bump panda
old-commit-hash: 3e78d073f0
2021-03-07 20:34:49 -08:00
Adeeb Shihadeh 8866942686 offroad alert for agnos update (#20270)
old-commit-hash: 6e101fd691
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: cd86f94ec7
2021-03-07 03:08:36 -08:00
Adeeb Shihadeh 582d07e928 agnos 0.7 (#20249)
* agnos 0.7

* update system
old-commit-hash: 2162d8d665
2021-03-05 19:05:59 -08:00
vanillagorillaa 6cef4aa1ba 2020 HRV FW (#20246)
old-commit-hash: 156b24e478
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: 5a3b511306
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: 59698344a2
2021-03-04 20:41:59 -08:00
Dean Lee e64a35bbff ui: remove unused roadCameraState from SubMaster (#20245)
old-commit-hash: 90310042cb
2021-03-04 20:18:54 -08:00
Jason Young f777cedcee VW MQB: Add support for stock FCW and AEB (#20244)
old-commit-hash: e4cd83d782
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: 0fc98355d0
2021-03-04 17:12:56 -08:00
Adeeb Shihadeh cde6887837 bump opendbc
old-commit-hash: e31336ed39
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: 6129a92f38
2021-03-04 16:48:36 -08:00
iejMac 3db55c19ab Update README.md
old-commit-hash: 1a2e67583c
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: f3f44e43e6
2021-03-04 14:58:28 -08:00
Chris McCammon f402790d2c 2020 Avalon (#20241)
old-commit-hash: 979319e4be
2021-03-04 14:34:33 -08:00
Chris McCammon ec1c8d2674 2021 Ridgeline (#20240)
old-commit-hash: dee2c97884
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: 029932f772
2021-03-04 13:51:37 -08:00
Adeeb Shihadeh b3f8b886cb fix tici sound card check
old-commit-hash: 59ea5eade9
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: 2f46ddf779
2021-03-04 11:25:53 -08:00
Comma Device f68201e717 better transition
old-commit-hash: 0d036de205
2021-03-04 11:08:52 -08:00