Commit Graph

232 Commits

Author SHA1 Message Date
rbiasini 13482875a6 Use standard steer angle sensor in DSU-less pre-TSS2 Toyota. (#751)
old-commit-hash: 63da1abe2c
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: 13bdfcdd95
2019-07-12 19:24:35 -07:00
Gernby 911ed812b3 Fix lane centering with single lane line (#737)
old-commit-hash: 151a504507
2019-07-12 10:55:34 -07:00
eFini 6fe71c41c1 fix spacing in toyota/carstate.py (#736)
old-commit-hash: 03e764bcb3
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: 16eb74250c
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: 4a48ef8dbc
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: 60a20537c5
2019-07-03 12:25:35 -07:00
Riccardo 55233a943c Chrysler Pacifica 2018 Hybrid: fix fingerprint
old-commit-hash: be020bdedb
2019-07-02 15:24:51 -07:00
Riccardo 257d290858 Chrysler Pacifica 2018 Hybrid: add fingerprint
old-commit-hash: 1e77f2482c
2019-07-02 11:45:24 -07:00
Vehicle Researcher 9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f
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: 1ba6b0004d
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: 68b86c7ca8
2019-06-25 14:04:39 -07:00
dekerr 442711d597 update vals (#705)
old-commit-hash: 36881b6410
2019-06-20 12:22:30 -07:00
Willem Melching f3eff67e81 Deterministic boardd build (#702)
old-commit-hash: fe7e5cf5df
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: 16d0c4a3e7
2019-06-06 23:11:43 -07:00
Vehicle Researcher e47a2e6e30 openpilot v0.5.13 release
old-commit-hash: dd34ccfe28
2019-06-06 04:38:45 +00:00
Nick Brown b6fa863d4a Camry Fingerprint (#647)
old-commit-hash: 1e8098c140
2019-06-05 17:56:21 -07:00
CAmaninacan1 f23675eedd Update values.py (#687)
Added fingerprint for 2019 Highlander XLE
old-commit-hash: b5a88f5700
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: c0a3e48d94
2019-06-02 00:18:00 -04:00
Willem Melching 15a37bd695 Revert "Fix registration's params get_git_remote()" (#674)
old-commit-hash: 7ada2abca0
2019-05-31 17:32:43 -07:00
ChaseCares 1da8299e68 Add 2019 RAV4 XLE fingerprints (#671)
* Add 2019 RAV4 XLE fingerprints

old-commit-hash: 9278fad15c
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: 0aa41e348e
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: 64a6e9776c
2019-05-31 14:06:34 -07:00
raf cee9824c9b Fix registration's params get_git_remote()
old-commit-hash: 56b2945de4
2019-05-31 12:10:37 -04:00
Riccardo 19186767b6 Fingeprint script: better instructions
old-commit-hash: b686ca87d3
2019-05-28 17:12:49 -07:00
Arne Schwarck 778f01dde8 Update mapd.py (#672)
old-commit-hash: 1b3b260b4d
2019-05-28 16:16:32 -07:00
Martin Lillepuu cc656cbe5c Add subaru dash lane lines
old-commit-hash: 25d43fe15e
2019-05-26 11:13:39 +03:00
Martin Lillepuu 3caba35c87 add Openpilot lane line indicators to Subaru LKAS HUD
old-commit-hash: cbc73e55a2
2019-05-26 11:08:17 +03:00
Vehicle Researcher 0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea8
2019-05-16 13:20:29 -07:00
Arne Schwarck a58234b7bd 1263: 8 for highlander hybrid (#642)
old-commit-hash: 98797fb24e
2019-05-14 00:26:16 -07:00
Willem Melching 11dc1912e7 Cleanup Toyota LDW
old-commit-hash: 1da59216b0
2019-05-07 22:42:04 -07:00
Willem Melching 6d4c0f387d add minimum score to consider a way valid (#292)
old-commit-hash: a321836788
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: f5044670fa
2019-05-06 22:19:00 +02:00
marcbou 0a4a8f203b correct some spelling errors (#628)
old-commit-hash: d8b1e99d77
2019-05-05 03:23:32 -07:00
Riccardo 7df6dd4ccb Maintain Python 2-3 compatibility but use six.iteritems().
old-commit-hash: 2eebe49940
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: 9dae0bfac4
2019-05-02 11:08:59 -07:00
Vehicle Researcher 83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f9
2019-04-23 01:41:19 +00:00
Nigel Armstrong 042ef10fe5 Fix dirty flag
Git diff-index doesn't rebuild index, so files with modified dates or touched
are marked as modified with a SHA1 of all 0.

To fix this, we run update-index --refresh before diff index. Any touched
files are updated in the index.

https://stackoverflow.com/questions/36367190/git-diff-files-output-changes-after-git-status

old-commit-hash: 0a7fed9437
2019-04-17 00:33:13 -07:00
Nigel Armstrong 912d6aee39 Better logging of dirty files
old-commit-hash: a201322160
2019-04-16 20:22:38 -07:00
Nigel Armstrong 241d542eba Log dirty files
old-commit-hash: d64025cca4
2019-04-16 13:50:38 -07:00
wocsor 0469c872ec add pedal IDs to a Lexus RXH and Rav4 China (#604)
old-commit-hash: 58d645cd18
2019-04-15 18:10:13 -07:00
Nigel Armstrong 2f228d6f5a Add pylint to travis-ci (#595)
* Add pylint to travis-ci

* Change travis build order

* Fix missing pylint

* Add pylint to dockerfile

* Test with fixed linter for chrysler changes

* Fix linter issues in OP

* fixed linter on ford

* Fix Riccardo's comments

old-commit-hash: 76dfb135ca
2019-04-12 23:12:34 -07:00
eFini 0efda5770b Add port for 2019 Honda CRV Hybrid (China ver) (#596)
* 2019 honda crv hybrid port (china version)

* adjust mass based on spec

* update mass based on spec

* add 2019 Honda CRV Hybrid

old-commit-hash: 7978afabe5
2019-04-09 17:35:57 -07:00
eFini 4d8a08a828 Add Port for 2019 Honda Odyssey Exclusive (China version) (#592)
* Port for 2019 Honda Odyssey China ver

* update as per comments

old-commit-hash: e89fd1236f
2019-04-08 17:58:56 -07:00
Drew Hintz df649841fc 📋📷 2019 Chrysler Pacifica and 2019 Jeep Grand Cherokee support (#590)
* 2019 Chrysler Pacfica and 2019 Jeep Grand Cherokee support, along with likely support for arbitrary models.
This is done by copying most values from the stock LKAS camera which is active with https://github.com/commaai/panda/pull/177

* No longer send LKAS_HEARTBIT because Panda now forwards it for us.

* Pacifica Hybrid 2018 combine fingerprints, add 808: 8

* panda chrysler: forward bus 0 to bus 2
copy of Panda commit: https://github.com/commaai/panda/commit/104950264473274e0012a39b7ea2d1468ef46d8d

old-commit-hash: 1efa3f0eba
2019-04-04 22:48:37 -07:00
Gernby b460d2ae90 Eliminate unnecessary temporary disengagements (#584)
This status was defined as a bump error, but it isn't actually due to bumps.  It's also triggered by driver overrides that are somewhat higher than the "steer_override" threshold.  By removing this temporary disengagement, the car is much more predictable on bumpy roads AND in turns that require assistance from the driver.
old-commit-hash: ca2f30989d
2019-04-02 00:21:23 -07:00
Douglas Schilling Landgraf 2b09464b33 patches (#582)
* selfdrive: add sys module to exit call

exit() is a helper for interactive shell. Let's explicit
use the module sys.

* selfdrive: tomstoned.py use constant for /data/tombstones/

Instead of use multiple times a string for
the data dir, use a variable.

old-commit-hash: 5a9d89ed42
2019-03-26 20:50:37 -07:00
Vehicle Researcher 30f7a33535 openpilot v0.5.10 release
old-commit-hash: f74a201edc
2019-03-26 01:09:18 -07:00
Nigel Armstrong 048fe8bf71 Add better volt fingerprint detection (#564)
Missing 578:8 causing unsupported car exception
old-commit-hash: 27e0adc434
2019-03-11 12:13:18 -07:00
Sumit Binnani dd2bf3ee54 Added new fingerprint for 2018 Camry Hybrid LE (#560)
* Updated Fingerprint for Camry Hybrid LE

The updated fingerprint is a superset of the previous fingerprint (maybe due to blindspot monitors).

old-commit-hash: 4697568e67
2019-03-11 12:08:52 -07:00