Commit Graph

3923 Commits

Author SHA1 Message Date
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
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: f6d800a89eede879fbe5637ad4bde5c89327bcfc
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: e562a69a4d6e1669aebdc24386f170a5a27b5f95
2021-04-11 16:49:38 -07:00
Adeeb Shihadeh
a2cd7bfdeb script for pushing to PRs
old-commit-hash: f98049a0ef21a3196a5c0e520517bf8d799debe1
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: 01dc011f9f47d86804f74a0538c6d9a7e63ae24b
2021-04-11 15:56:17 -07:00
speedking456
359bf548a5 Kia Seltos 2021 INDI Tuning + Increased Steer Limit (#20560)
old-commit-hash: 4dd45287878b53789707cd306a8f79ee520ffc45
2021-04-11 15:48:43 -07:00
Comma Device
7b818198f1 build all installers simulataneously
old-commit-hash: 242a8ba17ab013abe5dc214c0bf6da674e539165
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: 1858c696f23a92083ff649f65da9965f08e8f683
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: 02ff5663b8df8eaef87af1ee50090b2f990ff9b6
2021-04-11 14:31:04 -07:00
vanillagorillaa
36969d74ef 2021 Corolla Hybrid FW (#20650)
old-commit-hash: 337ac2b4c50c0c30ca83f036fe08ce89bf6caae0
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: 71654f141bf0aa4042b584890911a86923a6efe6
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: 8c3ec9dd31b33efd1b7e58d9cfae2e80544e7610
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: 58dabdda00eae882b2290f7edd2d21dff81e3528
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: 2f1e05f46ba8cf47e9fca18bd867e5b3ffe571cc
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: 8c16ccc704dbded6747167462af572c310b9bff4
2021-04-10 13:52:20 -07:00
HaraldSchafer
a5fff75b5e Loosen ecamera calib checks (#20629)
* relax thresholds for widecamera

* cleaner
old-commit-hash: c92f171866dfe4f6c6cf8cdb900073f32c81b160
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: 32d317239a1804d6b8132b49d6de91646e111f63
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: 4dd4b1214061ebade872e7de73fce1800a9b74ca
2021-04-09 18:01:24 +02:00
Willem Melching
51e12611ce use put_bool to set Passive
old-commit-hash: 2967e7929663147a5a99ce00f5f40df99dc53b3d
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: 74aa6e29c992900db6956535a87259e77d9c51a1
2021-04-09 16:35:44 +02:00
Willem Melching
d5f1ac798a agnos 0.13 (#20635)
* agnos 0.13

* update launch env
old-commit-hash: 9790c6d0b6656a421d3796bfd1234237385a6fbd
2021-04-09 15:49:14 +02:00
Willem Melching
8e09250c38 filter_log_message use qlogs
old-commit-hash: 11de9df3a1ea08ae1b8344548a7b2c0fd0f3e894
2021-04-09 14:06:47 +02:00
Willem Melching
811746959e tici: move real-time processes to high-performance cores (#20634)
old-commit-hash: 8ede1b30aab2a4bfb628aef6a24714865388f1fa
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: e283f065b90b67f147b165968b2460d3a1bce6e1
2021-04-09 10:41:18 +02:00
Willem Melching
80b4e6ce09 plannerd: use get_bool to read param
old-commit-hash: 44c395165b750a80334077b387b5dc221789b2ad
2021-04-09 10:32:31 +02:00