CrispinFlowerday
4f02e178db
Subaru: show LDW on dash for correct lane ( #20934 )
...
* Emit correct alerts for LDW Left & Right on Subarus
This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash
* Remove whitespace, and add comment about not overwriting stock alerts
Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
old-commit-hash: 7458e143e3
4 years ago
ShaneSmiskol
e4ad4a8e13
Honda - Don't send cancel cmd when using comma pedal ( #20922 )
...
* cancel is never true if cruise isn't enabled and pedal
* This is probably better
* comment
* want to see if this fails
* see what Actions says about this
* nice! just as a sanity test real quick
* Revert "nice! just as a sanity test real quick"
This reverts commit 2d86d1c32e
.
* Revert "see what Actions says about this"
This reverts commit c908488854
.
* Revert "want to see if this fails"
This reverts commit 2d515f3721
.
* specify the fix
* No bitwise
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 483678adb1
4 years ago
Willem Melching
4daa6f05cf
Move all CarControllerParams into values.py ( #19663 )
...
* toyota
* use scale from values.py
* nissan
* subaru
* honda
* gm
* toyota combine into CarControllerParams
* nissan refactor
* chrysler refactor
* mazda refactor
* hyundai refactor
* subaru refactor
old-commit-hash: e4cf43c6fc
4 years ago
Adeeb Shihadeh
f25cec394e
grey panda is unsupported ( #2458 )
...
old-commit-hash: 47c21f10f5
5 years ago
Greg Hogan
659b82c469
pre-reqs for honda bosch longitudinal control ( #1458 )
...
* pre-reqs for honda bosch longitudinal control
* openpilot_longitudinal_control -> radar_disabled
* fix chrysler test
* review feedback
* little cleaner
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0902575e34
5 years ago
Adeeb Shihadeh
37a67a2a14
enable flake8 E502: backslash is redundant between brackets
...
old-commit-hash: 6466ec982a
5 years ago
Chris Souers
28470d47f6
Static 0xe5 on Honda Bosch ( #1420 )
...
* Recreate a static 0xe5 and send to radar
* remove unneeded declaration
* Update ref_commit
old-commit-hash: 0f530be2b4
5 years ago
Chris Souers
a5927023db
Adds 2016 CR-V Executive (Euro version of Touring trim) ( #1097 )
...
Co-authored-by: Ted Slesinski <ted_slesinski@epam.com>
old-commit-hash: 035397cd31
5 years ago
Adeeb
0468c42f22
Abstract CarInterface init ( #1131 )
...
* abstract CarInterface init
* unused
* subaru
* gm cleanup
* vw
* typo
* carcontroller
* more cleanup
* fix vw
old-commit-hash: 13f60eae91
5 years ago
Greg Hogan
c58361fbcb
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
old-commit-hash: 57c44e3705
5 years ago
rbiasini
6209ad5120
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>
old-commit-hash: 0c67143c92
5 years ago
George Hotz
9ef085076b
selfdrive/car
...
old-commit-hash: 71ead9adea
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
02cedeadd9
openpilot v0.6.3 release
...
old-commit-hash: d5f9caa82d
6 years ago
Vehicle Researcher
3835061760
openpilot v0.6.2 release
...
old-commit-hash: e90c41c576
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
e47a2e6e30
openpilot v0.5.13 release
...
old-commit-hash: dd34ccfe28
6 years ago
Vehicle Researcher
0932b367bd
openpilot v0.5.12 release
...
old-commit-hash: 3f9059fea8
6 years ago
marcbou
0a4a8f203b
correct some spelling errors ( #628 )
...
old-commit-hash: d8b1e99d77
6 years ago
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
6 years ago
Vehicle Researcher
83dfc3ca1f
openpilot v0.5.11 release
...
old-commit-hash: 2f92d577f9
6 years ago
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
6 years ago
Vehicle Researcher
30f7a33535
openpilot v0.5.10 release
...
old-commit-hash: f74a201edc
6 years ago
Vehicle Researcher
2cc4edde68
openpilot v0.5.9 release
...
old-commit-hash: 0207a97040
6 years ago
Vehicle Researcher
fdbf213be8
openpilot v0.5.6 release
...
old-commit-hash: 860a48765d
7 years ago
Vehicle Researcher
86d4bbcba6
openpilot v0.5.1 release
...
old-commit-hash: 6f3d10a4c4
7 years ago
Vehicle Researcher
e41a943dd0
openpilot v0.5 release
...
old-commit-hash: de33bc4645
7 years ago
dekerr
df4cfe1580
Small cleanup ( #275 )
...
* mass unit conversions
* flat/explicit conditions
* fix typos
* remove hardcode
* Update README.md
* Update carcontroller.py
old-commit-hash: ce67c75f1f
7 years ago
Vehicle Researcher
405e7c1b02
openpilot v0.4.7.2 release
...
old-commit-hash: 95509a58cd
7 years ago
rbiasini
34a800bf3f
Acura ILX steer fault fix: send STEER_TORQUE_REQUEST = 0 when temp faults are present ( #264 )
...
old-commit-hash: fd2bead226
7 years ago
Vehicle Researcher
242328f92c
openpilot v0.4.7 release
...
old-commit-hash: ae5cb7a0da
7 years ago
Vehicle Researcher
83eae004d8
openpilot v0.4.5.1 release
...
old-commit-hash: 1b7b3b4e66
7 years ago
Ted Slesinski
429954d582
2017 Honda Ridgeline ( #198 )
...
* Adds Honda Ridgeline
Replaced trim level placeholder
Adding 0x301 ridgeline message
(I restructured this slightly since we don't need to repeat `commands.append(make_can_msg(0x300, msg_0x300, idx, 1))` so many times
Updated dbc name
Use pedal_gas to detect gas pressed
Remove unnecessary signal check
Fix array notation
* Tire stiffness factor bumped to 1.5x
* Adds safety tests at line 133
* Revert "Adds safety tests at line 133"
This reverts commit 349edf5b1a879cac704db3786d0626211497bcb7.
* fix failing build due to syntax
* update variables for failing build
* Update interface.py
* Update Tire Slip Factor
old-commit-hash: 28b8043c5b
7 years ago
Vehicle Researcher
df22dac4f6
openpilot v0.4.3 release
...
old-commit-hash: 9a411ebf32
7 years ago
vanillagorillaa
14d6a991d5
Honda Pilot 2017 Port ( #161 )
...
* Update README.md
* Update fingerprints.py
* Update carstate.py
* Update hondacan.py
* Update interface.py
* Update interface.py
* Update interface.py
* Update README.md
* Update README.md
* Update README.md
* Update fingerprints.py
* Update carstate.py
* Update hondacan.py
* Update interface.py
* Update carstate.py
* Update hondacan.py
* Update README.md
* Update fingerprints.py
* Update carstate.py
* Update carstate.py
* Update carstate.py
* Update hondacan.py
* Update interface.py
* Update carstate.py
* Update carstate.py
* Update Pilot Fingerprint
* Update fingerprints.py
* Give pilot its own definition and not use ILX
* add pilot argument
* Add Pilot interface
* Add pilot argument
* Update interface.py
* Parse Different gear on pilot
* Add steer max
* Fixed duplication of steer max value
* Adjust PID's for steering
* Update carcontroller.py
* Change Steer Ratio and wheelbase
* Update Steer fault values
Steer fault value of 3, does not seem to effect anything
* Update Kp,Ki Ratio
* Update interface.py
* Update readme for Pilot
* add pilot
* Update fingerprints.py
* Update carstate.py
* add signals
* add signal
old-commit-hash: 32e5d6cd15
7 years ago
Vehicle Researcher
4e867831f7
openpilot v0.4.2 release
...
old-commit-hash: 28c0797d30
7 years ago
vanillagorillaa
41f868c92a
Acura RDX 2018 AcuraWatch Plus Port ( #162 )
...
* Adding Acura RDX alpha support
old-commit-hash: 0dc6778548
7 years ago
Vehicle Researcher
0cc7ce25ab
openpilot v0.4.1 release
...
old-commit-hash: 26e966852c
7 years ago
Ted Slesinski
ee7c8e0ea2
Unnecessary characters in comma's dongle id
...
old-commit-hash: 715771bcff
7 years ago
Ted Slesinski
b5c9a00567
Tuning specific to odyssey
...
old-commit-hash: 71057c586f
7 years ago
Ted Slesinski
930409af67
Add carcontroller changes
...
old-commit-hash: 8eebd19884
7 years ago
Vehicle Researcher
d9578e2f8e
openpilot v0.4.0.1 release
...
old-commit-hash: a77c0a1098
7 years ago
Vehicle Researcher
d914111e16
openpilot v0.3.9 tweaks
...
old-commit-hash: 1ad9cc8c67
8 years ago
Vehicle Researcher
490307fe50
openpilot v0.3.9 release
...
old-commit-hash: 5627d0d7fd
8 years ago
Vehicle Researcher
81ebf6b142
openpilot v0.3.8.2 release
...
old-commit-hash: 187a70f760
8 years ago
Vehicle Researcher
2c0cc6103a
openpilot v0.3.7 release
...
old-commit-hash: daf54ad54d
8 years ago
Vehicle Researcher
46e0ee7750
openpilot v0.3.4 release
...
old-commit-hash: 6f46f988d9
8 years ago