Commit Graph

3957 Commits

Author SHA1 Message Date
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
Willem Melching f4335a7dfe Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
old-commit-hash: 343fea2bf9f68e78e21f0dc13912e2accb4d958d
2021-04-14 11:25:43 +02:00
Adeeb Shihadeh 4333685dd3 hyundai: fix CAN error for Santa Fe's without BSM
old-commit-hash: 9ddb12a69e16a8043f8f7bb2d745a649d82b6a34
2021-04-13 20:04:34 -07:00
Chris McCammon 64a82804f7 Rogue 2020 confirmed working
old-commit-hash: 65567a5f3da4a7d0dc9ece2d7bf871d7c3e6a729
2021-04-13 15:31:27 -07:00
Dean Lee 2db11515bd 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>
old-commit-hash: f0a1a6e4d6256d7ec2319288695c5fece51c8f66
2021-04-13 15:26:24 -07:00
Adeeb Shihadeh 96fce0bda5 script to dump events from route
old-commit-hash: 3956adc6dfb8de1464b15ee40460020a37b0bda3
2021-04-13 15:08:45 -07:00
robbederks 5cd4a9ba36 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>
old-commit-hash: 6a824d765137e5141115e1727bcd553bd17eaaef
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh 829afdfb87 ate sets failbit on some platforms
old-commit-hash: d90136c1d055369024b1223b0ead520f5aad5913
2021-04-13 14:40:40 -07:00
Comma Device 6f27d70605 fix reading procfs files
old-commit-hash: 6f21993915dd64ac145ec8a17686b62d909fc8f1
2021-04-13 13:56:08 -07:00
iejMac 5dddcac027 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
old-commit-hash: 928fbecec0d88fff684f3eecf1306393ef21be05
2021-04-13 13:42:13 -07:00
Dean Lee 7534abdd50 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
old-commit-hash: fe2f63849ae467fee70c72d18fa52a184c056331
2021-04-13 11:43:43 -07:00
Dean Lee ba58b382e2 util.h: remove unused macro ALIGN (#20673)
old-commit-hash: eb4666b38fd390d8d83152b90c2f52bfbb465bc0
2021-04-13 10:42:36 +02:00
Adeeb Shihadeh 31d818b39a tici: offline big cluster while offroad (#20668)
* tici: offline big cluster while offroad

* shuffling

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

* clFinish

* blank line

* rebase master

* use event
old-commit-hash: 5a3c22d804155da72339b0dafbb567caffbc1721
2021-04-12 22:42:53 -07:00
Erich Moraga dcc048e71d Add multiple missing f/w for LEXUS_ESH (#20669)
* Add multiple missing f/w for LEXUS_ESH

`@wei#4597` 2017 ES300h DongleID/route `d7a11201f3c617e3|2021-04-12--19-56-12`

* Expanded ES Hybrid to include 2017
old-commit-hash: d5b0c1503bfda06fee3c0276ac26eb51085e1039
2021-04-12 20:42:26 -07:00