Commit Graph

246 Commits

Author SHA1 Message Date
Willem Melching 802b8de767 Revert dPoly computation to 0.6.3 behavior (#809)
* Revert dPoly computation to 0.6.3 behavior

* update test reference

old-commit-hash: 58f376002e0c654fbc2de127765fa297cf694a33
2019-09-13 17:01:54 -07:00
Willem Melching 4ba65fee99 Driver monitoring fix when face is visible briefly during nighttime (#806)
old-commit-hash: b0563a59684d0901f99abbb58ac1fbd729ded1f9
2019-09-10 17:35:40 -07:00
Vehicle Researcher dfe603c178 openpilot v0.6.4 release
old-commit-hash: 61229779e4a38431e934cabe700a93e120dfa468
2019-09-09 23:03:02 +00:00
heitikender 77dd050e99 Update values.py (#797)
changed Lexus ES DBC scheme to hybrid_tss2, since this is the correct one. Tested on car, works.
old-commit-hash: da42760e55aa017cc2f805db87726fe2c26dfddb
2019-09-04 13:38:52 -07:00
Ted Slesinski 24829da756 Adds 2018 Honda Fit support (#266)
* Fit rebased on latest devel

* Added new objects for fit to values.py

* Update readme

* Updated formatting of fingerprint to match others

* Update cargo variable

Co-Authored-By: Pramuditha Aravinda <pramudithaa@zone24x7.com>

* Added tire stiffness, renamed PID kp/ki variables

Co-Authored-By: Pramuditha Aravinda <pramudithaa@zone24x7.com>

* Renamed longitudinal KpBP

Co-Authored-By: Pramuditha Aravinda <pramudithaa@zone24x7.com>

* Renamed longitudinal kpV

Co-Authored-By: Pramuditha Aravinda <pramudithaa@zone24x7.com>

* Renamed longitudinal KiBP variable

Co-Authored-By: Pramuditha Aravinda <pramudithaa@zone24x7.com>

* Renamed longitudinal KiV

Co-Authored-By: Pramuditha Aravinda <pramudithaa@zone24x7.com>

* Set more realistic value for tire stiffness

* CR-V Hybrid doc duplicate

old-commit-hash: c73464f67f7eee5e20534a21571f42bfdd6af326
2019-08-27 15:19:25 -07:00
Vehicle Researcher 02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d80cdcc7f1b7748f2cf3ccbf94f82a3
2019-08-13 01:36:45 +00:00
Riccardo 9d667da4de Revert "Revert "Update hyundaican for Correct Message ID on LKAS11 (#746)" (#775)"
This reverts commit 44cee798055f165ab60001595b6ce6996cdd2259.

old-commit-hash: 095ef5f9f60fca1b269aabcc3cfd322b17b9e674
2019-08-01 12:44:41 -07:00
rbiasini fa0a2b4415 Revert "Update hyundaican for Correct Message ID on LKAS11 (#746)" (#775)
This reverts commit 3f80e3fe04671e6c4c1d4ee34eec2dab037f4487.
old-commit-hash: d5242c5b8274c443a88dc4a33e242808a08ff2af
2019-08-01 12:35:24 -07:00
TK211X 9ea5bba556 Update hyundaican for Correct Message ID on LKAS11 (#746)
This is the only trace of CF_Lkas_Icon found under /car/hyundai relative to open .dbc

https://github.com/commaai/opendbc/pull/172
old-commit-hash: 1f1893a1704c8925d781750b47144b57d9e97fea
2019-08-01 12:34:19 -07:00
Willem Melching 7609fa5d17 Fix timeout in longitudinal test (#772)
* Fix timeout in longitudinal test
old-commit-hash: 5808958fb2618d35dbe320472603392e2ea9a805
2019-07-31 18:17:19 -07:00
Vehicle Researcher 3835061760 openpilot v0.6.2 release
old-commit-hash: e90c41c576b4630f3039be671ad5f203a865f4c8
2019-07-30 02:27:48 +00:00
Gernby 68f9476e45 Remove offset from curvature (#761)
old-commit-hash: 61bbb521723e8922c4a6ae9e4137421633f919a8
2019-07-25 15:00:50 -07:00
Arne Schwarck 081aad79c9 self.poller not used (#759)
I do not see the need for zmq and the poller being initialized and not used.
old-commit-hash: cf5c4aeacb1703d0ffd35bdb5297d3494fee9a22
2019-07-24 11:45:53 -07:00
Vehicle Researcher 07aa8b1bf3 openpilot v0.6.1 release
old-commit-hash: 94053536b4bfa7a8c4760db99063093aae69374d
2019-07-22 19:17:47 +00:00
rbiasini 13482875a6 Use standard steer angle sensor in DSU-less pre-TSS2 Toyota. (#751)
old-commit-hash: 63da1abe2c33ab54d5a69a83e6f1c8f441a41bba
2019-07-20 23:21:50 -07:00
Riccardo 137f94b064 Improve Toyota Highlander tuning from https://github.com/commaai/openpilot/pull/690
old-commit-hash: 13bdfcdd9560a7e01ffa16813114d3889b110574
2019-07-12 19:24:35 -07:00
Gernby 911ed812b3 Fix lane centering with single lane line (#737)
old-commit-hash: 151a5045073843bee7c3a61ed4a3ee29ed19b1a9
2019-07-12 10:55:34 -07:00
eFini 6fe71c41c1 fix spacing in toyota/carstate.py (#736)
old-commit-hash: 03e764bcb35a5130b61c8eeda2bbc863b259b855
2019-07-11 21:22:02 -07:00
Nick Brown 4768452d5d 2019 Rav4 Limited AWD (#732)
* Fingerprint

* Merge Limited and XLE fingerprint because they're the same

old-commit-hash: 16eb74250c41d68869a7ab4c52716e58191311b6
2019-07-08 17:02:59 -07:00
dekerr ae1fbf70fa Refactor default Civic params (#720)
* move civic params out

* fix variable name

* simplify ford scaling

* cleanup

* remove import dependency

* requested changes

* keep hyundai

old-commit-hash: 4a48ef8dbc51ea2df02b1cf1b54fb514d8120c92
2019-07-08 16:59:32 -07:00
Willem Melching 0c421929ca Make build deterministic and do not rebuild on release2 (#729)
* sort dbc files to make linking deterministic

* touch all files on release2 checkout to prevent rebuild

old-commit-hash: 60a20537c5f3fcc7f11946d81aebc8f90c08c117
2019-07-03 12:25:35 -07:00
Riccardo 55233a943c Chrysler Pacifica 2018 Hybrid: fix fingerprint
old-commit-hash: be020bdedb231a6bcb5b51ead95eb634b5a13afc
2019-07-02 15:24:51 -07:00
Riccardo 257d290858 Chrysler Pacifica 2018 Hybrid: add fingerprint
old-commit-hash: 1e77f2482cb18fa12a47a41a17e8a9a086e76213
2019-07-02 11:45:24 -07:00
Vehicle Researcher 9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f33faf282b1918ebe2c37f06cef74e6
2019-06-28 21:11:30 +00:00
eFini 858537f68a Updating existing fingerprint to support both China 2017 & 2019 CRV-H (#689)
* Fingerprint works on both China 2017 & 2019 CRV-H

* update readme

old-commit-hash: 1ba6b0004d4a88e078eb4c9633a5987907a767b1
2019-06-25 14:15:38 -07:00
TrackZero 4c5c521978 Added fingerprint for 2019 Toyota Prius LE (#694)
* Adding fingerprint for 2019 Prius LE
old-commit-hash: 68b86c7ca84ab045d3e24a58d6dfd3d9e1d7d409
2019-06-25 14:04:39 -07:00
dekerr 442711d597 update vals (#705)
old-commit-hash: 36881b6410b87e5f898dbfe79d2236dd1cc8654e
2019-06-20 12:22:30 -07:00
Willem Melching f3eff67e81 Deterministic boardd build (#702)
old-commit-hash: fe7e5cf5df84257e4929516dd0f357488fd5524a
2019-06-17 15:23:03 -07:00
George Hotz 3c3ecc29d4 Merge pull request #679 from njbrown09/entunehotspot
Add Toyota Entune Wifi hotspot to hotspot check.
old-commit-hash: 16d0c4a3e7bf2551dca6ac5a415a30029cb8df17
2019-06-06 23:11:43 -07:00
Vehicle Researcher e47a2e6e30 openpilot v0.5.13 release
old-commit-hash: dd34ccfe288ebda8e2568cf550994ae890379f45
2019-06-06 04:38:45 +00:00
Nick Brown b6fa863d4a Camry Fingerprint (#647)
old-commit-hash: 1e8098c140d924adb70167a216837fbf61d85f29
2019-06-05 17:56:21 -07:00
CAmaninacan1 f23675eedd Update values.py (#687)
Added fingerprint for 2019 Highlander XLE
old-commit-hash: b5a88f5700b11f863230e7a8f3a9259c42eb93d3
2019-06-05 16:35:48 -07:00
Nick Brown f1e1b0a0ec Detect toyota connected car wifi as a hotspot and not a normal home wifi network.
old-commit-hash: c0a3e48d9413710db8d6181183117b8caf5c05f2
2019-06-02 00:18:00 -04:00
Willem Melching 15a37bd695 Revert "Fix registration's params get_git_remote()" (#674)
old-commit-hash: 7ada2abca0452dce5942888cbe0443dfa4b8a869
2019-05-31 17:32:43 -07:00
ChaseCares 1da8299e68 Add 2019 RAV4 XLE fingerprints (#671)
* Add 2019 RAV4 XLE fingerprints

old-commit-hash: 9278fad15c82ea88b8d9c36e423568b8b4531962
2019-05-31 16:47:07 -07:00
George Hotz 189cb36207 Merge pull request #673 from rafcabezas/devel
Fix registration's params get_git_remote()
old-commit-hash: 0aa41e348ea22775c825e5b30a9beadb5b69b36e
2019-05-31 16:44:08 -07:00
Willem Melching e895b1e17d Merge pull request #669 from martinl/feature_subaru_lane_lines
Add lane lines visible indicators to Subaru dash display
old-commit-hash: 64a6e9776ce8d82b8938176811db927267698d13
2019-05-31 14:06:34 -07:00
raf cee9824c9b Fix registration's params get_git_remote()
old-commit-hash: 56b2945de44183286f29d8106e525167fd3d2f83
2019-05-31 12:10:37 -04:00
Riccardo 19186767b6 Fingeprint script: better instructions
old-commit-hash: b686ca87d37c0b1af9d539bcae4256f74ac17fe6
2019-05-28 17:12:49 -07:00
Arne Schwarck 778f01dde8 Update mapd.py (#672)
old-commit-hash: 1b3b260b4d191745a5893abfd11b76a38e035e47
2019-05-28 16:16:32 -07:00
Martin Lillepuu cc656cbe5c Add subaru dash lane lines
old-commit-hash: 25d43fe15ead4714e54c7d7bdb30462a20c53f65
2019-05-26 11:13:39 +03:00
Martin Lillepuu 3caba35c87 add Openpilot lane line indicators to Subaru LKAS HUD
old-commit-hash: cbc73e55a21281200c032ced9295031b315fe53e
2019-05-26 11:08:17 +03:00
Vehicle Researcher 0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea886f1fa3b0c19a62a981d891dcc84eb
2019-05-16 13:20:29 -07:00
Arne Schwarck a58234b7bd 1263: 8 for highlander hybrid (#642)
old-commit-hash: 98797fb24ee750ba0c9d825f9cdff581bae92ba7
2019-05-14 00:26:16 -07:00
Willem Melching 11dc1912e7 Cleanup Toyota LDW
old-commit-hash: 1da59216b04969a05dafabf3015a96abead40cd8
2019-05-07 22:42:04 -07:00
Willem Melching 6d4c0f387d add minimum score to consider a way valid (#292)
old-commit-hash: a32183678860399347dc2e8faa13c94171c3e741
2019-05-06 13:21:34 -07:00
Arne Schwarck 1de23f3d10 Add lane departure warning on dashboard for Toyota (#605)
* Add lane departure alert in controlsd

* Need init values for LDA

* Add lane departure in interface.py

* Include LDA in CarControler

* Add logic for LDA in toyotacan

* Add speed condition and comments for LDA

* Correct right CS.vEgo

* Correct rPoly spelling

* Add left and rightLaneDepart to HUDControl in car.capnp

* Add left and rightLane_Depart in UI function

* set controlsd priority

* revert

* There must be a line to depart from

* Include changes from @pd0wm

* Remove redundant False allocation

leftLaneDepart and rightLaneDepart as False by default according to @pd0wm

* Modify variable names

right_lane_depart and left_lane_depart to conform with python naming convention

* Modify variable names

right_lane_depart and left_lane_depart to conform with python naming convention

* Wrap lane departure warning in one bool

old-commit-hash: f5044670fa7665bacab49d438e9631191312b833
2019-05-06 22:19:00 +02:00
marcbou 0a4a8f203b correct some spelling errors (#628)
old-commit-hash: d8b1e99d77ca1b440f3486f48f7e14a0cfeb9491
2019-05-05 03:23:32 -07:00
Riccardo 7df6dd4ccb Maintain Python 2-3 compatibility but use six.iteritems().
old-commit-hash: 2eebe499405ed72d17613f863e5eedc8c86950d8
2019-05-04 19:01:46 -07:00
Drew Hintz 3ad68e4378 getting ready for Python 3 (#619)
* tabs to spaces
python 2 to 3: https://portingguide.readthedocs.io/en/latest/syntax.html#tabs-and-spaces

* use the new except syntax
python 2 to 3: https://portingguide.readthedocs.io/en/latest/exceptions.html#the-new-except-syntax

* make relative imports absolute
python 2 to 3: https://portingguide.readthedocs.io/en/latest/imports.html#absolute-imports

* Queue renamed to queue in python 3
Use the six compatibility library to support both python 2 and 3: https://portingguide.readthedocs.io/en/latest/stdlib-reorg.html#renamed-modules

* replace dict.has_key() with in
python 2 to 3: https://portingguide.readthedocs.io/en/latest/dicts.html#removed-dict-has-key

* make dict views compatible with python 3
python 2 to 3: https://portingguide.readthedocs.io/en/latest/dicts.html#dict-views-and-iterators
Where needed, wrapping things that will be a view in python 3 with a list(). For example, if it's accessed with []
Python 3 has no iter*() methods, so just using the values() instead of itervalues() as long as it's not too performance intensive. Note that any minor performance hit of using a list instead of a view will go away when switching to python 3. If it is intensive, we could use the six version.

* Explicitly use truncating division
python 2 to 3: https://portingguide.readthedocs.io/en/latest/numbers.html#division
python 3 treats / as float division. When we want the result to be an integer, use //

* replace map() with list comprehension where a list result is needed.
In python 3, map() returns an iterator.
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-map-and-filter

* replace filter() with list comprehension
In python 3, filter() returns an interatoooooooooooor.
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-map-and-filter

* wrap zip() in list() where we need the result to be a list
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-zip

* clean out some lint
Removes these pylint warnings:
************* Module selfdrive.car.chrysler.chryslercan
W: 15, 0: Unnecessary semicolon (unnecessary-semicolon)
W: 16, 0: Unnecessary semicolon (unnecessary-semicolon)
W: 25, 0: Unnecessary semicolon (unnecessary-semicolon)
************* Module common.dbc
W:101, 0: Anomalous backslash in string: '\?'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
************* Module selfdrive.car.gm.interface
R:102, 6: Redefinition of ret.minEnableSpeed type from float to int (redefined-variable-type)
R:103, 6: Redefinition of ret.mass type from int to float (redefined-variable-type)
************* Module selfdrive.updated
R: 20, 6: Redefinition of r type from int to str (redefined-variable-type)

old-commit-hash: 9dae0bfac4e54ec2b2e488d2b4ead1495c8f56d8
2019-05-02 11:08:59 -07:00