Commit Graph

3494 Commits (33edb629679ebf66b1cf7fe3dc5b75ff40dfe424)

Author SHA1 Message Date
Willem Melching 64d2ec38f2 Ignore radarState average frequency 2021-04-21 10:59:26 +02:00
Adeeb Shihadeh 836668f105
less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
2021-04-20 21:01:28 -07:00
Adeeb Shihadeh 31dd0cbd42
set display power + brightness in spinner and text window (#20719)
* set display power + brightness in spinner and text window

* update aarch64

* update larch

Co-authored-by: Comma Device <device@comma.ai>
2021-04-20 20:45:46 -07:00
Ankush Girotra 18a59c0d4b
fix mac setup script for zsh (#20708)
Co-authored-by: Ankush Girotra <ankush.girotra@dlzpgroup.com>
2021-04-20 17:28:10 -07:00
Adeeb Shihadeh a7d4cf6e39
Fix VW trans type detection (#20716) 2021-04-20 14:49:58 -07:00
Adeeb Shihadeh 437e054d11 add golf to ignored fingerprints 2021-04-20 11:36:09 -07:00
Joost Wooning e08a570a13
create library for using locationd in python using ffi (#20711)
* create library for using locationd in python using ffi

* lib is not required in release

* cleanup

* dont build liblocationd on release

* add check on buffer size
2021-04-20 17:50:40 +02:00
Joost Wooning ed8acfa284
params put in locationd async (#20713)
* params put in locationd async

* remove reference in thread call
2021-04-20 16:02:57 +02:00
Willem Melching 34328ba305
Remove panda set power functions (#20712)
* remove panda set power functions

* removed
2021-04-20 15:31:19 +02:00
Adeeb Shihadeh a19d94ae2d
Toyota: use FW query for DSU detection (#20615)
* Toyota: use FW query for DSU detection

* make sure we have at least some fw responses

* bool

* add test to test_startup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-04-20 14:32:34 +02:00
Willem Melching b27bad8776
Remove sympy import from paramsd at runtime (#20710) 2021-04-20 14:29:37 +02:00
Willem Melching aae849ea45
Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
2021-04-20 14:01:59 +02:00
Willem Melching e4f73fbda5
Fuzzy match on ECU FW versions (#20687)
* Fuzzy match on 3+ ECUs

* reuse dict

* exclude some shared ecus to be sure

* show alert for fuzzy match

* use title case

* require community toggle

* refactor

* do both exact and fuzzy in test script

* update test script

* add fuzz test and lower matches to >= 2

* strip alert length

* sort mismatches

* add fw tests to test_startup

* bump cereal
2021-04-20 12:00:36 +02:00
Joost Wooning 3420707ad5
convert locationd to c++ (#20622)
* live_kf to c++

* first locationd code

* Running in process_replay

* locationd handle cam_odo and live_calib

* log event handlers

* working message receiving

* compiling message sending

* correctly sending some messages

* correct receiving and sending

* update ref_commit with some all_alive_and_valid being false, minor fixes

* fix std abs

* linking on device fix

* fix cpu usage test

* generate kf constants and defines

* fix replay test

* replay without acks, cleanup

* operate on bytearray messages

* cleanup

* send msg fix

* small sleep, less flaky test

* remove python locationd

* review feedback

* bump rednose
2021-04-20 11:56:43 +02:00
Willem Melching 96836eb1e5
Add batch of FW versions from 0.8.3 (#20702)
* honda

* hkg

* toyota
2021-04-20 11:12:14 +02:00
Chris McCammon fead4b694b
remove Ioniq EV 2020 from BSM list (#20706) 2021-04-19 16:56:58 -07:00
Willem Melching e2e2587e00 50% is more realistic for controlsd 2021-04-19 17:53:28 +02:00
Willem Melching eccaccf10c bump cereal 2021-04-19 17:29:01 +02:00
Joost Wooning ff813b6b45
Add flag to process replay config to use real submaster (#20701) 2021-04-19 17:27:36 +02:00
Dean Lee 737d002d80
params.cc clarify conditional compilation(#20699) 2021-04-19 12:16:30 +02:00
Willem Melching 64bb9b53ea bump panda 2021-04-16 15:32:40 +02:00
Adeeb Shihadeh 3fa86657cb show gps alert when lte's enabled 2021-04-15 22:12:16 -07:00
Adeeb Shihadeh a3df0e9827 upload raw on tici 2021-04-15 21:36:09 -07:00
Willem Melching f7e276fcce pigeon init add max retry count 2021-04-15 16:49:09 +02:00
Willem Melching a6b3a44459
remove suspicious toyota fw versions (#20686) 2021-04-15 14:55:20 +02:00
Willem Melching a163daf5e0
Improve robustness of ublox init procedure (#20685)
* improve ublox init robustness

* cleanup

* only log if running at 1hz

* not needed
2021-04-15 14:11:53 +02:00
Willem Melching b3d1ef77ee tici bump loggerd cpu usage 2021-04-15 13:11:24 +02:00
Willem Melching 8eaf3d2410 tici test onroad, increase camerad cpu usage 2021-04-15 11:24:17 +02:00
Adeeb Shihadeh aaa8d937f5
GL spinner fix (#20684)
* GL spinner fix

* update larch spinner

Co-authored-by: Comma Device <device@comma.ai>
2021-04-15 00:49:34 -07:00
Willem Melching fc478ff920
disable GC for locationd and paramsd (#20680) 2021-04-14 23:59:29 -07:00
Adeeb Shihadeh 2eac604993
lte toggle (#20683) 2021-04-14 21:19:06 -07:00
Adeeb Shihadeh 9adaff5379 raw upload off by default 2021-04-14 21:06:30 -07:00
Adeeb Shihadeh a60effc112 UI: fix initial toggle state after #20670 2021-04-14 21:02:34 -07:00
Adeeb Shihadeh 1adf34f033
update time from RTC on manager init (#20678)
* set time on manager init

* earlier

* handle exception

* logging

* add to release files

* run in launch script too

Co-authored-by: Comma Device <device@comma.ai>
2021-04-14 12:04:02 -07:00
Chris McCammon 529cf08015
Kia Sorento 2019 confirmed working 2021-04-14 11:55:24 -07:00
Willem Melching e7b4e4f7ea
rotate Sentry API keys (#20681) 2021-04-14 17:23:37 +02:00
Willem Melching eacacb8fba
Cleanup ubloxd message parsing (#20664)
* use kaitai to generate parsers

* add scons flag to generate parsers

* add outer layer ephemeris parsing

* create ephemeris packet at the right time

* parse subframe 1 and 2

* add more fields

* add generated files to release

* fix signs

* no cast

* add unordered map include

* add exception handling

* small cleanup

* parse iono data

* cleanup
2021-04-14 16:17:30 +02:00
Willem Melching 343fea2bf9
Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
2021-04-14 11:25:43 +02:00
Adeeb Shihadeh 9ddb12a69e hyundai: fix CAN error for Santa Fe's without BSM 2021-04-13 20:04:34 -07:00
Chris McCammon 65567a5f3d
Rogue 2020 confirmed working 2021-04-13 15:31:27 -07:00
Dean Lee f0a1a6e4d6
camerad: SubMaster never updated (#20651)
* fix sm has not been updated

* update submaster in processing driver cam thread

* move Subbmaster to driver camera thread

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-04-13 15:26:24 -07:00
Adeeb Shihadeh 3956adc6df script to dump events from route 2021-04-13 15:08:45 -07:00
robbederks 6a824d7651
Zookeeper support (#20000)
* zookeeper lib

* add ft4222 to dev pip packages and fix include error

* started on CI

* it's a file

* now it should be happy

* use docker for all on-device tests

* test scripts

* does this work?

* access to devices

* too broad. only usb enough?

* permissions for zookeeper usb

* as env var maybe?

* this?

* try this for now

* all devices

* move to correct location for impoerts

* right paths

* not running in the right agent?

* ofc not

* fix broken merge

* add ft4222 package again

* add timeout

* power monitor

* cleanup

Co-authored-by: Batman <batman@openpilot-ci.internal>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh d90136c1d0 ate sets failbit on some platforms 2021-04-13 14:40:40 -07:00
Comma Device 6f21993915 fix reading procfs files 2021-04-13 13:56:08 -07:00
iejMac 928fbecec0
UI: Reset settings state when hiding panels (#20670)
* git stat

* first panel and button reset

* progress

* toggles parent + list

* check if label nullptr

* style

* fixes

* fixes

* remove line

* white space

* tabs and spaces
2021-04-13 13:42:13 -07:00
Dean Lee fe2f63849a
util.cc: reduce two read_file functions into one (#20655)
* no need to malloc one extra byte

* combine two read_file into a faster one

* cleanup #include

* use resize

* apply suggestions from review

* space

* rebase master
2021-04-13 11:43:43 -07:00
Dean Lee eb4666b38f
util.h: remove unused macro ALIGN (#20673) 2021-04-13 10:42:36 +02:00
Adeeb Shihadeh 9edda6fbc1
tici: offline big cluster while offroad (#20668)
* tici: offline big cluster while offroad

* shuffling

Co-authored-by: Comma Device <device@comma.ai>
2021-04-12 23:06:24 -07:00
Dean Lee 5a3c22d804
camerad: refactor RGBToYUVState into a class (#20310)
* struct RGBToYUVState to class Rgb2Yuv

* clFinish

* blank line

* rebase master

* use event
2021-04-12 22:42:53 -07:00