Commit Graph

12534 Commits

Author SHA1 Message Date
Adeeb Shihadeh
daea946ad2 sensord cleanup (#2111)
* sensors_qcom cleanup

* include vector and map

* abstract sensor init

* use a set

* add to relase files

* fix this up

* no ui changes

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2020-09-02 14:04:55 -07:00
Willem Melching
5c058140ed tici: fix set_realtime_priority (#2124)
* cleanup and pin modeld to core 5

* Unused import
2020-09-02 17:52:41 +02:00
Willem Melching
92de562ed9 pc ui: print opengl version on startup 2020-09-02 15:46:39 +02:00
Willem Melching
873043b9fb 1024 MB should be enough for anyone 2020-09-02 15:12:30 +02:00
VirtuallyChris
9ad9076486 Add Insight fw 2020-09-01 19:01:19 -07:00
Adeeb Shihadeh
1e5a935ff0 paramsd process replay test (#2118)
* paramsd process replay test

* cleanup
2020-09-01 18:31:26 -07:00
Adeeb Shihadeh
21fbe26980 Reduce plannerd and dmonitoringd CPU usage (#2108)
* fix wasted cycles in locationd and dmonitoringd

* bump cereal

* calibrationd

* Revert "calibrationd"

This reverts commit 580051a33bc96e1e83300629e9c04817928d0851.

* this is cleaner

* calibrationd

* paramsd is driven by liveLocationKalman

* only log params once a minute

* stricter CPU usage test

* revert locationd for now

* revert calibrationd too

* revert thresholds
2020-09-01 16:41:09 -07:00
Adeeb Shihadeh
2b23624b42 bump panda 2020-09-01 16:35:49 -07:00
Comma Device
18884743a6 remove recurrent LOGD and prints 2020-09-01 20:15:39 +00:00
Comma Device
80838f3693 use buffered meta 2020-09-01 18:55:15 +00:00
Willem Melching
4891d3787a Wait 5 minutes after offroad before changing thresholds (#2113) 2020-09-01 11:25:04 +02:00
Willem Melching
42b6292fa5 ui: simplify shader versions and fix hardcoded texture size (#2112)
* fix shader version

* fix texture buffer size

* Attribute/Varying is deprecated
2020-08-31 15:02:01 +02:00
Willem Melching
01b3079451 Fix camera view on PC 2020-08-31 13:16:30 +02:00
Adeeb Shihadeh
63436373d2 Remove opencv from phonelibs (#2107)
* remove opencv from phonelibs

* clean that up too
2020-08-30 18:23:23 -07:00
Adeeb Shihadeh
4569e51b3e Revert "Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096)"
This reverts commit 76a5ad3a5f.
2020-08-30 17:14:45 -07:00
Greg Hogan
e4720eb798 build script that uses docker container (#1944) 2020-08-30 17:02:36 -07:00
Michael Honan
76a5ad3a5f Added Toyota Camry 2019 (AUS) SX(2.5L FWD, 6speed) firmware versions (#2096) 2020-08-30 17:01:26 -07:00
Shane Smiskol
dfdbf6e416 Show lane lines and path while using uiview.py (#2104)
* add modeld and required calibd procs to uiview to display lane lines when debugging

* send radarState with empty message to show model path

* make uiview.py executable
2020-08-30 11:38:40 -07:00
Adeeb Shihadeh
349040d958 driver monitoring cleanup (#2101)
* read rhd from param

* don't need that anymore

* fix build

* bump cereal

* read param from camerad too

* add read_db_bool helper

* bump model replay ref commit, IsRHD wasn't set
2020-08-29 17:16:00 -07:00
Adeeb Shihadeh
284938cd43 fix hyundai editing can parser values 2020-08-28 21:34:34 -07:00
Adeeb Shihadeh
45b4b6007a lidar is a scam (#2094) 2020-08-28 16:21:05 -07:00
ZwX1616
b7bc342cc8 need no divided by 2 2020-08-28 12:20:36 -07:00
Adeeb Shihadeh
33fd13cc8c fix CI cache auto-deletion 2020-08-28 11:19:20 -07:00
Willem Melching
1e1ce35dbb bump cereal 2020-08-28 13:25:51 +02:00
Adeeb Shihadeh
9cd5180b43 remove read_param_timeout (#2095)
* remove read_param_timeout

* missed that
2020-08-27 19:24:51 -07:00
ZwX1616
9731e7a0d7 not show soft recover alerts 2020-08-27 17:59:26 -07:00
Adeeb Shihadeh
685340d578 Sound stability test (#2089)
* play sound

* clean this up

* no cereal

* fix module issue

Co-authored-by: Comma Device <device@comma.ai>
2020-08-27 15:50:48 -07:00
Adeeb Shihadeh
82f40f6ff5 small uploader cleanup 2020-08-27 14:22:59 -07:00
Adeeb Shihadeh
9a9e829ce4 increase timeout on mac CI build 2020-08-27 13:15:20 -07:00
Adeeb Shihadeh
43e3ec1bc1 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>
2020-08-27 11:57:31 -07:00
Willem Melching
3517d45802 make sure snpe can find libopencl 2020-08-27 11:35:52 +00:00
Willem Melching
658e9d8316 open by path instead of number 2020-08-27 09:44:52 +00:00
robbederks
37d6472bfa 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>
2020-08-26 19:59:56 -07:00
ZwX1616
3014280d1a 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>
2020-08-26 15:02:51 -07:00
Adeeb Shihadeh
7bee1dbdbf missing two f's, loggerd should really work on pc 2020-08-26 13:48:54 -07:00
Adeeb Shihadeh
ff5d98f85f add frame count check to loggerd rotation test 2020-08-26 13:06:32 -07:00
Willem Melching
29d83f0246 bump panda 2020-08-26 20:13:33 +02:00
Willem Melching
c8e0cd3ddd hardware.py: PC is wifi so uploader works 2020-08-26 20:12:56 +02:00
Willem Melching
a7be2b090d larch64 dmonitoringmodeld fixes 2020-08-26 17:49:20 +00:00
Willem Melching
e88edeb051 apport support for tombstoned (#2087)
* apport support for tombstoned

* Update manager

* Update comment
2020-08-26 19:06:56 +02:00
Willem Melching
cd6ec8211c larch64 modeld fixes (#2086) 2020-08-26 17:18:05 +02:00
Willem Melching
5782efe3ae 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
2020-08-26 17:09:23 +02:00
Willem Melching
c7152d5419 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
2020-08-26 14:57:17 +02:00
Willem Melching
41b0cba0dd sensord: more precise 100 Hz, compensate for time spend measuring 2020-08-26 12:10:50 +02:00
robbederks
622e42d504 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>
2020-08-26 11:30:30 +02:00
ZwX1616
521b6688ea wait longer for tici camerad startup 2020-08-25 21:07:50 -07:00
ZwX1616
87473fbc41 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>
2020-08-25 18:31:49 -07:00
Willem Melching
2be2b66341 bump cereal 2020-08-25 17:30:14 +02:00
Willem Melching
e497b95f54 Universal clocksd (#2075)
* universal clocksd

* start in manager

* remove android include

* Apple hacks

Co-authored-by: Comma Device <device@comma.ai>
2020-08-25 10:53:04 +02:00
Adeeb Shihadeh
7956bb6883 mac ui kind of works (#2079) 2020-08-25 00:56:42 -07:00