Commit Graph

219 Commits

Author SHA1 Message Date
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
Vehicle Researcher 83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f995ff6ae1945ef6b89df3cb69b92999
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: 0a7fed94371730d4e959e7975cbb0dc69484dcf4
2019-04-17 00:33:13 -07:00
Nigel Armstrong 912d6aee39 Better logging of dirty files
old-commit-hash: a2013221602c074bc4dac32e62432ee09a7a28aa
2019-04-16 20:22:38 -07:00
Nigel Armstrong 241d542eba Log dirty files
old-commit-hash: d64025cca4161e99d2180a2f63c2264181154d5a
2019-04-16 13:50:38 -07:00
wocsor 0469c872ec add pedal IDs to a Lexus RXH and Rav4 China (#604)
old-commit-hash: 58d645cd189c4dfdef239c892cba485f77169bd6
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: 76dfb135ca049ddd3ceadb6ce8b024c9c8193c2a
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: 7978afabe542289e5a2082491b96c82f85d13765
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: e89fd1236f5207053e18718e9e8e6bf95365841a
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: 1efa3f0ebae15bad11ad33c910c9229c9b52be2c
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: ca2f30989de8881b068609980fafe68a10b9e3a8
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: 5a9d89ed42ddcd209d001a10d7eb828ef0e6d9de
2019-03-26 20:50:37 -07:00
Vehicle Researcher 30f7a33535 openpilot v0.5.10 release
old-commit-hash: f74a201edcce4a81ae9e1ba388039a982a68f2fa
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: 27e0adc434906e37fd7674160a0a8c2dd5c3c180
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: 4697568e677748852936cae84a196b29f1f374bc
2019-03-11 12:08:52 -07:00
arne182 00546f0824 Add better volt fingerprint detection
Missing 578:8 causing unsupported car exception
old-commit-hash: 21a24446dbd57a9a203c0d1c6382a7652b7ebac9
2019-03-11 11:00:06 +01:00
srpape d99987c514 Fix 2018 volt fingerprint (#561)
Update fingerprint and remove offending PACIFICA_2018 match
old-commit-hash: 26cc816c1b22aada4b4e2257ab4fa7a242a005a7
2019-03-09 18:17:20 -08:00
arne182 cadeefa2f3 update @Kumar fingerprint for better recognition (#554)
old-commit-hash: 6c1f516bb3aa399379ff5fff6abaa29eb6174dd9
2019-03-08 17:26:08 -08:00
Nigel Armstrong 1341ee772e Chrysler updates (#537)
* Chrysler updates

* Update openDBC

old-commit-hash: 15fa6664c0cd6dee2cf9c3ef7e47c65b39a2ead8
2019-02-21 23:23:40 -08:00
Vehicle Researcher 2cc4edde68 openpilot v0.5.9 release
old-commit-hash: 0207a970400ee28d3e366f2e8f5c551281accf02
2019-02-20 01:39:02 +00:00
eFini ce1c9143b6 Allow uploader.py to compress rlog without upload permission (#471)
* Always Compress - Make sure uploader to bzip2 rlog once it's completed without any upload permission.

old-commit-hash: 88246af4c7bc7be16fe3f72040dda0e51c42388c
2019-02-13 20:39:24 -08:00
eFini e405254e62 Add "Accept-Encoding: gzip" header to mapd.py to reduce data consumption (#525)
old-commit-hash: 03f13e614bad3c034b6915a659bfba74150b8047
2019-02-13 18:19:17 +01:00
kegman dd108bf0a4 Eliminate brake oscillations and grinding / crunching / ripping sound when using Pedal (Honda Pilot Only) (#475)
* Eliminate brake oscillations when using Pedal

* Simplified code

* syntax error fix

* Grinding code as applied to Honda Pilot only 

Each model may need its own setting due to USER_BRAKE noise disengagements

* correction: self.CP.carFingerprint instead of CP.carFingerprint

* Add Ridgeline to Pedal Grinding fix

Confirmed to work also on Ridgeline

old-commit-hash: ee35b905d7407925fcea7eb616309ad3c8bd1c8a
2019-02-04 20:30:19 -08:00
Drew Hintz c40d19e1e5 fix typos, Jeep tuning (#511)
old-commit-hash: 73c1df714d4f4773e421d9f9efca90e816845cbf
2019-01-25 22:41:08 -08:00
Vehicle Researcher 3bde47d556 openpilot v0.5.8 release
old-commit-hash: b967da5fc1f7a07e3561db072dd714d325e857b0
2019-01-23 15:34:52 -08:00
Chris Souers f1f9cf6b45 Merge new 2019 Civic and existing 2017-18 Civic Hatch (#446)
* fingerprint and new car

* you know the drill

* fix

* mod civic hatch to work for now

* try to merge hatch and other bosch

* fix

* fixed spaces

* comma (heh)

* make mass civic

* Add to readme. Need to confirm speed

* steering dropout at ~3.3 kph

* Remove additional fingerprint

* combined comment. fixed formatting to match

old-commit-hash: 9eb1666a52a5587aad5995e2e140c8e5364ca862
2019-01-11 17:13:57 -08:00
Kylan bed4bd3c37 Adding GM Steering Rate (#495)
* adding steering rate

* adding steering rate

old-commit-hash: b78ed77f1dbcfdeffb05e7996b925391a663fb7e
2019-01-08 19:40:09 -08:00
ErichMoraga 5d099be6b3 Added EX-L subsection for the existing 2019 Pilot (#489)
*  Added EX-L subsection for the existing 2019 Pilot

Verified working with @Hitmantw25 12/20... and again 12/27 (VG w/ "Josh").

* Update selfdrive/car/honda/values.py

@energee wants to revert a change he made in a previous PR.

Co-Authored-By: ErichMoraga <33645296+ErichMoraga@users.noreply.github.com>

* Removed an extra space @energee included.

old-commit-hash: 0fded2c08b2a239e2c9c35e1bbfe6663abbff04f
2018-12-30 18:23:10 -08:00