Commit graph

1439 commits

Author SHA1 Message Date
Harald Schafer bae7816999 stable calib 2020-03-04 18:44:33 -08:00
Harald Schafer a8f2dbe727 unstable init 2020-03-04 18:20:10 -08:00
rbiasini a984da1f9c
removing ipas steering control option from toyota (#1193)
* removing ipas steering control from toyota
2020-03-04 10:42:36 -08:00
Willem Melching 4695b2daa9 default values in version.py, fixes #1187 2020-03-03 15:21:34 -08:00
Chris Souers 7d764b409c
Restrict CIVIC_BOSCH_DIESEL to FW fingerprinting (#1189) 2020-03-03 14:09:18 -08:00
Willem Melching c0b8f4faed Remove Camry fingerprints from Rav4 list 2020-03-03 12:09:28 -08:00
Willem Melching 3d2696c60b
Track CPU usage in CI (#1168)
* run openpilot for 60 seconds and report cpu

* Not passive

* Set training version

* Write cpuset

* Add community toggle

* Formatting

* Refactor

* Reorder processes

* Add max cpu

* Try this

* Try this to exit

* Does this work?

* This should work

* now it should work again
2020-03-02 10:40:47 -08:00
Andrew Chan 5e9daf2471
Adding error checking to only use the cached fp if they're valid (#1182) 2020-03-02 09:04:49 -08:00
pjlao307 4557ee62e7
Add missing FW for 2019 Civic EX (#1181)
* Add missing FW for 2019 Civic EX

* Move to correct list (bosch civic)
2020-02-29 14:38:44 -08:00
George Hotz 9d8d7ade3e
Simulator running with keyboard (#1176)
* sim with keyboard

* write calibration

* need recv

* use readchar

* doesn't accelerate

* queue, not zmq

* fix line wrap

* fix physics

* add BLOCK to manager
2020-02-29 10:51:39 -08:00
Comma User 2716e37b28 no thermal on pc 2020-02-28 20:27:41 -08:00
chonggang xu 750ed97f4f
add the ECU.transmission fw version for Honda Odyssey 2020 NAV&RES (#1169) 2020-02-27 23:15:14 -08:00
theantihero c8c4708f21
Add 2019 Honda Insight (#1166)
* add 2019 Honda Insight + fw fp

* add actual fp and add to ignored, but still required for ECU detection

* add Insight dirty route for now

* update README.md, was wrong mph for each

* update test_car_models

* remove dbc extension
2020-02-27 14:56:36 -08:00
Willem Melching a1a7c2b437 fix update_ci_routes.py 2020-02-27 13:18:39 -08:00
Willem Melching 6eca88e9bc ignore IGNORED_FINGERPRINTS in fingerprint test 2020-02-27 13:14:59 -08:00
rbiasini e90d0e832d
Add brake press disengagement in Chrysler (#1163)
* Add brake press disengagement in Chrysler
2020-02-27 10:14:21 -08:00
Willem Melching 61706ce3a0 fix update refs 2020-02-26 16:44:53 -08:00
Willem Melching c9ecab2139
Kalman filter to identify vehicle parameters (#1123)
* full vehicle model simulator

* Add vehicle model

* Model compiles

* Close enough

* Simulation works

* Add fast angle offset

* Tune fast angle offset learner

* Create live service for paramsd

* Better clamping

* Fix rotation matrix

* Cleanup before merge

* move debug script to debug/internal

* revert plannerd change

* switch vehicle model to corolla

* fix valid flag

* Bigger stiffness range

* Lower process noise on steer ratio

* Tuning

* Decimation

* No maha tests
2020-02-26 16:19:02 -08:00
Willem Melching 63b52b60cb Add more LEXUS_ESH_TSS2 FW versions 2020-02-26 11:40:26 -08:00
Adeeb 796d5c8cca
Process replay enhancements (#1153)
* process replay: exclude processes and cars
2020-02-26 11:31:27 -08:00
Willem Melching d7a4bb3853 Add Camry fingerprint versions 2020-02-26 11:28:04 -08:00
Willem Melching d9921e5c12 added LEXUS_ESH_TSS2 firmware versions 2020-02-26 11:23:27 -08:00
Willem Melching a475b1269d Add missing fingerprint values for Pacifica 2020-02-25 10:59:16 -08:00
rbiasini 7f390b3875
simplify chrysler checksum (#1158)
* simplify obscure chrysler crc function

* update submodules
2020-02-24 17:04:13 -08:00
Willem Melching 149d079aaf Add Chrysler Pacifica Hybrid fingerprint 2020-02-24 13:51:06 -08:00
Willem Melching 348bd15345 Add log when starting VIN query 2020-02-24 13:40:18 -08:00
ZwX1616 9563f77302
revert AF for master (#1159) 2020-02-24 13:36:27 -08:00
Willem Melching 449d7a2efa Don't use cache if mock 2020-02-24 13:34:33 -08:00
Willem Melching 8546cbce58 Add Corolla TSS2 hybrid firmware version 2020-02-24 13:09:57 -08:00
Willem Melching a71f5823fa add argparser to test_fw_query script 2020-02-24 10:53:42 -08:00
rbiasini a817d1c1e7
Hyundai: fix gas and gasPressed signals (#1152)
* Hyundai: fix gas and gasPressed signals

* upd panda

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-02-22 20:46:27 -08:00
Willem Melching 0f50a60105 Add RAV4H_TSS2 fw versions 2020-02-22 11:54:27 -08:00
rbiasini 9685a5a743
Abstract gasPressed for all cars (#1151)
* min_steer_speed alert (with adjusted hysteresis) for all cars, abstracted gas pre_enable event

* move lines a bit

* more GM cleanup

* typo

* move espDisabled to carState packet

* brought back min steer speed alert only in hyundai. It's a bit tricky and behavior should be changed

* ops, wrong change

* bug

* update cereal

* update ref
2020-02-21 18:24:37 -08:00
Willem Melching c9e13c2b5d Fix linter 2020-02-21 15:54:29 -08:00
Willem Melching 891c4cabb8 more generic catch in uploader and thermald 2020-02-21 15:02:24 -08:00
Willem Melching 3f25826326 Label Civic Bosch Diesel ECU names 2020-02-21 11:04:46 -08:00
Chris Souers ba6f555ede
Add support for 2019 Civic Sedan 1.6L Diesel with CVT (#1091)
add car

Update test_car_models.py

Update test_car_models.py

add firmware

Update README.md

Update test_car_models.py
2020-02-21 11:03:10 -08:00
Chris Souers fd6301f82b
Add new FW for 2017 Civic Hatchback 1.5L under the 18-137 TSB (#1145) 2020-02-20 17:13:49 -08:00
Willem Melching 399e5730cc Add Accord FW version 2020-02-20 17:12:49 -08:00
jpancotti 1dea855708
classify ecus (#1092) 2020-02-20 17:07:21 -08:00
Willem Melching e93649882c Bump version to 0.7.4 2020-02-20 16:24:48 -08:00
Willem Melching fdbe289e71
Add HONDA.ACCORDH to test_car_models (#1143)
Co-authored-by: Arne Schwarck <arneschwarck@gmail.com>
2020-02-20 16:23:29 -08:00
Willem Melching 85e8bb90d4
Merge 2019 and 2020 Chrysler Pacifica Hybrid (#1142)
* Merge 2019 and 2020 Chrysler Pacifica Hybrid

* fix carcontroller
2020-02-20 16:23:10 -08:00
Adeeb e8cb6ea06a
Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref
2020-02-20 16:22:25 -08:00
Willem Melching 049f2d0e1b Don't add 2.7 m to lead distance in ui. The reference frame shifted a while ago. 2020-02-20 14:29:09 -08:00
Arne Schwarck 175243af40
Draw leadTwo chevron in ui (#1133)
* Add leadTwo

* Add leadTwo

* Draw leadTwo car indicator

* Reuse leaddatad

* refactor draw_lead

No idea if this is the correct syntax

* Python is too good to us

Add ;

* Only show if more than 3m apart

* Delete unused scene
2020-02-20 14:27:11 -08:00
rbiasini af39d74a5b
Abstract std params (#1138)
* get_can_parser and get_cam_can_parser are now standard static methods
2020-02-20 14:06:02 -08:00
ZwX1616 435a36cdff
AF: improve general responsiveness (#1137)
* sync control with readout; always assume worst

* faster recover
2020-02-20 13:41:28 -08:00
Harald Schafer 5f34f17c9e cutin not correctly parsed 2020-02-20 13:28:23 -08:00
rbiasini dc3ea9b08d
get_can_parser and get_cam_can_parser are now standard static methods (#1136) 2020-02-20 13:08:43 -08:00
Willem Melching 5bf81617bd Add VW to process replay test 2020-02-20 11:46:57 -08:00
Adeeb 13f60eae91
Abstract CarInterface init (#1131)
* abstract CarInterface init

* unused

* subaru

* gm cleanup

* vw

* typo

* carcontroller

* more cleanup

* fix vw
2020-02-19 20:37:07 -08:00
Greg Hogan 57c44e3705
WIP: Honda Steering Improvements (#983)
* move honda steer params to CarParams

* use breakpoints/values from firmware

* remove comment

* civic fw mod max included deadzone

* civic bosch needs to be separate

* script to measure steering accuracy

* civic tuning

* update cr-v values

* cleanup

* averaging over 10 samples was silly

* update stock civic and cr-v tuning

* remove comment

* update replay expected results
2020-02-19 13:28:01 -08:00
Comma Device 042415b021 actually fix benchmark script 2020-02-19 02:27:31 +00:00
Comma Device a8f5562081 fix snpe_benchmark script 2020-02-19 02:13:46 +00:00
rbiasini 0c67143c92
Carstate returns capnp struct (#1115)
* Before abstraction, adding speed init from VW as well

* strting to abstract carstate class

* fix bug and update lock?

* revert pipfile change

* another bug

* fix linter

* bug fix

* remove a bunch of diplicated kf code

* better to not have class vars. will abstract __init__ anyway later

* abstract common instance vars in carstate init and a generic gear parser static method

* abstract gear parser for chrysler

* abstract gm gear parser too

* remove unnecessary random vars

* Chrysler: carstate returns capnp struct directly

* revert ref commit

* test ref

* WIP

* more WIP

* ops, missed this conflict

* ford as well

* not sure why this got deleted

* no need to copy

* remove copy

* remove copy import

* remove unnecessary intermediate variable

* remove obsolete comments

* GM: have carstate returning capnp struct directly

* Honda carstate also outputing capnp struct

* hyundai too now returns capnp from carstate

* ops, not meant this

* Subaru carstate also returning capnp

* Toyota: capnp struct as output of carstate

* fix bool

* minor simplififcation in Honda

* no need to negate

* VW carstate returning capnp struct (#1118)

* VW carstate also returning capnp struct

* fixed typo

* Remove unused blinker button (#1119)

* remove unused blinker button

* ops, this wasn't meant

* remove blinker button for VW as well

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-02-18 15:28:15 -08:00
George Hotz 858c992bda
Disable Power Down option for desk devices (#1117)
* './params.py DisablePowerDown 1' to use

* fix issues
2020-02-18 11:48:04 -08:00
Willem Melching ff91c6f9d4
Run locationd online (#1089)
* add locationd to manager

* add to release files and make linter happy

* Don't ship all models

* Also add locationd.py

* Remove unused import

* Fix import in kalman helpers
2020-02-17 18:07:23 -08:00
Willem Melching dfad0b173f Revert "Run locationd"
This reverts commit 03dbafb105.
2020-02-17 17:28:02 -08:00
Willem Melching 03dbafb105 Run locationd 2020-02-17 17:19:43 -08:00
HaraldSchafer 8ba5ef3209
Update README.md 2020-02-17 17:10:24 -08:00
Willem Melching d7acd8b68f Bump version.h 2020-02-17 16:27:41 -08:00
Willem Melching 5721e4cd9e Update scons nodes 2020-02-17 16:26:19 -08:00
rbiasini bfa79153b4
Ford: have carstate update returning capnp struct directly (#1113)
* Before abstraction, adding speed init from VW as well

* strting to abstract carstate class

* fix bug and update lock?

* revert pipfile change

* another bug

* fix linter

* bug fix

* remove a bunch of diplicated kf code

* better to not have class vars. will abstract __init__ anyway later

* abstract common instance vars in carstate init and a generic gear parser static method

* abstract gear parser for chrysler

* abstract gm gear parser too

* remove unnecessary random vars

* Chrysler: carstate returns capnp struct directly

* revert ref commit

* test ref

* WIP

* more WIP

* ops, missed this conflict

* ford as well

* not sure why this got deleted

* no need to copy

* remove copy

* remove copy import

* remove unnecessary intermediate variable

* remove obsolete comments

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-02-17 14:42:41 -08:00
Willem Melching 807361bdc2 Batch of FW versions 2020-02-17 14:37:56 -08:00
ZwX1616 bba7fbb490
no random factors 2020-02-17 13:52:47 -08:00
rbiasini 703eb511da
Chrysler: carstate returns capnp struct directly (#1110)
* Before abstraction, adding speed init from VW as well

* strting to abstract carstate class

* fix bug and update lock?

* revert pipfile change

* another bug

* fix linter

* bug fix

* remove a bunch of diplicated kf code

* better to not have class vars. will abstract __init__ anyway later

* abstract common instance vars in carstate init and a generic gear parser static method

* abstract gear parser for chrysler

* abstract gm gear parser too

* remove unnecessary random vars

* Chrysler: carstate returns capnp struct directly

* revert ref commit

* test ref

* ops, missed this conflict

* not sure why this got deleted

* no need to copy

* remove copy import

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-02-17 13:35:51 -08:00
ZwX1616 57b2864370
AF only trust high confidence & high coverage 2020-02-17 12:41:20 -08:00
rbiasini 5c52be27ca
abstract kf and gear parser as static methods (#1103)
* Before abstraction, adding speed init from VW as well

* strting to abstract carstate class

* fix bug and update lock?

* revert pipfile change

* another bug

* fix linter

* bug fix

* remove a bunch of diplicated kf code

* better to not have class vars. will abstract __init__ anyway later

* Abstract gear parser static method (#1107)

* abstract common instance vars in carstate init and a generic gear parser static method

* update opendbc (#1105)

* abstract gear parser for chrysler

* update opendbc (#1106)

* abstract gm gear parser too

* remove unnecessary random vars
2020-02-17 11:53:53 -08:00
Willem Melching 5469b313c2 Update network every 10 seconds 2020-02-17 10:38:39 -08:00
Adeeb 2cc0eb1ca0
update network type less frequently (#1108) 2020-02-17 10:37:38 -08:00
rbiasini 8a90671029
Before abstraction, adding speed init from VW as well (#1101) 2020-02-14 22:04:59 -08:00
Willem Melching 909efef6af
Fix waiting for unkillable process. Fixes #1087 (#1099)
* Fix waiting for unkillable process. Fixes #1087

* Add bugfix to release notes

* Don't pass in exitcode
2020-02-14 17:31:27 -08:00
Willem Melching 6cea2bdab0 Add FW versions for HONDA.CIVIC_BOSCH 2020-02-14 15:58:16 -08:00
Willem Melching f719c9a657
remove duplicate addresses from firmware query. Fixes #1088 (#1100)
* remove duplicate addresses from firmware query

* Update release notes
2020-02-14 15:51:56 -08:00
Willem Melching cd2c1d7937 Add SIENNA FW versions 2020-02-14 15:50:39 -08:00
Willem Melching f26f085a36 Add fingerprint for 2019 Chrysler Pacifica Hybrid 2020-02-14 15:35:39 -08:00
Andrew Valish 45718d9294
Add LaneChangeEnabled param and settings toggle (#1093)
* add LaneChangeEnabled param and settings toggle

* Read lane change toggle in pathplanner.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-02-14 15:24:59 -08:00
Willem Melching 2f33e1e0b0 Fix qlog decimation 2020-02-14 13:51:24 -08:00
Kishan Karunaratne 89eebd79fb
Generalize GM lateral PID tuning values, so each model can override (#1094) 2020-02-14 10:49:08 -08:00
Willem Melching e2253b072e fix fingerprint test 2020-02-13 16:53:41 -08:00
Willem Melching 4bbac7633e Add missing lexus ES fingerprint values 2020-02-13 16:42:08 -08:00
George Hotz c4d89699d9 Fix bugged exception in lst_sq_computer. 2020-02-13 16:35:29 -08:00
Willem Melching 86674c9497 Revert "add locationd to manager"
This reverts commit 28a7481f25.
2020-02-13 16:26:01 -08:00
George Hotz d86c7b7d15 build lst_sq_computer 4 and 5 2020-02-13 16:13:14 -08:00
Willem Melching 28a7481f25 add locationd to manager 2020-02-13 16:05:04 -08:00
Comma Device 76b3dca208 more decimation 2020-02-13 23:54:45 +00:00
Willem Melching 3fef70f0d5 add mem flag to live cpu and temp script 2020-02-13 15:07:03 -08:00
Willem Melching 1d97eb70fc Add RAV4_TSS2 engine FW 2020-02-13 14:46:26 -08:00
Willem Melching a2a44f4e4b Add CHR FW versions 2020-02-13 14:39:33 -08:00
Harald Schafer 4470407729 better packet info 2020-02-13 11:12:16 -08:00
Harald Schafer 891d6cea94 fix std 2020-02-13 08:38:50 -08:00
Harald Schafer f72044327b passes tests again 2020-02-12 20:28:02 -08:00
Harald Schafer 8257c60f71 misc cleanup 2020-02-12 15:27:13 -08:00
Willem Melching 1716f0b11b Whitespace 2020-02-12 14:32:53 -08:00
Harald Schafer 5c005adc79 fix broken compilation 2020-02-12 14:26:35 -08:00
Willem Melching 7015a4704e Gnss kf whitespace 2020-02-12 14:11:50 -08:00
Willem Melching 965a9ae042 Loc kf whitespace, fix phone accelerometer covariance 2020-02-12 14:08:40 -08:00
Harald Schafer 2b5a8fd7af no magic numbers 2020-02-12 14:05:48 -08:00
Willem Melching 1de5d84a06 Live kf whitespace cleanup, fix covariance phone accel 2020-02-12 13:47:08 -08:00
Harald Schafer 6823971a11 bury scipy 2020-02-12 13:15:57 -08:00
Harald Schafer a8261c8017 bury scipy for now 2020-02-12 13:13:17 -08:00
Willem Melching 9e6e1cba56
Fingerprint rav4 hybrid tss2 only using firmware versions (#1084)
* fingerprint rav4 hybrid tsss only using firmware

* remove print statement
2020-02-12 12:59:38 -08:00
wocsor 42a67b7eaf
Add support for Toyota smartDSU interceptor as community feature (#1082)
* smartDsu and change DSU detection to AEB

* update interface.py

* fix typo and add  back newline
2020-02-12 12:18:29 -08:00
Harald Schafer 579a9714da no delay buffer for now 2020-02-12 10:31:15 -08:00
Willem Melching e5f2ac6ffa 5 segments is plenty to get fingerprint 2020-02-12 09:56:53 -08:00
Willem Melching 47fd50ca60
Kalman filter compilation cleanup (#1080)
* start cleanup

* create generated dir if not exist

* tests pass!

* everything works again

* also convert live_kf to new structure

* Remove sympy helpers from file list

* Add laika to docker container

* Only build models that are present
2020-02-12 09:40:28 -08:00
Patipat Susumpow 576317ad10
Add support for Lexus NX 300h 2018 (#1077)
* Add support for Lexus NX 300h 2018

* Add Lexus NX 300h 2018 to README.md

* Fix a misplaced value CAR.LEXUS_NXH in the values.py
2020-02-11 19:27:17 -08:00
Willem Melching 960b42c523
Re enable athenad test (#1058)
* Renable athena test

* debug

* Revert "debug"

This reverts commit 30f68055f8.

* Specify correct pythonpath for tests

Co-authored-by: Andy <andyh2@me.com>
2020-02-11 19:26:34 -08:00
IppSec b883e31bfe
Add firmware information for Civic 2019 Hatchback (#1079) 2020-02-11 19:25:49 -08:00
HaraldSchafer 5e675bd563
Update README.md 2020-02-11 19:19:42 -08:00
HaraldSchafer 8df126cd65
rough readme draft
First pass at readme
2020-02-11 19:19:25 -08:00
Harald Schafer 871d5b3c99 IMPORTANT CHECK 2020-02-11 17:41:02 -08:00
Harald Schafer 980ef2a930 fixes! 2020-02-11 17:39:08 -08:00
Willem Melching 8d4dda391c loc_local is dead 2020-02-11 15:37:40 -08:00
Willem Melching a5bd1d2a88
Only show update alert if updater failed once since reboot (#1078)
* Only show update alert if updater failed

* no negetive days in warning message

* Also increase failed count when no internet

* Only set count to zero on actual update

* First run always fails because IsOffroad is not set yet
2020-02-11 14:59:37 -08:00
ZwX1616 4ee214376a limit c2 fan to 5k rpm 2020-02-11 14:03:40 -08:00
Willem Melching a492cc610b Add engine FW version for Camry Hybrid 2020-02-11 13:33:17 -08:00
Willem Melching aea4bee60e Add Corolla Hybrid TSS2 eps firmware version 2020-02-11 11:42:50 -08:00
che220 4ea7294607
2020 Toyota Highlander (TSS2) (#1065)
* added 2020 highlander (TSS2)

* add HIGHLANDER_TSS2 test into routes

* reduce HIGHLANDER_TSS2 weight to 4700 from 4900

* add highlander 2020 limited to the list of supported cars
2020-02-11 11:06:50 -08:00
Harald Schafer 45dea449c5 ignore 2020-02-11 10:29:49 -08:00
Harald Schafer 1a1f1182d7 more fixes 2020-02-10 19:53:43 -08:00
Willem Melching 31794a3d10
WIP: Live localizer (#1074)
* cleanup

* Proper exception handling

* Also check sensor number
2020-02-10 19:06:23 -08:00
Willem Melching de6d73599b Also keep 10% free so 64gb/128gb EON will still engage when full 2020-02-10 18:35:10 -08:00
Willem Melching 64a2d0c3e9 remove old locationd stuff 2020-02-10 16:20:43 -08:00
Harald Schafer 59728ebca6 fix imports 2020-02-10 15:38:17 -08:00
ZwX1616 08042ab649
fix not focusing when all readings broken (#1072) 2020-02-10 15:28:35 -08:00
Harald Schafer dcb14dd830 get ready for live localizer 2020-02-10 15:28:23 -08:00
Arne Schwarck 85f7064ca6
TARGET_IDS not used since 0.5 (#1071)
The function to send these values has been removed long ago and no other function is using them.
So it is time to remove them.
2020-02-10 11:19:20 -08:00
andrewcopenpilot 4b12aca941 GM: Resume Required Alert should be triggered off of ECM state (#1045)
* Resume Required Alert should be triggered off of ECM state

On GM cars the ECM goes into cruise state 4 (standstill) and in order
for the ECM to accept cruise inputs, the resume button must be pressed
to drive it to state 1 (active).

Previously rather than testing for if the ECM was in state 4, the wheel
speed sensors were checked that the vehicle was going less than 0.5 m/s.

In some cases this could cause the resume required alert to be displayed
before the car actually came to a stop as far as the ECM was concerned.
If the alert is triggered before state 4 and OP demands acceleration,
its possible for OP to acelerate while the Resume Required Alert is
displayed created a very confusing UX.

* After more review, the problem was actually with the 'if at_full_stop' check was inside an else statement preventing entering the stopped mode if braking is 0
2020-02-08 13:32:01 -08:00
Arne Schwarck e6a5a3c277 German Prius FP (#1064) 2020-02-08 13:29:53 -08:00
Harald Schafer 4212b7f91c live kalman 2020-02-07 16:53:50 -08:00
ZwX1616 8321cf283a
fix not resetting on interaction (#1061) 2020-02-07 16:43:36 -08:00
ZwX1616 2b97ff70b5
Focusss (#1059) 2020-02-07 13:30:45 -08:00
Greg Hogan dabe9d71ab exclude dcamera files from ci routes 2020-02-06 14:26:48 -08:00
Willem Melching 59bd58c940 Remove unused path offset learner 2020-02-06 13:48:56 -08:00
Willem Melching 105b95ffd7 Cancel lane change on blinker off 2020-02-06 13:48:20 -08:00
Willem Melching fdabd57e7e Add extra engine FW for Corolla LE 2020-02-06 11:22:38 -08:00
Willem Melching 719e0572e1 Fix fw_versions.py --scan 2020-02-06 10:58:18 -08:00
Adeeb 0ad5715255
use services.h in loggerd (#1056)
* loggerd: use services.h

* don't need yaml-cpp anymore

* forgot that
2020-02-06 10:56:01 -08:00
Adeeb 30dffb486a
test car models: fix random hanging (#1055)
* debug print

* unlogger doesn't need fcamera.hevc

* only need the rlog

* tiemout for log downloading

* try again after timeout
2020-02-06 10:53:59 -08:00
robbederks d0c1f9a864
Added hw status to ublox test scripts and ubloxGnss packet (#1054)
* Added hw status to ublox test scripts and ubloxGnss packet

* Added extra config to boardd

* Implemented new ublox message handler in ubloxd

* Fixed debug text

* Added some explanation and cereal bump
2020-02-05 11:12:03 -08:00
George Hotz c50c718293
Cleanup simulator and add usage instructions (#1050)
* cleanup simulator files

* minor updates

* update readme

* keras runner builds

* hmm, still doesn't work

* keras runner works

* should work with python3 keras mod

* touchups
2020-02-04 19:46:57 -08:00
Andy Haden 47f4396d7d Replace 'EON' in offroad alerts 2020-02-03 16:09:08 -08:00
Willem Melching c770f54103 Fix dirty files reporting 2020-02-03 15:12:59 -08:00
Harald Schafer fe250d6a9e make it converge within 1min 2020-02-03 13:24:33 -08:00
Willem Melching 64feca5692 Fix bias state number in paramsd too 2020-02-03 12:47:04 -08:00
Harald Schafer 1db7b43870 fix 2020-02-03 12:45:12 -08:00
Andy Haden 9b1f2d5c64 manager: verify daemon process cmdline 2020-02-03 12:27:13 -08:00
Willem Melching a53577ed35 Remove unused states from locationd yawrate kalman filer 2020-02-03 12:23:41 -08:00
Willem Melching 98f5d30455 Handle get_network_type exception 2020-02-03 11:29:05 -08:00
HaraldSchafer f610e596c4
Multipath supercombo (#1036)
* exclude stuff outside of validity window

* 94dd2da7-23ae-4628-9d12-37f58b379110/10

* fbe443fd-1d65-4b4d-8e3a-3817b58bacd0/50

* sanity clip
2020-02-03 11:25:22 -08:00
Willem Melching 7c94b36171 Add some more firmware fingerprints 2020-02-03 11:24:25 -08:00
illumiN8i 39c9c85562
2020 Lexus RX 350 (#1046)
* Lexus RX 2020

* Update test_car_models.py
2020-02-03 10:12:13 -08:00
illumiN8i 831cb68a64
Added Central Europe Prime (#1047)
Co-authored-by: ErichMoraga <33645296+ErichMoraga@users.noreply.github.com>
2020-02-03 09:18:04 -08:00
Drew Hintz 5aff2b6885
support for Chrysler Pacifica 2020 Hybrid (#1021)
* support for Chrysler Pacifica 2020 Hybrid
Thanks to Benson in Discord.
Example segment: 8190c7275a24557b|2020-01-29--08-33-58--7

* Add relevant route to selfdrive/test/test_car_models.py

* fix segment test name
2020-02-03 09:17:45 -08:00
George Hotz 811b3b7a9a
Fix ui on mac (#1044)
* remove line_shader dead code

* fix glfwCreateWindow

* don't assert on ipc socket failure

* window now appears on mac
2020-02-02 22:19:26 -08:00
George Hotz c42e2ecc50
manager runs on Mac, and other openpilot for PC fixes (#1037)
* use the openpilot/persist directory on PC

* manager runs on mac

* sim runs w/o carla

* fix params location in test

* that rmtree can fail and it's okay

* refactor params clear functionality

* set PARAMS_PATH
2020-02-02 12:15:02 -08:00
cfranhonda 0470b25071
FP 2019 Civic Hatchback EX (#1040)
* add 2019 Civic Hatchback EX

@dvburke4 For support with Black Panda comma power. Fp taken from [1]

* missing ] oops
2020-02-02 11:23:27 -08:00
George Hotz f72f78f2b9
Support scons build on Mac (#1034)
* fix clock and add Darwin sconstruct

* it builds, this changes should be simplifications too

* fix boardd build

* that's the real type of EGLClientBuffer

* remove extra lines

* ui needs opencl on phone
2020-02-01 23:36:50 -08:00
Willem Melching df6fa7acbd move fw query debug script 2020-02-01 18:53:43 -08:00
Adeeb d4c3c7f6f8
test_car_models: fail if a model has no routes (#1029) 2020-02-01 18:41:25 -08:00
illumiN8i a7efc8a897
2020 Toyota Prius Prime LE (#1032) 2020-02-01 18:41:00 -08:00
Willem Melching bfa2d030d2 Add batch of firmware versions 2020-02-01 13:06:05 -08:00
Andrew Valish 770903520d
Add network_type to thermald (#1030)
* add network_type to thermal log

* move get_network_type to android library
2020-02-01 12:11:10 -08:00
Arne Schwarck 75fdebb1ee
Add German RAV4H_TSS2 Lounge FP (#1031)
2f210c724fd9f73b|2020-01-31--14-12-53--0
2020-02-01 10:45:41 -08:00
ZwX1616 6322a275d6
dmonitoringd (#1016) 2020-01-30 19:12:44 -08:00
Willem Melching b7aeb5d64d
Cache FW query (#1025)
* split fw query and matching

* Read cached firmware versions

* add tests

* this works
2020-01-30 17:57:20 -08:00
Comma Device 58262bac9d use proper timeout on frontFrame to turn off IR leds 2020-01-30 15:52:27 -08:00
Willem Melching a75891f099 remove old README 2020-01-30 14:55:38 -08:00
Willem Melching a053244a5a log fingerprint source 2020-01-30 14:39:26 -08:00
Willem Melching 356f353489
FW fingerprint for Honda & Toyota (#961)
* add script to process logs

* Skip rav4 ESP

* Improve gathering script

* Update firmware versions for honda and toyota

* more firmware versions

* If FW query returns 1 candidate, use it

* Add FW versions

* Fix COROLLA_TSS2 two enigine addresses

* uncomment rav4h tss2

* add progress bar to test script

* Batch with more ecu versions
2020-01-30 14:32:26 -08:00
Willem Melching c9501cc164 Also show top 10 procs by RAM usage 2020-01-30 14:17:09 -08:00
Willem Melching 4dac1128f1 Only ignition_last is global 2020-01-30 13:53:19 -08:00
Willem Melching 3a65206c8d Disable IR leds when no ignition detected 2020-01-30 13:42:40 -08:00
illumiN8i 3ebb0bc46f
Lexus RX 2016-2017 (#1001)
fix dbc name

Add Lexus RX to test_car_models.py

correct route in Lexus RX test

Update test_car_models.py
2020-01-30 13:32:30 -08:00
Willem Melching a97ebc28b5 Fix ci routes sync script target path 2020-01-30 13:21:14 -08:00
Willem Melching 0319861700
Jenkins pipeline to create master-ci (#1019)
* Added Jenkinsfile

* Added Jenkinsfile

* Added Jenkinsfile

* change order

* sudo

* whoami?

* Added Jenkinsfile

* install git

* Untested build scripts

* Add lockable resource

* Fix syntax

* Only one stage

* fix target dir

* Use deploy key

* noqa on test_openpilot

* Fix version.h path

* Cleanup release files

* Add linter scripts to release

* Update jenkinsfile

* Fix path

* this should work

* Use python3 docker container

* Run in correct directory

* Setup /data/pythonpath

Co-authored-by: commaci-public <60409688+commaci-public@users.noreply.github.com>
2020-01-30 13:06:45 -08:00
Adeeb 44e97ead7b
process replay: fix output after timeout added (#1020)
* process replay: fix output after timeout added

* better error
2020-01-29 09:44:14 -08:00
Willem Melching 1de0b9c233 Fix version.py in case of no branch 2020-01-28 16:18:26 -08:00
Willem Melching b552a627e1 cleanup version.py 2020-01-28 15:55:24 -08:00
illumiN8i 277b187a29 Longer fingerprint for 2019 Camry XSE (#1002)
Adds additonal values to 2019 Camry XSE fingerprint to support discord user phantomarrowwolf's car
2020-01-28 10:55:18 -08:00
Willem Melching 393c4987c8 Fix junk data in initParams 2020-01-27 17:08:57 -08:00
Willem Melching 47492e77eb Subaru continuous blinker signals for assisted lane change (#1000) 2020-01-27 16:39:41 -08:00
Willem Melching fe9ccb27b1 Remember lane change direction when blinker turns off 2020-01-27 16:19:22 -08:00
Willem Melching 25f799bb8e Fix linter 2020-01-27 13:50:59 -08:00
Willem Melching 413a432b13 Speed up longitudinal tests and add retry 2020-01-27 12:35:43 -08:00
Willem Melching 2571453a54 Add script to nicely print logMessages 2020-01-27 11:47:41 -08:00
illumiN8i 0c06f15ea9 Fingerprint 2018 Highlander Limited Platinum (#1008)
from discord user Ryan R
2020-01-27 11:40:59 -08:00
Adeeb 361be2630f process replay: add timeout to prevent hanging when tested process crashes (#1007) 2020-01-25 18:45:51 -08:00
Harald Schafer a06bb77f6b use alpha 2 codes 2020-01-24 13:24:13 -08:00
Arne Schwarck 3c6ba22931 Add Country South Africa to list of RHD countries (#999) 2020-01-24 13:20:11 -08:00
Willem Melching 0c1d70ac92 Changing alert text changed the test ref 2020-01-23 17:13:09 -08:00
illumiN8i 21af1bad2b RAV4 Hybrid TSS2 Support (#962)
* merge wocsor RAV4_HYBRID_TSS2 branch

From wocsor's PR #740

cleanup fingerprint

2020 rav4 hybrid confirmed working

* 2019 RAV4 Hybrid Limited

Adds additional messages for Limited trim. XSE and XLE still contained within this longer Limited fingerprint.

* Support Swiss 2019 RAV4 Hybrid XLE

Adds 913:8 value from discord user RDuke

* Separated RAV4 ICE and Hybrid

* Add route to test_car_models.py

* Revert "Toyota Corolla Hatchback Hybrid 2019 Excite (Israel)"

This reverts commit f1d6f68625.
2020-01-23 16:48:01 -08:00
Willem Melching b9b90267c5 Limit comma two fan speed to 30% when car is not running 2020-01-23 16:41:29 -08:00
Willem Melching ba4bf07db2 EON -> Device 2020-01-23 16:38:10 -08:00
Willem Melching 09283f4d6a Fix CI sync script 2020-01-23 13:06:05 -08:00
Willem Melching 61c104b392 update test reference after calibrationd changes 2020-01-23 11:40:34 -08:00
mosh-een 53933ebf5b Update gps_helpers.py (#994) 2020-01-23 11:24:42 -08:00
Harald Schafer 48b4a57980 needs to be array 2020-01-23 11:08:05 -08:00
Harald Schafer ba6fd511b6 sanity clip every vp 2020-01-22 13:09:03 -08:00
Harald Schafer c32ebcb2c6 simplify and better 2020-01-21 16:37:22 -08:00
Willem Melching ec6e83ca2d Fix locationd_yawrate A matrix 2020-01-21 13:52:45 -08:00
ZwX1616 cf70368f67
replace numpy funs and shorten green prompt (#989) 2020-01-21 13:40:26 -08:00
Arne Schwarck 855abbd99e Subsock no longer exsists (#987)
* Subsock no longer exsists

use the new SubSocket as SubSock has been removed

* fix poller syntax

update to the new syntax and remove unused messaging library
2020-01-21 11:25:12 -08:00
Adeeb f13c5d74aa disable LDW when calibration is incomplete (#984) 2020-01-20 21:43:38 -08:00
illumiN8i 689d49f3f8 add 2017 Lexus RX 450h (#981)
fingerprint from discord user elihaddad
2020-01-20 13:38:40 -08:00
Adeeb 87f9e14e9c speed up car model test (#977) 2020-01-20 12:56:14 -08:00
Willem Melching f6835e9490 Add cloudlog for is_on_wifi fail 2020-01-20 11:25:16 -08:00
Willem Melching 6adbe24d4c catch CalledProcessError in uploader wifi check 2020-01-20 10:57:08 -08:00
illumiN8i 5560ef0521 Add 2019XSECAMRY fingerprint (#971)
From discord user 2019XSECAMRY

add comment
2020-01-19 10:43:44 -08:00
Willem Melching d9e054477b Panda signature needs to be bytes 2020-01-19 09:40:37 -08:00
cfranhonda a93375882a add 2017 Civic Hatchback LX fp (#966) 2020-01-19 00:24:50 -08:00
Adeeb dafdb79db2 Clean up ECU redundancy in selfdrive/car/* (#963)
* clean up ecu redundancy in selfdrive/car

* clean up gear parsing
2020-01-18 23:35:10 -08:00
Bar Harel f1d6f68625 Toyota Corolla Hatchback Hybrid 2019 Excite (Israel) 2020-01-18 15:28:12 -08:00
Willem Melching 65a40149d8 startup alert, handle case where param returns none 2020-01-17 21:30:14 -08:00
George Hotz c7bc8ee00f python 3 issue 2020-01-17 17:50:43 -08:00
George Hotz dcd0807d7e whitelist, don't blacklist 2020-01-17 17:46:17 -08:00
George Hotz 013166a34e add alert 2020-01-17 17:46:17 -08:00
George Hotz 6ceffe68d0 base SNPE path off home dir, still not really generic 2020-01-17 17:45:38 -08:00
George Hotz a3dde4e7fe ui was gitignored 2020-01-17 17:34:23 -08:00
ZwX1616 12f72fb8e2
Update test_monitoring.py 2020-01-17 14:15:08 -08:00
ZwX1616 2f19eed023
Update test_monitoring.py 2020-01-17 14:02:59 -08:00
ZwX1616 b013a00095
not to change awareness to np 2020-01-17 13:12:18 -08:00
George Hotz b0260dadba selfdrive/controls 2020-01-17 12:48:30 -08:00
George Hotz fcf8efb826 selfdrive/locationd 2020-01-17 11:39:56 -08:00
George Hotz f467642a1c selfdrive/debug 2020-01-17 11:23:21 -08:00
George Hotz da079d47d7 logcatd, loggerd, mapd, modeld, proclogd 2020-01-17 11:20:17 -08:00
George Hotz 5c9afcc785 selfdrive/sensord 2020-01-17 11:17:58 -08:00
George Hotz c0bfbc12c7 selfdrive/test 2020-01-17 11:16:14 -08:00
George Hotz aeb2fff068 selfdrive/ui 2020-01-17 11:05:23 -08:00
George Hotz 2f9379a139 selfdrive/*.py 2020-01-17 11:03:42 -08:00
George Hotz 368a956b96 selfdrive/common 2020-01-17 11:01:02 -08:00
George Hotz 71ead9adea selfdrive/car 2020-01-17 10:58:43 -08:00
George Hotz 978e0eb986 selfdrive/clocksd 2020-01-17 10:57:08 -08:00
George Hotz 341c0da987 selfdrive/athenad 2020-01-17 10:54:24 -08:00
George Hotz 84560ccd55 selfdrive/camerad 2020-01-17 10:52:42 -08:00
George Hotz ef93a715e1 selfdrive/boardd 2020-01-17 10:51:01 -08:00
George Hotz 41d99c3b70 selfdrive/assets 2020-01-17 10:47:43 -08:00