Commit Graph

2031 Commits

Author SHA1 Message Date
VirtuallyChris a3be981fbd Nissan harnesses for sale
old-commit-hash: 1c802e20013db3f7fb1a92811ee69b4e0a84f8d0
2020-08-11 13:42:03 -07:00
Dean Lee a81c4ebd79 camerad: protect concurrent access to shared variables and avoid race conditions (#1966)
* Protect concurrent access for shared resources

* fix
old-commit-hash: f3fb406eee85b072c727ccaf027bd2dacd3aa69a
2020-08-11 11:40:11 -07:00
Erich Moraga c8676c69e3 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.
old-commit-hash: 8c9378af794c49e1e1958863b5b0feef10dd771d
2020-08-11 11:29:19 -07:00
Adeeb Shihadeh 072f8bd84d 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
old-commit-hash: 1f4714ba9807e3b641154d06479c6ee76b684242
2020-08-10 21:52:26 -07:00
VirtuallyChris b96bb265ef Fix Genesis G70 in readme
old-commit-hash: c2a6ae6e540e2783ff17034a5cf8f62e5d275ebb
2020-08-10 13:50:14 -07:00
VirtuallyChris d8e160dd53 Fix Readme
old-commit-hash: c2405a47b0fcc6f9eabbd7d26c019ebe6ce831f1
2020-08-10 13:47:13 -07:00
martinl 6a000279ad 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
old-commit-hash: c9adc4900b2e26d0582cb264da2e547a513de831
2020-08-10 12:31:40 -07:00
ZwX1616 5382cfacad update dm new model description
old-commit-hash: ed470453cf9dab18a084ce33acacec76499d3dae
2020-08-10 11:58:33 -07:00
Willem Melching c420eb0cf0 bump panda
old-commit-hash: cb064293a1ac6252583646324f6066f3a6dc50da
2020-08-10 12:08:14 +02:00
Adeeb Shihadeh 355e4a40a6 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
old-commit-hash: c450110f961173302bec7873b81939f01d5ad1ac
2020-08-10 00:44:24 -07:00
Adeeb Shihadeh 3e1132ae81 can't do nested html comments
old-commit-hash: d6288c1bb9796cb19571d1bc035d9a7d6014c559
2020-08-09 15:17:44 -07:00
Adeeb Shihadeh 861fd2c933 default pull request template
old-commit-hash: 5bd20dbe38376aad697a155707a187ac693f59f2
2020-08-09 15:06:47 -07:00
xx979xx 705dfc1c5b fix for PC: detach panda kernel driver if active (#1950)
old-commit-hash: 4f0c75291b9c56b9eb219cbe74025c6897635d85
2020-08-09 01:08:09 -07:00
Adeeb Shihadeh 1ea8e10240 add genesis g70 to release notes
old-commit-hash: 424205325b239af3b6b3e25804ce53158146ace8
2020-08-08 22:36:26 -07:00
xps-genesis 83ae9ef377 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>
old-commit-hash: a16a948f9ee434c69a72f8aac39405a14ba62073
2020-08-08 22:20:25 -07:00
Adeeb Shihadeh 37f8ca00aa 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
old-commit-hash: ecf0a8c8d49dddb18767d929d381f5bbf946c5d8
2020-08-08 20:59:32 -07:00
Dean Lee 066398a49a camerad: close ops_sock in camera_close (#1998)
old-commit-hash: 55ece6991e1fdeb4b109e47c978c4da2a3b23594
2020-08-08 15:55:09 -07:00
Dean Lee 735f84089c fix bug that visionstream_destroy may be called twice (#1999)
old-commit-hash: cccb63229d9b6d953bfa62b57327d345403c85b2
2020-08-08 15:50:36 -07:00
Adeeb Shihadeh 755c21f05c update_ci_routes.py: upload route by arg
old-commit-hash: cea8b9e67a34d39716f4be1e8be64e7aa8fca306
2020-08-08 14:30:31 -07:00
Adeeb Shihadeh 944759717e fix missing negative limit in pid controller (#2001)
old-commit-hash: ee99b59bade8d3b5057a5b3f22ad8b3edd102c78
2020-08-08 11:49:13 -07:00
Adeeb Shihadeh c4ce441026 Remove non-SCC Hyundai Kona port (#1997)
old-commit-hash: 5e82578a1b66a1e13753d2258f32950aece48942
2020-08-08 11:48:16 -07:00
Harald Schafer 4afa7dfe59 tf 2.2.
old-commit-hash: 270880c70548f6979be7d97108bf19ae56724235
2020-08-08 11:17:41 -07:00
Adeeb Shihadeh d6e2ae8447 bump panda
old-commit-hash: c1482bebc05c44c79f8d8c0b4ee937777de338cc
2020-08-08 11:11:58 -07:00
VirtuallyChris 26d2248f85 Add 2020 Accord
Confirmed working by users on Discord
old-commit-hash: 4170fcdc1c848efca03b047652f458e9d8426c41
2020-08-07 14:06:42 -07:00
Adeeb Shihadeh 4cb22dcc80 only check offroad in dmonitoringd on init
old-commit-hash: 31f57cb3a3b865ddc3f57be056ad302639ec61ba
2020-08-07 10:48:03 -07:00
martinl 0aeae7d81e 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>
old-commit-hash: e37b8e5d5632a7cc48326f7ca162ef87f259e526
2020-08-06 21:55:13 -07:00
Adeeb Shihadeh 3dccc7fc2e 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
old-commit-hash: fe18a014c7845b5e81738b0be716d256aeb00d78
2020-08-06 21:49:05 -07:00
VirtuallyChris 1ef178279f Add Camry 2020 camera fw
old-commit-hash: 0fd763f90256a7b1fce389bd69aff47e37e394a2
2020-08-06 16:39:06 -07:00
Dean Lee 0d76ecc156 release opencl objects (#1978)
old-commit-hash: fb41b984b0ed48da7c1c5d5687fd7485f66259e4
2020-08-06 15:44:26 -07:00
HaraldSchafer 388274d494 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>
old-commit-hash: d097abeb2130fc841571b14551eeea2acaa12296
2020-08-06 14:47:17 -07:00
HaraldSchafer e85d1f0044 persist falling until message sent (#1982)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 85a7ceaf079ed6c8cb804403f33706a386ca9b51
2020-08-06 14:46:19 -07:00
Adeeb Shihadeh fd1078a548 second segment is ok for car unit tests
old-commit-hash: c8f5281c4d18ee68dbc5d194374bad7cd1a8a4ef
2020-08-06 14:34:42 -07:00
Adeeb Shihadeh a301462f9b remove dead lines from calibrationd
old-commit-hash: df78c9d4dfe9cc5ed1409b46b1b11611ed5a721a
2020-08-06 13:57:01 -07:00
Adeeb Shihadeh 214c6f7e99 Scripts for containerized CARLA (#1987)
* run carla in container

* launch script

* fix launch script

* update carla
old-commit-hash: 6d645b4ce9445e7aa9ef95b3c453eb811e7ca015
2020-08-06 13:26:25 -07:00
Adeeb Shihadeh a93f0b069a fix counter mismatch in sim
old-commit-hash: 20162f7a4a1d1054e816a67735b3a2cebf5498b9
2020-08-06 13:23:20 -07:00
Adeeb Shihadeh 792b74f543 Improve update reliability and responsiveness (#1986)
* handle orphaned git lock

* trigger update after going offroad

* git ping
old-commit-hash: a115366dddc076bb186219d33a7565712465b226
2020-08-06 12:49:11 -07:00
Adeeb Shihadeh e3ca219aed add CI dependency for new tests
old-commit-hash: 9a8c43ac4a03c88ccb18aa9f3b7fcdfcab29539f
2020-08-06 00:08:46 -07:00
Adeeb Shihadeh ff65bef323 Setup PC testing in Jenkins (#1984)
* build openpilot docker container in jenkins

* use cache

* run all stages in parallel

* move device tests

* wrap in stages

* it's docker

* doesn't work, but jenkins should cache the image

* steps

* disable phone tests for now

* we're root

* enable everything

* clean up our mess

* skip checkout

* need a plugin for that

* remove that

* parallel

* Revert "parallel"

This reverts commit e3e5af9dc9db692d1b5552012d62393a5b8520dd.

* this is ugly

* Revert "this is ugly"

This reverts commit e83995935294584e264a8fcb3d08bcf7d9305434.
old-commit-hash: 90d5383354365f58415cc5e99e92c4010394832c
2020-08-05 20:21:04 -07:00
Harald Schafer 3705a2209f wrong units
old-commit-hash: 687afa9687c347fe1473d9d6ae3e2e3634b682df
2020-08-05 13:45:58 -07:00
Dean Lee f49c319d14 camerad: cache rgb_roi_buf&conv_result (#1979)
lgtm
old-commit-hash: c1e7b761a9dab798f5a678cf8317bae9e3b50d69
2020-08-05 13:39:03 -07:00
Adeeb Shihadeh b5fa861871 Cleanup updated (#1981)
* remove dead code from updated

* no short

* simpler

* simplify that

* move that into the class

* little more
old-commit-hash: f61dcb6e12447de7a84b547230b748b59b7424a4
2020-08-05 13:29:03 -07:00
Harald Schafer daf9176711 Revert "persist falling test"
This reverts commit 273f745ad5d1ce7e92ce24e8fa3b08895977dd5c.

old-commit-hash: 7032a40717f46675697f0ba049956a3e1788e6f6
2020-08-05 10:46:26 -07:00
Harald Schafer d252db9da9 persist falling test
old-commit-hash: 8cad9375d336ca5276f673296d0e64ff14efe0de
2020-08-05 10:44:40 -07:00
Dean Lee 1bc3801c9b Make sure memory is released by using unique_ptr (#1958)
old-commit-hash: ef435ef2ac14dd7f842d4f59909330ba57f6d177
2020-08-05 12:27:56 +02:00
Harald Schafer a6b31a2ec6 makes more sense
old-commit-hash: e704da0c28546fd9fc8ee53ea19793880d042059
2020-08-04 15:30:20 -07:00
Adeeb Shihadeh 0b64a13bc9 improve updated responsiveness (#1973)
old-commit-hash: 88c67e7e9f73ea5a0114b63598fd489a1e834a84
2020-08-04 13:48:19 -07:00
Cruise Brantley 7996e51de3 Add Kia Stinger transmission FW version (#1975)
* new Stinger transmission fingerprint

* Formatting
old-commit-hash: 85fc85b3c8e20d6b970e88774f84ac415c19f1ea
2020-08-04 13:05:13 -07:00
Dean Lee d4f99896e3 remove selfdrive/common/visionstream.c (#1931)
old-commit-hash: 681ff41261eddc0962c9346e8aa7a019e293d691
2020-08-03 17:04:47 -07:00
HaraldSchafer 122118ccd4 add fall filter and less FP on posenet (#1971)
* add fall filter and less FP on posenet

* add alert

* list

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 490ee5268712c38f738161cab939c02573581ebf
2020-08-03 15:51:56 -07:00
Adeeb Shihadeh f8e08fad90 Cleanup locationd msg building (#1972)
* cleanup locationd msg building

* remove that
old-commit-hash: 1208ac424d06e03da9f83fc1fa1824df7e32f80d
2020-08-03 14:58:15 -07:00