Commit Graph

3923 Commits

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

* update ref
old-commit-hash: 343fea2bf9
2021-04-14 11:25:43 +02:00
Adeeb Shihadeh 4333685dd3 hyundai: fix CAN error for Santa Fe's without BSM
old-commit-hash: 9ddb12a69e
2021-04-13 20:04:34 -07:00
Chris McCammon 64a82804f7 Rogue 2020 confirmed working
old-commit-hash: 65567a5f3d
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: f0a1a6e4d6
2021-04-13 15:26:24 -07:00
Adeeb Shihadeh 96fce0bda5 script to dump events from route
old-commit-hash: 3956adc6df
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: 6a824d7651
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh 829afdfb87 ate sets failbit on some platforms
old-commit-hash: d90136c1d0
2021-04-13 14:40:40 -07:00
Comma Device 6f27d70605 fix reading procfs files
old-commit-hash: 6f21993915
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: 928fbecec0
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: fe2f63849a
2021-04-13 11:43:43 -07:00
Dean Lee ba58b382e2 util.h: remove unused macro ALIGN (#20673)
old-commit-hash: eb4666b38f
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: 9edda6fbc1
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: 5a3c22d804
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: d5b0c1503b
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: f308430c11
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: e6d210d526
2021-04-12 16:08:38 -07:00
Adeeb Shihadeh 483ea36b96 Raw upload toggle (#20665)
* upload toggle

* better description

* icons
old-commit-hash: 11cc0b52ce
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: aab822a352
2021-04-12 13:34:44 -07:00
rgmane 4d2c8739eb Added FPv2 for 2016 VW Golf (#20663)
old-commit-hash: bbc06d1dd2
2021-04-12 10:50:22 -07:00
Willem Melching ce8b133966 bump opendbc
old-commit-hash: 29f5248049
2021-04-12 18:49:33 +02:00
Dean Lee 7d5a53ccbe Use std::size for element counts (#20654)
old-commit-hash: cf80675369
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: b0bd123445
2021-04-12 01:40:58 -07:00
Adeeb Shihadeh 4561ff3a34 fix master-ci typo
old-commit-hash: 4e06665f55
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: 4e03e37381
2021-04-11 17:56:38 -07:00
mahlzeit1948 8daa2f45c8 Fix Chrysler Pacifica weight (#20647)
* Update interface.py

2858 is the gross vehicle weight of the hybrid (maximum weight of vehicle + cargo).
Curb weight for the ICE is 1964 kg, for the hybrid it is 2242 kg

* hybrid & update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f6d800a89e
2021-04-11 17:18:31 -07:00
Dean Lee 56d306c03b CameraBuf: avoid busy waiting on safe_queue (#20643)
* 20ms timeout

* Update camera_common.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e562a69a4d
2021-04-11 16:49:38 -07:00
Adeeb Shihadeh a2cd7bfdeb script for pushing to PRs
old-commit-hash: f98049a0ef
2021-04-11 16:31:04 -07:00
Adeeb Shihadeh 998ccacd70 more tici CI coverage (#20639)
* run onroad test in tici

* run in jenkins

* no /data/media

* doesn't exists there yet

* more updates

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01dc011f9f
2021-04-11 15:56:17 -07:00
speedking456 359bf548a5 Kia Seltos 2021 INDI Tuning + Increased Steer Limit (#20560)
old-commit-hash: 4dd4528787
2021-04-11 15:48:43 -07:00
Comma Device 7b818198f1 build all installers simulataneously
old-commit-hash: 242a8ba17a
2021-04-11 15:14:06 -07:00
Adeeb Shihadeh 6387e8da63 wait for all jenkins tests before pushing master-ci (#20462)
* test on devel build

* fix athena test

* onroad test

* more of a unit test

* use scons cache

* script

* wait for all tests before pushing

* undo that

* add to release files

* onroad

* copy test files
old-commit-hash: 1858c696f2
2021-04-11 15:05:14 -07:00
Anthony Foerster 179c15a0d3 2019 Acura RDX Tech fingerprint (#20656)
* 2019 RDX Tech fingerprint

* Updated README

* Fix ordering
old-commit-hash: 02ff5663b8
2021-04-11 14:31:04 -07:00
vanillagorillaa 36969d74ef 2021 Corolla Hybrid FW (#20650)
old-commit-hash: 337ac2b4c5
2021-04-10 22:25:00 -07:00
Greg Hogan 4935bde59c hyundai: update steer warning (#19628)
* update steer warning for hyundai

* hyundai: add CF_Mdps_ToiFlt to steerWarning
old-commit-hash: 71654f141b
2021-04-10 18:29:57 -07:00
Dean Lee 52d327f0ec Faster spinner, reduce cpu usage (#20618)
* Faster spinenr

* correct  path

* remove binary

* 30 fps

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8c3ec9dd31
2021-04-10 15:06:16 -07:00
Adeeb Shihadeh 89720ef6ce more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 58dabdda00
2021-04-10 14:53:51 -07:00
afoltz3 8c2bec03af Add carFw values to support 2020 Acura RDX Base (#20642)
* Add carFw values to support 2020 Acura RDX Base

* Update values.py

* Remove duplicate firmware versions

Removing 7 duplicate fw versions which caused unit tests Github Actions to fail.

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2f1e05f46b
2021-04-10 13:54:44 -07:00
Chris McCammon d420cca921 updated readme for community supported cars (#20628)
* updated readme text for community supported cars

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c16ccc704
2021-04-10 13:52:20 -07:00
HaraldSchafer a5fff75b5e Loosen ecamera calib checks (#20629)
* relax thresholds for widecamera

* cleaner
old-commit-hash: c92f171866
2021-04-09 20:38:09 -07:00
Adeeb Shihadeh bedee16223 let GPU sleep while offroad (#20640)
* better script

* let adreno sleep

* remove

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 32d317239a
2021-04-09 17:27:35 -07:00
Willem Melching 2d6d92402a Ubloxd cleanup (#20637)
* clean out locationd/test

* get rid of ubloxd_main

* remove ubloxd_test.cc

* less includes
old-commit-hash: 4dd4b12140
2021-04-09 18:01:24 +02:00
Willem Melching 51e12611ce use put_bool to set Passive
old-commit-hash: 2967e79296
2021-04-09 17:56:50 +02:00
Willem Melching 85916f61e8 Params: new class FileLock (#20636)
* new class LockFile

* lock->try_lock

* rebase master

* close if fd_ >=0

* rename try_lock to lock

* keep tryring if flock() return EINTR

* throw exception on error

* keep trying if open() gets interrupted by a signal

* close fd_ before throw flock exception

* add macro HANDLE_EINTR

* HANDLE_EINTR for open & write

* add errno in exception

* add destructor

* don't throw exception,log err and return

* Revert "don't throw exception,log err and return"

This reverts commit 6e1ba4a1bd82de3d4d07db5238a82184fd2ec9b4.

* add lock file name in exception

* cleanup  exception text

* use lock_guard in function put

* anonymous namespace

* use do-while(0) instead of goto

* cleanup read_db_all

* cleanup FileLock

* remove fchmod 0666 for apks

* Revert "remove fchmod 0666 for apks"

This reverts commit b389c31762417c4465d73be2453efcf7bc693aee.

* log instead of runtime error

* keep libs

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 74aa6e29c9
2021-04-09 16:35:44 +02:00
Willem Melching d5f1ac798a agnos 0.13 (#20635)
* agnos 0.13

* update launch env
old-commit-hash: 9790c6d0b6
2021-04-09 15:49:14 +02:00
Willem Melching 8e09250c38 filter_log_message use qlogs
old-commit-hash: 11de9df3a1
2021-04-09 14:06:47 +02:00
Willem Melching 811746959e tici: move real-time processes to high-performance cores (#20634)
old-commit-hash: 8ede1b30aa
2021-04-09 13:41:43 +02:00
Richi 0cf4fcb35c Hyundai Ioniq 2019 EV FW versions (#20633)
* Update values.py

add fingerprint Hyundai Ioniq Facelift 2019 BEV (EV)

* Replace \000 with \x00

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e283f065b9
2021-04-09 10:41:18 +02:00
Willem Melching 80b4e6ce09 plannerd: use get_bool to read param
old-commit-hash: 44c395165b
2021-04-09 10:32:31 +02:00