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: 1786d042396bcc079be5de33ed900f48effcec17
2021-04-22 21:03:57 -07:00
George Hotz 59fb5c6a72 allow core voltage setting
old-commit-hash: 36d7a86579613c19c1265227f3e3a4704ecbeadb
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: d2a2ccfee45fdf94425354efbfd17fabce4cb5e7
2021-04-22 17:55:41 -07:00
George Hotz fdb8e5683c core voltage sweep
old-commit-hash: 4a710bfc16bcc9846dcff3003779cab9f50feea1
2021-04-22 17:22:31 -07:00
George Hotz 74b86a8938 script to do voltage sweep
old-commit-hash: a1fb21e066b92d3276e8fd94d80c9922b2bdcb36
2021-04-22 17:07:31 -07:00
George Hotz 26c0d9dd24 log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)
old-commit-hash: b88aa6b57f635f2c0cd615b8b8e6b1999f5db092
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: 5fdcce2551e5cb7477d9646e449469399d6576fa
2021-04-22 15:31:18 +02:00
Willem Melching 305043def8 remove raven from pip packages
old-commit-hash: 7dcda0e4618348131fd6dfb1957eee1020cbc126
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: ea0e61187298c9c02238ad673f5932f08aa6f0c7
2021-04-22 15:24:35 +02:00
Willem Melching 4b29fdeddd bump panda
old-commit-hash: c4189e158e5fade79550c66f0320718afb9fd050
2021-04-22 12:00:27 +02:00
ZwX1616 dcca2f2369 fix sound test after alert change
old-commit-hash: 3692bb83b3402f660125e27bc218e42811f801d4
2021-04-21 15:12:04 -07:00
Shane Smiskol f7d726a44c infinite orange alert sound (#20723)
old-commit-hash: 858f7c0715092161b94fcb00cf8501a4f2541fe3
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: 13a6e3c68f94d39890602acd6955ac9025e34498
2021-04-21 13:15:44 +02:00
Willem Melching 5ec437bb6e Ignore radarState average frequency
old-commit-hash: 64d2ec38f290f7146af4196d240fb70cc11653b0
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: 836668f1050e1dbc185af7d472e2016627711aeb
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: 31dd0cbd427dcf069e4677a39817d7f14df4a7ab
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: 18a59c0d4b5660bf315e90a2574b744d17e471ee
2021-04-20 17:28:10 -07:00
Adeeb Shihadeh 12b77766e7 Fix VW trans type detection (#20716)
old-commit-hash: a7d4cf6e3947e76ed4f0d503c2d4e0d3db716ced
2021-04-20 14:49:58 -07:00
Adeeb Shihadeh 209f8cd51b add golf to ignored fingerprints
old-commit-hash: 437e054d1133d7e5251eeb63b04fe725dd5120a2
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: e08a570a138915b8d115dbcf21612deb53b7e666
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: ed8acfa28447472c282c1c94c929ababb4632305
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: 34328ba3056557e2efc614ca35e8d04a480b6caa
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: a19d94ae2d21c9df39c42a60431f8d4f6d228706
2021-04-20 14:32:34 +02:00
Willem Melching 41901d2204 Remove sympy import from paramsd at runtime (#20710)
old-commit-hash: b27bad8776ff055af69cd8c8763fe2e12934fb6a
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: aae849ea45a71052252b36c5a524da067b6c30b0
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: e4f73fbda5c2dd07cbb15816ac1bf30b010408fe
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: 3420707ad58b060333246eb43db09474bb336d39
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: 96836eb1e51bdf02846f8dd4d049bb36aa0240fe
2021-04-20 11:12:14 +02:00
Chris McCammon 80b17b541e remove Ioniq EV 2020 from BSM list (#20706)
old-commit-hash: fead4b694bb472caad1052f4c651c4341182d618
2021-04-19 16:56:58 -07:00
Willem Melching f93e09c03e 50% is more realistic for controlsd
old-commit-hash: e2e2587e00f80b941ee3588899c917d6d294db4c
2021-04-19 17:53:28 +02:00
Willem Melching 0783061e7e bump cereal
old-commit-hash: eccaccf10c260ef66a10667a1ea1cf3a135ef252
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: ff813b6b45e6fb9fed39c2d76b0da84236f9b3d8
2021-04-19 17:27:36 +02:00
Dean Lee 8e7f4788d5 params.cc clarify conditional compilation(#20699)
old-commit-hash: 737d002d801230e60a2bdd31476bb77a014f13f5
2021-04-19 12:16:30 +02:00
Willem Melching d9d6ed2b3b bump panda
old-commit-hash: 64bb9b53eaec976eafb0db09b440b19a75a54e49
2021-04-16 15:32:40 +02:00
Adeeb Shihadeh 07ba5a7fe9 show gps alert when lte's enabled
old-commit-hash: 3fa86657cbdc9ecc202a6ad8b4bce1276021f603
2021-04-15 22:12:16 -07:00
Adeeb Shihadeh 6d04f375e0 upload raw on tici
old-commit-hash: a3df0e98273a93fc460f5ac699e3cb77edfecf62
2021-04-15 21:36:09 -07:00
Willem Melching 548722a954 pigeon init add max retry count
old-commit-hash: f7e276fcce39e5e27c10d0bfb003754ec463c788
2021-04-15 16:49:09 +02:00
Willem Melching ba9cc9b067 remove suspicious toyota fw versions (#20686)
old-commit-hash: a6b3a44459daf32770d561302ce6c2e3ffc87f49
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: a163daf5e024867d7301f4e20bea20fba4bb59ae
2021-04-15 14:11:53 +02:00
Willem Melching 128107c3d2 tici bump loggerd cpu usage
old-commit-hash: b3d1ef77eed68caafe3c3a6a74f0f1fa3e621969
2021-04-15 13:11:24 +02:00
Willem Melching 4e339db7e8 tici test onroad, increase camerad cpu usage
old-commit-hash: 8eaf3d24102265493239f598036966b15590ce22
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: aaa8d937f504e4240444454a32b85de6977bf8b6
2021-04-15 00:49:34 -07:00
Willem Melching 7483953935 disable GC for locationd and paramsd (#20680)
old-commit-hash: fc478ff92080b747c0965047522b8f3876da4e6f
2021-04-14 23:59:29 -07:00
Adeeb Shihadeh e5be410cd5 lte toggle (#20683)
old-commit-hash: 2eac604993530fab8e10d9d546bcbb7fe0c0374c
2021-04-14 21:19:06 -07:00
Adeeb Shihadeh 50a73824f9 raw upload off by default
old-commit-hash: 9adaff5379e8634b4daf7f93b451eacc23b213c5
2021-04-14 21:06:30 -07:00
Adeeb Shihadeh d1d828ad1e UI: fix initial toggle state after #20670
old-commit-hash: a60effc1123254472b16bcd6ef5fbb03a2e4a5f7
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: 1adf34f033bc1efb592383ebb2dbaef909bac60b
2021-04-14 12:04:02 -07:00
Chris McCammon b71290bbf7 Kia Sorento 2019 confirmed working
old-commit-hash: 529cf080156887342a79ffe2be4903cc8af66127
2021-04-14 11:55:24 -07:00
Willem Melching 990cdde7af rotate Sentry API keys (#20681)
old-commit-hash: e7b4e4f7eaaa7d99cf542f26007f281b2e71d756
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: eacacb8fba8a58f32132c06e16012f99c2ee5f26
2021-04-14 16:17:30 +02:00