Commit Graph

3971 Commits

Author SHA1 Message Date
Adeeb Shihadeh 3e4eb2e343 handle unregistered devices (#20728)
* handle unregistered devices

* cleanup

* no uploader or athena

* clean up
old-commit-hash: 1786d04239
2021-04-22 21:03:57 -07:00
George Hotz 59fb5c6a72 allow core voltage setting
old-commit-hash: 36d7a86579
2021-04-22 19:42:32 -07:00
Joost Wooning 5b31cc281c compare carspeed float to epsilon instead of zero (#20714)
* compare carspeed float to epsilon instead of zero

* update ref

* add ref commit again

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: d2a2ccfee4
2021-04-22 17:55:41 -07:00
George Hotz fdb8e5683c core voltage sweep
old-commit-hash: 4a710bfc16
2021-04-22 17:22:31 -07:00
George Hotz 74b86a8938 script to do voltage sweep
old-commit-hash: a1fb21e066
2021-04-22 17:07:31 -07:00
George Hotz 26c0d9dd24 log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)
old-commit-hash: b88aa6b57f
2021-04-22 12:02:12 -07:00
Joost Wooning ac03b730a4 unittests for locationd uncommon events (#20715)
* unittests for locationd uncommon events

* params test using process

* test for posenet spike

* fix library path

* move random seed to setup
old-commit-hash: 5fdcce2551
2021-04-22 15:31:18 +02:00
Willem Melching 305043def8 remove raven from pip packages
old-commit-hash: 7dcda0e461
2021-04-22 15:29:43 +02:00
Willem Melching c0ca2ce743 Switch to new sentry_sdk (#20690)
* remove unused crash.install

* use sentry_sdk in crash.py

* athena crashes dont rely on excepthook

* make default crash handler work

* make it work in athena

* fixup tombstoned
old-commit-hash: ea0e611872
2021-04-22 15:24:35 +02:00
Willem Melching 4b29fdeddd bump panda
old-commit-hash: c4189e158e
2021-04-22 12:00:27 +02:00
ZwX1616 dcca2f2369 fix sound test after alert change
old-commit-hash: 3692bb83b3
2021-04-21 15:12:04 -07:00
Shane Smiskol f7d726a44c infinite orange alert sound (#20723)
old-commit-hash: 858f7c0715
2021-04-21 14:37:27 -07:00
robbederks 27f3e0f801 add lower limit to prevent triggering on power loss (#20720)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13a6e3c68f
2021-04-21 13:15:44 +02:00
Willem Melching 5ec437bb6e Ignore radarState average frequency
old-commit-hash: 64d2ec38f2
2021-04-21 10:59:26 +02:00
Adeeb Shihadeh cc29fdfed2 less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
old-commit-hash: 836668f105
2021-04-20 21:01:28 -07:00
Adeeb Shihadeh 8c72eac7fb 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>
old-commit-hash: 31dd0cbd42
2021-04-20 20:45:46 -07:00
Ankush Girotra 5c63aa3f7c fix mac setup script for zsh (#20708)
Co-authored-by: Ankush Girotra <ankush.girotra@dlzpgroup.com>
old-commit-hash: 18a59c0d4b
2021-04-20 17:28:10 -07:00
Adeeb Shihadeh 12b77766e7 Fix VW trans type detection (#20716)
old-commit-hash: a7d4cf6e39
2021-04-20 14:49:58 -07:00
Adeeb Shihadeh 209f8cd51b add golf to ignored fingerprints
old-commit-hash: 437e054d11
2021-04-20 11:36:09 -07:00
Joost Wooning e07740c35c 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
old-commit-hash: e08a570a13
2021-04-20 17:50:40 +02:00
Joost Wooning 2803d26b14 params put in locationd async (#20713)
* params put in locationd async

* remove reference in thread call
old-commit-hash: ed8acfa284
2021-04-20 16:02:57 +02:00
Willem Melching 1d79459667 Remove panda set power functions (#20712)
* remove panda set power functions

* removed
old-commit-hash: 34328ba305
2021-04-20 15:31:19 +02:00
Adeeb Shihadeh 6d28491dbf 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>
old-commit-hash: a19d94ae2d
2021-04-20 14:32:34 +02:00
Willem Melching 41901d2204 Remove sympy import from paramsd at runtime (#20710)
old-commit-hash: b27bad8776
2021-04-20 14:29:37 +02:00
Willem Melching cca70e7b56 Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
old-commit-hash: aae849ea45
2021-04-20 14:01:59 +02:00
Willem Melching ee0e80a6d4 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
old-commit-hash: e4f73fbda5
2021-04-20 12:00:36 +02:00
Joost Wooning c0ac9bb63c 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
old-commit-hash: 3420707ad5
2021-04-20 11:56:43 +02:00
Willem Melching 19f02898d8 Add batch of FW versions from 0.8.3 (#20702)
* honda

* hkg

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

* cleanup

* only log if running at 1hz

* not needed
old-commit-hash: a163daf5e0
2021-04-15 14:11:53 +02:00
Willem Melching 128107c3d2 tici bump loggerd cpu usage
old-commit-hash: b3d1ef77ee
2021-04-15 13:11:24 +02:00
Willem Melching 4e339db7e8 tici test onroad, increase camerad cpu usage
old-commit-hash: 8eaf3d2410
2021-04-15 11:24:17 +02:00
Adeeb Shihadeh 5a7167aaaf GL spinner fix (#20684)
* GL spinner fix

* update larch spinner

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: aaa8d937f5
2021-04-15 00:49:34 -07:00
Willem Melching 7483953935 disable GC for locationd and paramsd (#20680)
old-commit-hash: fc478ff920
2021-04-14 23:59:29 -07:00
Adeeb Shihadeh e5be410cd5 lte toggle (#20683)
old-commit-hash: 2eac604993
2021-04-14 21:19:06 -07:00
Adeeb Shihadeh 50a73824f9 raw upload off by default
old-commit-hash: 9adaff5379
2021-04-14 21:06:30 -07:00
Adeeb Shihadeh d1d828ad1e UI: fix initial toggle state after #20670
old-commit-hash: a60effc112
2021-04-14 21:02:34 -07:00
Adeeb Shihadeh f11dd415e8 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>
old-commit-hash: 1adf34f033
2021-04-14 12:04:02 -07:00
Chris McCammon b71290bbf7 Kia Sorento 2019 confirmed working
old-commit-hash: 529cf08015
2021-04-14 11:55:24 -07:00
Willem Melching 990cdde7af rotate Sentry API keys (#20681)
old-commit-hash: e7b4e4f7ea
2021-04-14 17:23:37 +02:00
Willem Melching fb5c269833 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
old-commit-hash: eacacb8fba
2021-04-14 16:17:30 +02:00