Commit Graph

3361 Commits (1adf34f033bc1efb592383ebb2dbaef909bac60b)

Author SHA1 Message Date
Adeeb Shihadeh 1adf34f033
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>
2021-04-14 12:04:02 -07:00
Chris McCammon 529cf08015
Kia Sorento 2019 confirmed working 2021-04-14 11:55:24 -07:00
Willem Melching e7b4e4f7ea
rotate Sentry API keys (#20681) 2021-04-14 17:23:37 +02:00
Willem Melching eacacb8fba
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
2021-04-14 16:17:30 +02:00
Willem Melching 343fea2bf9
Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
2021-04-14 11:25:43 +02:00
Adeeb Shihadeh 9ddb12a69e hyundai: fix CAN error for Santa Fe's without BSM 2021-04-13 20:04:34 -07:00
Chris McCammon 65567a5f3d
Rogue 2020 confirmed working 2021-04-13 15:31:27 -07:00
Dean Lee f0a1a6e4d6
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>
2021-04-13 15:26:24 -07:00
Adeeb Shihadeh 3956adc6df script to dump events from route 2021-04-13 15:08:45 -07:00
robbederks 6a824d7651
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>
2021-04-13 15:08:00 -07:00
Adeeb Shihadeh d90136c1d0 ate sets failbit on some platforms 2021-04-13 14:40:40 -07:00
Comma Device 6f21993915 fix reading procfs files 2021-04-13 13:56:08 -07:00
iejMac 928fbecec0
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
2021-04-13 13:42:13 -07:00
Dean Lee fe2f63849a
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
2021-04-13 11:43:43 -07:00
Dean Lee eb4666b38f
util.h: remove unused macro ALIGN (#20673) 2021-04-13 10:42:36 +02:00
Adeeb Shihadeh 9edda6fbc1
tici: offline big cluster while offroad (#20668)
* tici: offline big cluster while offroad

* shuffling

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

* clFinish

* blank line

* rebase master

* use event
2021-04-12 22:42:53 -07:00
Erich Moraga d5b0c1503b
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
2021-04-12 20:42:26 -07:00
Adeeb Shihadeh f308430c11 hyundai: remove Niro EV from BSM list, not on all trims 2021-04-12 17:07:18 -07:00
iejMac e6d210d526
ui update_sockets refactor (#20625)
* separate updates

* update

* no if

* no return

* fix
2021-04-12 16:08:38 -07:00
Adeeb Shihadeh 11cc0b52ce
Raw upload toggle (#20665)
* upload toggle

* better description

* icons
2021-04-12 14:05:43 -07:00
Adeeb Shihadeh aab822a352
Revert "hide set speed for stock long (#20585)" (#20666)
This reverts commit e4d7ee3716.
2021-04-12 13:34:44 -07:00
rgmane bbc06d1dd2
Added FPv2 for 2016 VW Golf (#20663) 2021-04-12 10:50:22 -07:00
Willem Melching 29f5248049 bump opendbc 2021-04-12 18:49:33 +02:00
Dean Lee cf80675369
Use std::size for element counts (#20654) 2021-04-12 12:22:22 +02:00
Adeeb Shihadeh b0bd123445
tici power saving (#20644)
* start power saving

* set power save in thermald

Co-authored-by: Comma Device <device@comma.ai>
2021-04-12 01:40:58 -07:00
Adeeb Shihadeh 4e06665f55 fix master-ci typo 2021-04-11 20:29:46 -07:00
Adeeb Shihadeh 4e03e37381 Revert "CameraBuf: avoid busy waiting on safe_queue (#20643)"
This reverts commit e562a69a4d.
2021-04-11 17:56:38 -07:00
mahlzeit1948 f6d800a89e
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>
2021-04-11 17:18:31 -07:00
Dean Lee e562a69a4d
CameraBuf: avoid busy waiting on safe_queue (#20643)
* 20ms timeout

* Update camera_common.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-11 16:49:38 -07:00
Adeeb Shihadeh f98049a0ef script for pushing to PRs 2021-04-11 16:31:04 -07:00
Adeeb Shihadeh 01dc011f9f
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>
2021-04-11 15:56:17 -07:00
speedking456 4dd4528787
Kia Seltos 2021 INDI Tuning + Increased Steer Limit (#20560) 2021-04-11 15:48:43 -07:00
Comma Device 242a8ba17a build all installers simulataneously 2021-04-11 15:14:06 -07:00
Adeeb Shihadeh 1858c696f2
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
2021-04-11 15:05:14 -07:00
Anthony Foerster 02ff5663b8
2019 Acura RDX Tech fingerprint (#20656)
* 2019 RDX Tech fingerprint

* Updated README

* Fix ordering
2021-04-11 14:31:04 -07:00
vanillagorillaa 337ac2b4c5
2021 Corolla Hybrid FW (#20650) 2021-04-10 22:25:00 -07:00
Greg Hogan 71654f141b
hyundai: update steer warning (#19628)
* update steer warning for hyundai

* hyundai: add CF_Mdps_ToiFlt to steerWarning
2021-04-10 18:29:57 -07:00
Dean Lee 8c3ec9dd31
Faster spinner, reduce cpu usage (#20618)
* Faster spinenr

* correct  path

* remove binary

* 30 fps

Co-authored-by: Comma Device <device@comma.ai>
2021-04-10 15:06:16 -07:00
Adeeb Shihadeh 58dabdda00
more apk cleanup (#20646)
* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-04-10 14:53:51 -07:00
afoltz3 2f1e05f46b
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>
2021-04-10 13:54:44 -07:00
Chris McCammon 8c16ccc704
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>
2021-04-10 13:52:20 -07:00
HaraldSchafer c92f171866
Loosen ecamera calib checks (#20629)
* relax thresholds for widecamera

* cleaner
2021-04-09 20:38:09 -07:00
Adeeb Shihadeh 32d317239a
let GPU sleep while offroad (#20640)
* better script

* let adreno sleep

* remove

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

* get rid of ubloxd_main

* remove ubloxd_test.cc

* less includes
2021-04-09 18:01:24 +02:00
Willem Melching 2967e79296 use put_bool to set Passive 2021-04-09 17:56:50 +02:00
Willem Melching 74aa6e29c9
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>
2021-04-09 16:35:44 +02:00
Willem Melching 9790c6d0b6
agnos 0.13 (#20635)
* agnos 0.13

* update launch env
2021-04-09 15:49:14 +02:00
Willem Melching 11de9df3a1 filter_log_message use qlogs 2021-04-09 14:06:47 +02:00
Willem Melching 8ede1b30aa
tici: move real-time processes to high-performance cores (#20634) 2021-04-09 13:41:43 +02:00