Commit Graph

1486 Commits

Author SHA1 Message Date
Adeeb Shihadeh
5641aeee7a increase CPU test timeout to allow for installing new APKs 2020-08-13 15:10:00 -07:00
Adeeb Shihadeh
09e7d17acf bump panda 2020-08-13 15:02:17 -07:00
Willem Melching
502cc665e0 Pigeon abstraction layer (#1977)
* pigeon abstraction layer

* Fix string literals

* more generic pigeon class

* add TTYpigon

* nicer tty error handling

* close tty fd on pigeon delete

* pigeon receive return std::string

* use sizeof

* max receive size to prevent infinite loop

* remove namespace

* add unistd include for usleep

* fix is pigeon

* Handle tty error in opening

* fix printing binary strings with dump.py

* fix pigeon build on macos

* Handle errors seperately

Co-authored-by: Comma Device <device@comma.ai>
2020-08-13 10:10:50 +02:00
Adeeb Shihadeh
9bc0b350fd add launch_env.sh to release files 2020-08-12 17:34:15 -07:00
Adeeb Shihadeh
cf5ed9e962 add date to release notes 2020-08-12 14:13:47 -07:00
Adeeb Shihadeh
0394b8b921 fix get_git_remote not returning a value 2020-08-12 13:50:51 -07:00
Adeeb Shihadeh
100f2958fc add missing agent for jenkins job 2020-08-12 12:47:32 -07:00
Adeeb Shihadeh
5993055d66 add background download to release notes 2020-08-12 12:09:12 -07:00
Adeeb Shihadeh
cb5a2996e7 NEOS background updater (#1892) 2020-08-12 11:39:21 -07:00
Willem Melching
e909fddac0 Force battery temperature to 0 on comma two 2020-08-12 16:36:17 +02:00
Willem Melching
c3a4558026 Don't check dirty on prebuilt release (#2014)
* dont check dirty on prebuilt release

* cleanup

* Command cleanup

* Only log dirty comma branch

* Less whitespace

* Consistentcy

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-12 11:38:38 +02:00
Comma Device
a228c4d0a0 fix boardd build 2020-08-12 09:02:13 +00:00
Adeeb Shihadeh
60e2267f02 fix linter 2020-08-11 20:37:51 -07:00
xps-genesis
5663c116ed update optima fingerprint and Fw Fp (#2017)
* update optima fingerprint and Fw Fp

* Update values.py

* fix indent

* not ignored

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-11 18:57:16 -07:00
Adeeb Shihadeh
335aa31895 update total scons nodes 2020-08-11 16:24:53 -07:00
Adeeb Shihadeh
8e63f06540 Alert when updated consistently fails (#2013)
* alert when update fails more than 10 times

* bring over offroad alert refactor from other branch

* and we have tests

* use it in snapshot

* bump apk

* don't show exceptions on release branches

* only write when changed

* why does delete use so much cpu

* clean that up

* little more
2020-08-11 16:23:57 -07:00
Adeeb Shihadeh
d946638fce add kona to release notes 2020-08-11 13:45:04 -07:00
Adeeb Shihadeh
f3adedacb2 increase controlsd CPU test threshold 2020-08-11 13:43:19 -07:00
xps-genesis
a3d754a8d8 Car Port: 2020 Hyundai Kona (#2010)
* update KONA car port

* update Kona  Car Port

* ignore kona EV

* add Kona route

* update readme for Hyundia Kona

* remove electric for regular Kona
2020-08-11 13:42:19 -07:00
VirtuallyChris
1c802e2001 Nissan harnesses for sale 2020-08-11 13:42:03 -07:00
Dean Lee
f3fb406eee camerad: protect concurrent access to shared variables and avoid race conditions (#1966)
* Protect concurrent access for shared resources

* fix
2020-08-11 11:40:11 -07:00
Erich Moraga
8c9378af79 Added additional IS 300 engine f/w (#2015)
@Asochgelt#1815 DongleID|route 3da61f28d4ece0e8|2020-08-11--09-25-48

Also expanded the firmware layout to make additional f/w entries easier.
2020-08-11 11:29:19 -07:00
Adeeb Shihadeh
1f4714ba98 Test standalone binary builds in CI (#2008)
* test updater, spinner, and text window build in CI

* we dont ship the libs for updater in release branches
2020-08-10 21:52:26 -07:00
VirtuallyChris
c2a6ae6e54 Fix Genesis G70 in readme 2020-08-10 13:50:14 -07:00
VirtuallyChris
c2405a47b0 Fix Readme 2020-08-10 13:47:13 -07:00
martinl
c9adc4900b Add preglobal Subaru Forester and Outback (#1993)
* Add preglobal Forester and Outback

* Tests and values cleanup

* Update units in carstate

* Remove ()

* Add OUTBACK_PREGLOBAL_2018 to non_tested_cars

* Add replay route for OUTBACK_PREGLOBAL_2018
2020-08-10 12:31:40 -07:00
ZwX1616
ed470453cf update dm new model description 2020-08-10 11:58:33 -07:00
Willem Melching
cb064293a1 bump panda 2020-08-10 12:08:14 +02:00
Adeeb Shihadeh
c450110f96 Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
2020-08-10 00:44:24 -07:00
Adeeb Shihadeh
d6288c1bb9 can't do nested html comments 2020-08-09 15:17:44 -07:00
Adeeb Shihadeh
5bd20dbe38 default pull request template 2020-08-09 15:06:47 -07:00
xx979xx
4f0c75291b fix for PC: detach panda kernel driver if active (#1950) 2020-08-09 01:08:09 -07:00
Adeeb Shihadeh
424205325b add genesis g70 to release notes 2020-08-08 22:36:26 -07:00
xps-genesis
a16a948f9e Car Port: Hyundai Genesis G70 2018 (#2000)
* Car port Genesis G70

* Car port G70

* rebase

* update G70 car port

* Update README.md

* no space

* rebase mistake

* Update values.py

* Update values.py

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-08 22:20:25 -07:00
Adeeb Shihadeh
ecf0a8c8d4 Improve CPU usage test reliability (#2002)
* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent
2020-08-08 20:59:32 -07:00
Dean Lee
55ece6991e camerad: close ops_sock in camera_close (#1998) 2020-08-08 15:55:09 -07:00
Dean Lee
cccb63229d fix bug that visionstream_destroy may be called twice (#1999) 2020-08-08 15:50:36 -07:00
Adeeb Shihadeh
cea8b9e67a update_ci_routes.py: upload route by arg 2020-08-08 14:30:31 -07:00
Adeeb Shihadeh
ee99b59bad fix missing negative limit in pid controller (#2001) 2020-08-08 11:49:13 -07:00
Adeeb Shihadeh
5e82578a1b Remove non-SCC Hyundai Kona port (#1997) 2020-08-08 11:48:16 -07:00
Harald Schafer
270880c705 tf 2.2. 2020-08-08 11:17:41 -07:00
Adeeb Shihadeh
c1482bebc0 bump panda 2020-08-08 11:11:58 -07:00
VirtuallyChris
4170fcdc1c Add 2020 Accord
Confirmed working by users on Discord
2020-08-07 14:06:42 -07:00
Adeeb Shihadeh
31f57cb3a3 only check offroad in dmonitoringd on init 2020-08-07 10:48:03 -07:00
martinl
e37b8e5d56 Subaru pre-global: add support for Subaru Legacy 2015-18 (#1805)
* Add support for Subaru Legacy 2015-18

* syntax fix

* Add Legacy 2018 FPv1

* Add Subaru Ascent from upstream

* Use GLOBAL_CAR and LEGACY_CAR lists

* Change LEGACY_2015 to LEGACY_PREGLOBAL

* Add LEGACY_CAR to carstate

* Change LEGACY_2015 to LEGACY_PREGLOBAL in test_car_models

* Add missing SafetyModel to Ascent

* Use GLOBAL_CAR and LEGACY_CAR to set safetyModel

* Change LEGACY_CAR to PREGLOBAL_CARS, remove GLOBAL_CAR

* Fix PREGLOBAL_CARS in carstate and subarucan

* Minor cleanups

* Add accelCruise button event

* Change Preglobal Driver Torque limit to match Global

* Match comments to upstream

* Use Steer_Warning and Steer_Error_1 only for Global

* Change mph units to match upstream values

* Increase Preglobal brakePressed  threshold to 2

* Add DashcamOnly to LEGACY_PREGLOBAL

* Fix typo in variable name

* Update README, add create_preglobal_steering_control

* cleanup carcontroller

* cleanup values

* missed that one

* Update STEER_STEP

* Update STEER_MAX

* Add preglobal signal frequency checks

* remove PREGLOBAL_CARS from subarucan

* Remove whitespace

* Use common frequency checks

* cleanup carstate

* cleanup subarucan

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-06 21:55:13 -07:00
Adeeb Shihadeh
fe18a014c7 Updater tests (#1974)
* refactor exit handling

* test update

* more reliable?

* better

* init git in CI

* testy tester

* CI should work

* test overlay reinit

* only one

* still need to fix loop test

* more patience

* more patience in CI

* no ping in CI

* this is cleaner

* need to run these in jenkins

* clean up

* run in jenkins

* fix test file path

* it's a git repo now

* no commit

* reinit

* remove duplicate

* why not git

* la

* git status

* pythonpath

* fix

* no CI fro now

* check overlay consistent

* more tests

* make more changes in the update commit

* sample

* no k
2020-08-06 21:49:05 -07:00
VirtuallyChris
0fd763f902 Add Camry 2020 camera fw 2020-08-06 16:39:06 -07:00
Dean Lee
fb41b984b0 release opencl objects (#1978) 2020-08-06 15:44:26 -07:00
HaraldSchafer
d097abeb21 Track calib spread (#1988)
* add calib spread metric

* add field

* needs to be array

* update refs

* log valid blocks too

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-06 14:47:17 -07:00
HaraldSchafer
85a7ceaf07 persist falling until message sent (#1982)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-06 14:46:19 -07:00