Commit Graph

11597 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 1361f9578b hyundai: remove Niro EV from BSM list, not on all trims
old-commit-hash: f308430c11e238e57dc4e1c659a96902ce6281cd
2021-04-12 17:07:18 -07:00
iejMac 79b165ba7e ui update_sockets refactor (#20625)
* separate updates

* update

* no if

* no return

* fix
old-commit-hash: e6d210d5264a9bc6f3ebd459043262327887776c
2021-04-12 16:08:38 -07:00
Adeeb Shihadeh 483ea36b96 Raw upload toggle (#20665)
* upload toggle

* better description

* icons
old-commit-hash: 11cc0b52ce78df785245c6bb6af7298728a4e999
2021-04-12 14:05:43 -07:00
Adeeb Shihadeh 994e25770f Revert "hide set speed for stock long (#20585)" (#20666)
This reverts commit 6f9453bdf4928410b9c7c19d503003e9da53a1eb.
old-commit-hash: aab822a352ecba400d4fc2fb9bb467751f543b84
2021-04-12 13:34:44 -07:00
rgmane 4d2c8739eb Added FPv2 for 2016 VW Golf (#20663)
old-commit-hash: bbc06d1dd27c7c5f66742eae4e5f5569bde9eb4b
2021-04-12 10:50:22 -07:00
Willem Melching ce8b133966 bump opendbc
old-commit-hash: 29f52480491564a6dd4c8199a2e0471b37beb24d
2021-04-12 18:49:33 +02:00
Dean Lee 7d5a53ccbe Use std::size for element counts (#20654)
old-commit-hash: cf8067536928aca45aea850698e085d3170be7a6
2021-04-12 12:22:22 +02:00
Adeeb Shihadeh 4fef6d01a6 tici power saving (#20644)
* start power saving

* set power save in thermald

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b0bd1234455ab3c2ae15290fa42a6513df0c79b4
2021-04-12 01:40:58 -07:00
Adeeb Shihadeh 4561ff3a34 fix master-ci typo
old-commit-hash: 4e06665f55eb0f0cf169c2d654ccf52e8f14df66
2021-04-11 20:29:46 -07:00
Adeeb Shihadeh d339348895 Revert "CameraBuf: avoid busy waiting on safe_queue (#20643)"
This reverts commit e7db6f827d41b8c75579ccbfc2db20f93bd3f6c0.

old-commit-hash: 4e03e3738170f0c9cfb7377e4f41d4760b1505d8
2021-04-11 17:56:38 -07:00