Commit Graph

2964 Commits

Author SHA1 Message Date
Willem Melching
b2b207917e bridge.py: don't clear params 2021-03-08 15:53:18 +01:00
Willem Melching
bedfca4fc9 start_openpilot_docker.sh: pull image 2021-03-08 15:42:24 +01:00
Willem Melching
af2a847f06 manager: check if process is running before sending signal 2021-03-08 15:42:09 +01:00
Willem Melching
476558b547 Process config cleanup (#20276)
* add enabled flag

* remove hack

* only prepare when enabled
2021-03-08 12:18:58 +01:00
Dean Lee
12928cdae2 use cached buffer for FlatArrayMessageReader (#20233) 2021-03-08 11:02:21 +01:00
Dean Lee
6e1730a3e8 camera_qcom: better error message for apply exp error (#20265) 2021-03-08 10:42:31 +01:00
Dean Lee
74afec9f15 camera_qcom: change unsigned int to uint32_t (#20262) 2021-03-08 10:41:07 +01:00
Dean Lee
e66f816879 cameras_qcom: use macros for actuator moving dir (#20259)
* use macro

* revert change
2021-03-08 10:40:15 +01:00
Dean Lee
e0cc95a565 camera_qcom: remove eeprom related stuff (#20254) 2021-03-08 10:19:43 +01:00
Dean Lee
cdc46ffbab ui/update_line_data: use max_idx as paramater instead of max_distance (#20256) 2021-03-08 10:16:46 +01:00
Dean Lee
80cc0eefc9 modeldata.h: new function get_model_yuv_transform (#20257) 2021-03-08 10:10:13 +01:00
iejMac
968ed10200 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>
2021-03-07 23:02:57 -08:00
Adeeb Shihadeh
d54e4bd60a fix managed_processes for tests 2021-03-07 22:39:14 -08:00
Adeeb Shihadeh
8541ac8449 also skip ubloxd in sim 2021-03-07 22:14:25 -08:00
Adeeb Shihadeh
a9f8fe7dca don't run dmonitoringmodeld in sim 2021-03-07 22:02:08 -08:00
Adeeb Shihadeh
7cfd6b1170 fix manager crash on PC after going offroad 2021-03-07 21:52:20 -08:00
Dean Lee
51d46e289a raw_logger: remove unneeded recursive_mutex (#20274)
* remove lock

* remove forword declared err

* cleanup include
2021-03-07 21:36:37 -08:00
Adeeb Shihadeh
745a4e884a fix uninstall after manager refactor 2021-03-07 21:02:37 -08:00
Adeeb Shihadeh
3e78d073f0 bump panda 2021-03-07 20:34:49 -08:00
Adeeb Shihadeh
6e101fd691 offroad alert for agnos update (#20270) 2021-03-07 15:37:09 -08:00
Adeeb Shihadeh
cd86f94ec7 agnos 0.8 (#20267)
* agnos 0.8

* bump required version

* update
2021-03-07 03:08:36 -08:00
Adeeb Shihadeh
2162d8d665 agnos 0.7 (#20249)
* agnos 0.7

* update system
2021-03-05 19:05:59 -08:00
vanillagorillaa
156b24e478 2020 HRV FW (#20246) 2021-03-05 10:56:39 -08:00
Willem Melching
5a3b511306 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>
2021-03-05 11:03:23 +01:00
Dean Lee
59698344a2 camera_qcom: move opencl stuff into class LapConv (#20180)
* class RGB2Gray

* rename Rgb2Grey to LapConv

* rebase master

* rebase master
2021-03-04 20:41:59 -08:00
Dean Lee
90310042cb ui: remove unused roadCameraState from SubMaster (#20245) 2021-03-04 20:18:54 -08:00
Jason Young
e4cd83d782 VW MQB: Add support for stock FCW and AEB (#20244) 2021-03-04 19:12:04 -08:00
Adeeb Shihadeh
0fc98355d0 UI touchups (#20243)
* do that automatically

* move that

* catch failures in factory reset

Co-authored-by: Comma Device <device@comma.ai>
2021-03-04 17:12:56 -08:00
Adeeb Shihadeh
e31336ed39 bump opendbc 2021-03-04 16:56:22 -08:00
Jason Young
6129a92f38 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>
2021-03-04 16:48:36 -08:00
iejMac
1a2e67583c Update README.md 2021-03-04 15:01:40 -08:00
Adeeb Shihadeh
f3f44e43e6 VW: update process replay route (#20239)
* VW: update process replay route

* update refs
2021-03-04 14:58:28 -08:00
Chris McCammon
979319e4be 2020 Avalon (#20241) 2021-03-04 14:34:33 -08:00
Chris McCammon
dee2c97884 2021 Ridgeline (#20240) 2021-03-04 14:22:00 -08:00
Jason Young
029932f772 VW MQB: Get steering rate-change sign from the correct signal (#20238) 2021-03-04 13:51:37 -08:00
Adeeb Shihadeh
59ea5eade9 fix tici sound card check 2021-03-04 11:57:43 -08:00
Dean Lee
2f46ddf779 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
2021-03-04 11:25:53 -08:00
Comma Device
0d036de205 better transition 2021-03-04 11:08:52 -08:00
Willem Melching
1b5c4d9089 ui: check sensor list size 2021-03-04 14:40:16 +01:00
Willem Melching
ff1cd3de1e needs to be int 2021-03-04 13:25:50 +01:00
Willem Melching
0d02e85873 set brightness, catch exceptions 2021-03-04 13:19:30 +01:00
Dean Lee
d3a71dcf65 camerad: fix thumbnail cnt (#20236) 2021-03-03 20:14:37 -08:00
ZwX1616
ab87aa1da8 clean up tici camera registers (#20209)
* clean up registers

* clean up more

Co-authored-by: Comma Device <device@comma.ai>
2021-03-03 19:29:08 -08:00
Comma Device
a5e9c603bd force same gamma 2021-03-03 14:28:58 -08:00
wolterhv
93911a7dbe 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.
2021-03-03 14:22:06 -08:00
Dean Lee
dd603a89f6 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>
2021-03-03 17:40:50 +01:00
Willem Melching
6b5a5bd180 remove build arg from manager prepare_managed_process (#20229) 2021-03-03 15:17:04 +01:00
Willem Melching
c3931074bf modeld.cc fix matrix storage order 2021-03-03 14:48:22 +01:00
dingyf12593
9e9b8cf33a merge the china golf 7.5 missing values in the existing fingerprint (#20218)
* china golf 7.5 values

* merge the missing values in the existing fingerprint

* merge the missing values in the existing fingerprint

* reset

* merge the missing values in the existing fingerprint
2021-03-03 14:10:33 +01:00
Eric Dardet
2be8731b35 Update values.py to add more 2021 Sonata FWs (#20219)
Added more  firmware versions from a 2021 Hyundai Sonata
2021-03-03 14:07:11 +01:00