Commit Graph

10172 Commits

Author SHA1 Message Date
Adeeb Shihadeh ff00f6e4a4 lidar is a scam (#2094)
old-commit-hash: 45b4b6007a188fdb35808bd11397ab6fd87f8f61
2020-08-28 16:21:05 -07:00
ZwX1616 323b66731c need no divided by 2
old-commit-hash: b7bc342cc8079e017c24c920d3a91364894ba177
2020-08-28 12:20:36 -07:00
Adeeb Shihadeh a3461065b9 fix CI cache auto-deletion
old-commit-hash: 33fd13cc8c6af7dddea64dbc239bfe872c433adb
2020-08-28 11:19:20 -07:00
Adeeb Shihadeh cb3f689e36 remove read_param_timeout (#2095)
* remove read_param_timeout

* missed that
old-commit-hash: 9cd5180b43e03f84adb870fa25c91428a18394e0
2020-08-27 19:24:51 -07:00
ZwX1616 fca076b982 not show soft recover alerts
old-commit-hash: 9731e7a0d7af7aec44097e0028c10427681d4e8c
2020-08-27 17:59:26 -07:00
Adeeb Shihadeh cc2c6180f9 Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 685340d57897b8a0db4aa1c754c1760c59b92ead
2020-08-27 15:50:48 -07:00
Adeeb Shihadeh 6919e06a9c small uploader cleanup
old-commit-hash: 82f40f6ff5f4677fed6c1aa84a3229a29d212356
2020-08-27 14:22:59 -07:00
Adeeb Shihadeh d2cdd7706c UI cleanup (#2091)
* remove unused UI code

* these params aren't used anymore

* this is cleaner

* remove one more timeout

* read that from carParams

* only android needs pm

* fix that

* fix that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 43e3ec1bc1ee0d7b8044c5cabbe4022c5ddc9783
2020-08-27 11:57:31 -07:00
Willem Melching 139301e00f make sure snpe can find libopencl
old-commit-hash: 3517d4580224d6d74ea91d46bc4fe081c8e02a2f
2020-08-27 11:35:52 +00:00
Willem Melching c441f12924 open by path instead of number
old-commit-hash: 658e9d831619acf36aad9939cdbb97a08feed962
2020-08-27 09:44:52 +00:00
robbederks 7671d18467 Tici camerad (#2048)
* fix camera config

* typos

* oops

* more typo

* lambless

* forget to send

* visualize hist

* more typo

* 0xC000

* simple

* data loss prevention, clean up later

* loggerd

* back up code

* backup

* fixed memory leak

* fix vsync

* upload ecam

* WB

* 3stream

* fix OMX crash on loggerd rotation

* rewritten debayer kernel

* update viewer

* improved AE

* no artifact lines/grids

* standard trigger

* cleanups

* CCM

* cleanups

* slight tweak

* upd push sock

* build all these

* update tele fl

* update cereal

* upd viewer

* DualCameraState -> MultiCameraState

* cameras_open

* disable frame zmq push by default

* more cleanup

* no apks

* fix submodule error

* wat

* clean up trash

* remove junk

* only build on qcom2

* no need to check these

* update cereal

* some more minor cleanup

* bump panda

* add todo

* minor typo

* Revert "minor typo"

This reverts commit 9233a1df7cac214fae6827cdae3a10cb3bd060d9.

* not care

* use consistent hdr

* some cleanup

* Update selfdrive/camerad/main.cc

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

* more cleanups

* remove irrelevant stuff

* this too

* cleanup

* rerun ci

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 37d6472bfa1c0ef9f1f8353162b97444ca66e45c
2020-08-26 19:59:56 -07:00
ZwX1616 06439bef18 Fix OMX error on loggerd rotation when using multiple cameras (#1953)
* cherry pick from f8745d3002afe1acd8b740c8421992f1a459b59d

* update cereal

* missed this line

* add enum

* Update selfdrive/loggerd/loggerd.cc

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

* Update selfdrive/loggerd/loggerd.cc

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

* use same logroot

Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3014280d1a7369c0d1f1f4b5bbc7553e656fe8af
2020-08-26 15:02:51 -07:00
Adeeb Shihadeh 4f4751ec35 missing two f's, loggerd should really work on pc
old-commit-hash: 7bee1dbdbfcf0255f0d2338df6787fb6d0a1a961
2020-08-26 13:48:54 -07:00
Adeeb Shihadeh 12e718f670 add frame count check to loggerd rotation test
old-commit-hash: ff5d98f85fbc348db8817c864b6595ee4052731a
2020-08-26 13:06:32 -07:00
Willem Melching 9b489c5d3c larch64 dmonitoringmodeld fixes
old-commit-hash: a7be2b090d39fe360eab1c9cca32a3c4d3bb0f13
2020-08-26 17:49:20 +00:00
Willem Melching 6c653d4357 apport support for tombstoned (#2087)
* apport support for tombstoned

* Update manager

* Update comment
old-commit-hash: e88edeb051c393d7df84d5cf9b33ad0668bd4e99
2020-08-26 19:06:56 +02:00
Willem Melching 81333a9c9e larch64 modeld fixes (#2086)
old-commit-hash: cd6ec8211cebc502ef072ea8ebc0e03eab07f358
2020-08-26 17:18:05 +02:00
Willem Melching 55c441b6dd Systemd logcatd (#2085)
* Systemd logcatd infrastructure

* This should work

* Cleanup

* Split

* More compact and cleanup

* Add to ubuntu setup package list

* Run logcatd on all non pc platforms
old-commit-hash: 5782efe3ae7882a6a8eee0086b9c612c1d276814
2020-08-26 17:09:23 +02:00
Willem Melching 16fe1bb2ad Hardware abstraction class (#2080)
* hardware abstraction class

* De Morgan

* Rename pc hardware class

* Fix sound card in controlsd

* Pc get sim info

* fix hardware in test

* two more

* No more random imei on android

* no randomness on android

* Need to return something that looks like imei for registration to work

* Return proper network strength

* Unused import

* Bug fixes + gpsd is only android
old-commit-hash: c7152d54192605c833912b69cf85514ac2e1b1fc
2020-08-26 14:57:17 +02:00
Willem Melching 93926b0cd2 sensord: more precise 100 Hz, compensate for time spend measuring
old-commit-hash: 41b0cba0dd226db3938dbfbc8152f074143149f8
2020-08-26 12:10:50 +02:00
robbederks c09e7f04e7 Tici sensord (#2072)
* tici sensord: WIP

* add sensor constants

* rename files

* base class

* init sensors

* publish something

* dont leak memory

* try reading from accel

* Accel works

* add time and sensor source

* Update release files

* If we want low BW we want 125hz

* this should run gyro as well

* add filter on gyro

* also filter accel data

* Add i2c files

* cast makes macos unhappy

* Same outputs as android sensord

Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 622e42d504458ebfbb23e945beb1a60bbfd0e63b
2020-08-26 11:30:30 +02:00
ZwX1616 61ce097e7d wait longer for tici camerad startup
old-commit-hash: 521b6688ea6f32e6712ac4bdb382c393963b2e07
2020-08-25 21:07:50 -07:00
ZwX1616 275123e6d4 Loggerd rotation test (#2077)
* loggerd test

* delete afterwards

* add ccc

* fix pylint

* cleanup rotation test

* this works

* bump tolerance

* clear the data after test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 87473fbc41055f8e768089475616d642f3d45ffe
2020-08-25 18:31:49 -07:00
Willem Melching 90b52344fd Universal clocksd (#2075)
* universal clocksd

* start in manager

* remove android include

* Apple hacks

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e497b95f549b6e6d5a249121804231878c747e90
2020-08-25 10:53:04 +02:00
Adeeb Shihadeh 4936fd4709 mac ui kind of works (#2079)
old-commit-hash: 7956bb6883c75d97ca823d33c038841ef9e9e679
2020-08-25 00:56:42 -07:00
VirtuallyChris cc848bcf0b More Insight FW versions
old-commit-hash: ac4e244b3bf9bdc14db51369fc43e6bef8a9d3ec
2020-08-24 16:11:24 -07:00
Dean Lee ed31f8aaa5 Remove unnecessary string copy (#2067)
old-commit-hash: 71eedbce44b9239d05c3309a6f85c3c8abbb3908
2020-08-24 09:25:16 -07:00
Willem Melching 22e0a2474a Pandad: turn on panda power (#2073)
* pandad turn on panda power

* Add gpio.py

* needs bytes

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6bb2630eba1bff2db745e56d639fce8b85ec6d0d
2020-08-24 16:56:29 +02:00
Willem Melching cb21237c26 Thermald cleanup (#2049)
* Thermald cleanup

* no Temps, fix ui formatter

* Fix scaling

* Don't touch that

* typo

* Fix fan control

* Fix if

* change cereal

* Update comment
old-commit-hash: 9eb3d89ca273bf9960890c9e60687960b552346d
2020-08-24 14:17:41 +02:00
Dean Lee 205a47abaa paint.cc: deleted two meaningless lines (#2043)
old-commit-hash: 08d6fe18805c3e7e9fe512b1b343ab69d49f12da
2020-08-24 14:15:34 +02:00
eFini ddc5732562 fingerprint for China 2019 CRV Hybrid (#2056)
old-commit-hash: c7904cdec3eefb0cb01f77b594a1a11f0423e019
2020-08-24 14:09:30 +02:00
Dean Lee 4c0da02183 visionstream: fix doube fd close (#2057)
* s->ipc_fd counld be closed twice

* white space
old-commit-hash: 17dd07e751a7fd3f4fe62811614b41ce9650811a
2020-08-24 14:07:27 +02:00
Dean Lee aa41930178 remove device_id&context from ModelFrame (#2064)
old-commit-hash: 727055e0a077ceb4ea9ff55de9fd795cf675b48a
2020-08-24 14:04:52 +02:00
Dean Lee eb4d487000 move matmul3 into live_thread (#2069)
old-commit-hash: de7b901dc1518bf6e1dff0534f02be223d0e175f
2020-08-24 14:00:00 +02:00
Adeeb Shihadeh 8f2111b889 type hints for messaging (#2061)
* bump cereal

* fix bugs found by mypy

* bump cereal
old-commit-hash: 520c2676b682903d2be8f661ce98ac85fa50c439
2020-08-23 00:33:19 -07:00
Erich Moraga 8464860002 Add 2020 RAV4 LE Hybrid engine f/w (#2058)
C0mpl3t3N00b#0074 DongleID bdad50b8a1f9fa8e...
https://discord.com/channels/469524606043160576/524592892627517450/746500256178372678
old-commit-hash: 1bfeacdeafc41cc74f46695e32fe7c0722ff11ba
2020-08-21 16:17:34 -07:00
cydia2020 f40ece1dbf Prius 2018 Engine FW (#2054)
old-commit-hash: 97bb55703e0034099c3c05a48785616f879a1f90
2020-08-21 16:02:30 -07:00
Adeeb Shihadeh cadf1a08f5 small dmonitoringd cleanup
old-commit-hash: 732df68d8406d1924b984324ad10af6c13423fec
2020-08-21 14:55:12 -07:00
BrettLynch d14d7ab667 Added fingerprint for my 2020 Corolla Hybrid Sx sedan (#2052)
Co-authored-by: BrettLynch <metalworer@live.com.au>
old-commit-hash: 1f4e16be3c7bd93ea073cd373583c0a28e9ca98e
2020-08-21 11:10:27 -07:00
Willem Melching 698d4e4af1 ui: larger font size
old-commit-hash: d7f3690e85b2712cadaa8da2a1d153d5d915393f
2020-08-20 21:37:28 +02:00
Willem Melching 191d2e55d0 ui: force GLES context
old-commit-hash: 2410c7e26bbf60dda83792d273f049586c1aa001
2020-08-20 21:33:32 +02:00
Robert Hanna 7525b2e4f6 Add Lexus RX esp FW (#2050)
Add new Ecu.esp FW version to LEXUS_RX_TSS2
old-commit-hash: 85ba6e0e2f01794a2ddf3534c3fd5a912b574d4e
2020-08-20 10:55:35 -07:00
Willem Melching 92e3ed2e10 boardd: return early from usb functions if not connected
old-commit-hash: e03044530cabc8bf8947b42fb394ac02ea69557d
2020-08-20 17:36:02 +02:00
Willem Melching 6fbb4e18ec Revert "more init time in cpu test"
This reverts commit 76dcc65b31a7b03c8f48b92e5bc537397f847f3e.

old-commit-hash: b29d9da875271c719ef6edd6d33a51a11c66d227
2020-08-20 17:18:03 +02:00
Willem Melching 473fb11d34 Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e115c514521c7705112bd0cb2e4bf865b536501a
2020-08-20 17:16:44 +02:00
Willem Melching 4fd9d6467b more init time in cpu test
old-commit-hash: 03ec6af300d1d051436514b194e430fb54d16c6c
2020-08-20 15:20:59 +02:00
Adeeb Shihadeh a219cc17e9 clip carBatteryCapacity to 0
old-commit-hash: 2476ea213c24dac16531c8798761e34f96e0ded2
2020-08-19 12:34:49 -07:00
Adeeb Shihadeh 00e61c5f1e add a sleep after cloudlog
old-commit-hash: 266ef886dd778cc7d486349b72279c89c03dad06
2020-08-18 11:52:01 -07:00
Adeeb Shihadeh 83faaf2906 log when thermald shuts down device
old-commit-hash: a46d2f5b17cc24102f26674a2102a0044b3e84e6
2020-08-18 07:45:20 -07:00
Dean Lee ebd4f68cba ui: refactor model related functions (#2026)
* remove read_model

* remove structs for c-capnp

* remove duplicate #define from modeld

* add function fill_path_points

* fix Indentation

* use MODEL_PATH_DISTANCE instead of 192

* fix type

use validLen

* rename left_path_points&right_path_points to xxx_lane_points
old-commit-hash: f8ab6bd009410a9f7ab9c30ce7b72a82c6d2507b
2020-08-18 15:26:43 +02:00