Commit Graph

1175 Commits

Author SHA1 Message Date
kegman 75a3aeba45 Honda Pilot tuning / lane centering fixes (#408)
Tuned kP and kI and Tire Stiffness Factor settings.
Fixes lane centering issues in the following situations:
1.  Hugging of left lane line during fast left curving roads
2.  Hugging of right lane line during fast right curving roads
3.  Left bias in fast lane on crowned roads (sloping down to the left)
4.  Right bias in slow lane on crowned roads (sloping down to the right)
Works better when lane_width = 2.85 (vs 3.7 default) in pathplanner.py
old-commit-hash: fdbf1c5938b70a9fa389cb6a117f123b6cbf5a2e
2018-10-31 11:09:48 -07:00
dekerr e280f9b495 Improve VM dynamic sol accuracy (#391)
* use solve and eye func

* remove uneeded import from vehicle model

old-commit-hash: 00429e6bbb27d79f452da81a4b7210db53b03f01
2018-10-30 22:30:09 +01:00
Jafar Al-Gharaibeh ce8a4c91f8 boardd: keep defined safety models in sync with panda repo (#412)
This is a noop for most users, but for those of us working on new
car ports where we have our own additional defines, having
those defines out of sync creates merge conflicts in one place
(good so we can fix it) but not the other ( not good becasue
they will go unnoticed). I learned this the hardway!.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 2f8034b2ec63bfa1a7e67e64999814f547c86b49
2018-10-30 22:13:18 +01:00
Willem Melching 1730800495 Improve Toyota radar filtering (#409)
old-commit-hash: 5501541aa2ae6ee62f251a5df0b57cb669604cde
2018-10-26 17:26:00 +02:00
Vasily Tarasov aa512e987a GM: disengage on radar fault (#396)
* GM: copy cadillac's radar header DBC

* Remove unused interface imports

* Rename num targets message to radar header

* Catch various radar faults

old-commit-hash: 3d05cca678738ae8195649111da7083953f965b1
2018-10-23 18:59:34 -07:00
James-T1 bd651baa56 Update Genesis fingerprint for longer version from Saeed (#406)
old-commit-hash: 195139999b5c1912fc67b4e764527b21d06c4dc4
2018-10-23 18:57:51 -07:00
rbiasini 77944f82bd remove badly named file (#404)
old-commit-hash: c9fa92b3775e74f3d190690eb57b06b05af75827
2018-10-23 12:05:11 -07:00
Willem Melching ed9507eefd Fix Visiond (#402)
old-commit-hash: dfa7757c40ec8876b16597622c9c382f869bbd7c
2018-10-22 21:59:18 +02:00
Vehicle Researcher cda78d7547 openpilot v0.5.5 release
old-commit-hash: 8f3539a27b28851153454eb737da9624cccaed2d
2018-10-21 15:00:31 -07:00
Vehicle Researcher 5a2c4717b1 Squashed 'opendbc/' changes from 42f8c12..62b7a01
62b7a01 Add toyota radar SCORE field
718a632 Revert "GM: copy radar header from cadillac (#116)"
a5dfd4a GM: copy radar header from cadillac (#116)

git-subtree-dir: opendbc
git-subtree-split: 62b7a0115307d5ce84a887d5d71ec126eb40d592

old-commit-hash: d0715b65623e5ace68f87702a91fb5178e05afdb
2018-10-21 14:52:59 -07:00
Vehicle Researcher 596adf8228 Merge opendbc subtree
old-commit-hash: e8ae37e36ea35e8aa49fe45acb77cec03feff970
2018-10-21 14:52:59 -07:00
Vehicle Researcher 22384b9ad6 Merge panda subtree
old-commit-hash: a2c76acf3bd0646e610c62e1f0979200d990eb29
2018-10-21 14:52:58 -07:00
Vehicle Researcher c5b078314b Squashed 'panda/' changes from 5253ab0..4dd3f5a
4dd3f5a bump version
6385551 Added Tesla safety changes. (#132)

git-subtree-dir: panda
git-subtree-split: 4dd3f5ac0101a6a14b003ecac1105e122a8f10bd

old-commit-hash: a51a60b5984ddf46623cd396afe3e9ee366847dd
2018-10-21 14:52:57 -07:00
Ted Slesinski 6f1766f2fe Added new fingerprint for EX-L (#401)
old-commit-hash: 7ed5c6554d3875cb3c3eb0ce9112fad3767b5b91
2018-10-20 11:02:00 -07:00
Andrew Frahn db392b6a78 Revert to using CLU15 message for Gear Selection for Compatability Reasons (#362)
* hyundai WIP

* steer_driver_factor is 1

* removed unnecessary file

* removed unnecessary code

* Update carcontroller.py

bug fix

* safety tuning and fixed interface stiffness

* better lateral tuning, some fixes

* Fix set speed

* added camera state reading, autoresume from stop, cancel on accel, hud alerts

* WIP

* Updated for Kia Sorento *WIP*

* Cleanup

* clean2

* Bug Fixes

* pre-merge

* Add all the cars!

* Panda to auto-detect Camera Bus

* Move Checksum Check

* Final Sorento Tuning

* Make CAN3 for Cam default

* Update README.md

* update panda, minor aesthetic updates

* few other minor changes

* added steer not allowed alert

* bup panda version to force panda update

* fixed camera alerts

* Revert to using CLU15 for Gear Selection

* Missing Defines

Didn’t realise this was removed as well!

* Change Gear Selection Definitions

Add logic to use transmission message rather than cluster message for all gear selections UNLESS the car in question does not have the known good transmission messages

* Revert Camera CAN Bus

* self.candidate

* fixed fingerpint, tested on Sorento

* Update for Elantra on Hyundai-Dev Branch

Latest Elantra values that correlate to progress Community branch.

old-commit-hash: 5641fc986d53c7d0e745c7bdaa4a454770778b0d
2018-10-14 07:30:18 -07:00
Vasily Tarasov d318455cd0 GM: LKA dashboard icon support (#389)
* GM: LKA dashboard icon support

* Decrease camera keepalive interval

* Use tuple for LKA icon status

old-commit-hash: c499aa549cdf794260718bba1f88b9e14b66b8c0
2018-10-12 17:37:13 -07:00
dekerr cbfdade67d Save one inverse call in building transformation matrix (#384)
old-commit-hash: 0a99fe3baa06ca67af7aade312171cc0e8a4c502
2018-10-08 21:02:20 +02:00
Jamezz 4b1b3ae3e1 Revert the changes to GM in 0.5.4 (#380)
* Revert 0.5.4 changes for GM for 18ers

* Redo the refactor of stock control msgs

* Fixed missing CONTROL_MSGS -> STOCK_CONTROL_MSGS

* Remove spacing

* Need candidate array idx

old-commit-hash: 8cc32df779b311f4541d9c4509e0591e30c70077
2018-10-01 19:13:34 +02:00
George Hotz 2a5e7cd115 Merge pull request #377 from commaai/nowiggle
visiond: replace wiggly model with non wiggly model
old-commit-hash: 8291f3570127c0b6766efe6c25cf4978e0aa0c17
2018-09-27 13:25:00 -08:00
George Hotz e40502701e visiond: replace wiggly model with non wiggly model
old-commit-hash: 0f885c87a555906c9bf76706c387a26374a9c95a
2018-09-27 09:52:07 -07:00
Vehicle Researcher 7062c6dcc4 openpilot v0.5.4 release
old-commit-hash: a422246dc30bce11e970514f13f7c110f4470cc3
2018-09-25 00:13:41 -07:00
Vehicle Researcher d2058ce569 Squashed 'opendbc/' changes from af7fff8..42f8c12
42f8c12 Adds Chinese Odyssey DBC (#110)
7b87882 Syntax and encoding fixes (#111)
f85e646 Update mercedes e350 dbc (#112)

git-subtree-dir: opendbc
git-subtree-split: 42f8c129c627fa0650b3cc423028c9a758fef86d

old-commit-hash: 906b55a5bd5190c5ffa7219ef1b914bc767a282d
2018-09-25 00:04:00 -07:00
Vehicle Researcher 0d58beaecf Merge opendbc subtree
old-commit-hash: e5b2ec4f01e8c2d76db6aa0d8425db99115a7391
2018-09-25 00:04:00 -07:00
Vehicle Researcher 4518023ece Squashed 'panda/' changes from f2292e4..5253ab0
5253ab0 bump panda
6277139 GM Volt: allowing 300 max steer
63b7926 Hyundai safety: temporarily disabled button spam check to avoid camera faults
53aef76 GM: passive on LKA-only cars (#135)
01b5235 bumped panda version
1c0ffd1 Hyundai safety: simplifications
56794d6 Hyundai Safety Auto-Detect which CAN bus Camera is on (#134)

git-subtree-dir: panda
git-subtree-split: 5253ab0ee8fd71f67f62ee1d08361459903c7172

old-commit-hash: 5c0935d253ad0c17db1cfa15c4d6628adf4f10e6
2018-09-25 00:03:58 -07:00
Vehicle Researcher 7ef4e27d03 Merge panda subtree
old-commit-hash: 97f1ee4a0df3ae64ba9fd278c50c1eed6b02430a
2018-09-25 00:03:58 -07:00
Vasily Tarasov 84cc854def Increase Volt's steering limit (#351)
* Increase Volt's steering limit

* Merge panda subtree

old-commit-hash: 2d450bc3a84bf1b28f3759dc1291f920d309ff58
2018-09-22 04:41:44 +02:00
Vasily Tarasov 2288a3e4da GM refactor (#374)
old-commit-hash: 96c923875b97a2632d44f0c032275cbc9d5830aa
2018-09-22 04:40:52 +02:00
wocsor f1f79c58cc Add XSE trim to fingerprints (#372)
old-commit-hash: 14b7eadf637684ceba09f10aa955679859db9f27
2018-09-21 01:06:15 +02:00
Ted Slesinski d6dcc2d761 Docker environment breaking (#369)
* Fixes matplotlib dependency

* Use version 2.1.2

old-commit-hash: 402faabd429eb1a9f400666a39ac22a897f5a3de
2018-09-20 02:59:18 +02:00
Ted Slesinski 1d3eea7113 Add support for accord hybrid (#361)
old-commit-hash: de79a077450e4e5d6961aebcfb404199ac0b90c3
2018-09-18 06:39:58 +02:00
wocsor 1efe62fdce update CHR fingerprint (#364)
CHR 2016 fingerprint has more messages
old-commit-hash: 4b2c137489ed40d91954c2ab8360d8c8649bf7a9
2018-09-17 22:24:52 +02:00
Andrew Frahn 04067deebc Kia Sorento and future Multi-Car Support (#346)
* hyundai WIP

* steer_driver_factor is 1

* removed unnecessary file

* removed unnecessary code

* Update carcontroller.py

bug fix

* safety tuning and fixed interface stiffness

* better lateral tuning, some fixes

* Fix set speed

* added camera state reading, autoresume from stop, cancel on accel, hud alerts

* WIP

* Updated for Kia Sorento *WIP*

* Cleanup

* clean2

* Bug Fixes

* pre-merge

* Add all the cars!

* Panda to auto-detect Camera Bus

* Move Checksum Check

* Final Sorento Tuning

* Make CAN3 for Cam default

* Update README.md

* update panda, minor aesthetic updates

* few other minor changes

* added steer not allowed alert

* bup panda version to force panda update

* fixed camera alerts

old-commit-hash: b3654cbcc9150c5c1388d9be723e707854700dd1
2018-09-10 00:30:36 +02:00
rbiasini 8ab1fdebc1 fixed sign in after Google change (#357)
old-commit-hash: d2b8c4f0cb937fe12ffa65f491f93a2a44636aad
2018-09-08 06:19:48 +02:00
zeeexsixare e4c3224133 Tried native Stop and Go on Highlander ICE with no comma pedal: Works! (#353)
* Trying to make Highlander ICE stop and go

* Making acceleration slow for fuel efficiency

* Removing annoying commanded disengage beep

* Raised accel_max by 50% and commented on chime

* Testing if Highlander ICE can resume follow from 0

* Returned to 1.5 m/s2 for testing stop and go

* Prep for merging upstream

* Prep for upstream merge item #2

* Added Highlander ICE/Hybrid to Stop and Go

Also updated table of vehicles

* Rollback advertising stop and go for Highlanders

* Fix whitespace

old-commit-hash: 50d9c446cf4abf5214e73d7d6a32b2cb926f37c9
2018-09-07 05:03:10 +02:00
Vasily Tarasov efefc5fdc3 GM: update readme, ACC is a required package (#354)
ACC implies Driver Confidence II, but not the other
way around. Openpilot requires front, long range radar
that only comes with ACC package.
old-commit-hash: 6eb1247426f9d6e136968d4ba3785f07b5b581fb
2018-09-07 05:01:53 +02:00
Vasily Tarasov f86034846c GM: go passive if detected ASCM or LKA camera (#350)
Since fingerprint is powertrain CAN only, camera still present
on object bus is not an issue.
old-commit-hash: faea9a42c4d1d0a0c60a8e0df399051cf6a1af1c
2018-09-06 20:59:05 +02:00
daehahn 6223e13272 Correct typo for Highlander (#349)
old-commit-hash: 86813e6d37ca16185b79b68ca340484ecffac08a
2018-09-05 15:29:36 -07:00
Vasily Tarasov f9d112eb73 Change dashboard command of GM to use packer (#347)
* Change dashboard command of GM to use packer

Also, separate "follow distance" from "engaged".

* Fix dashboard setSpeed scaling

old-commit-hash: 012727ef6069586642d7965f263bc58afac19778
2018-09-04 00:21:04 -07:00
Vasily Tarasov d63ae5c7d0 Fix pre-enable engagement on GM (#348)
In 2017 Volts, PCM fault occurs for a few seconds if ACC gas
is commanded while user presses gas pedal. PID winds up,
and when PCM fault clears, car gets a "max gas" jolt.

In 2018 Volts, PCM fault doesn't time out, which means pre-enable
doesn't work at all, and car would slowly decelerate, while openpilot
thinks it's engaged.
old-commit-hash: 9653f9d6a6b84d5d0c9ba920a44e407828700213
2018-09-04 00:16:09 -07:00
Vehicle Researcher e07d32c790 openpilot v0.5.3 release
old-commit-hash: 285c52eb693265a0a530543e9ca0aeb593a2a55e
2018-09-03 16:43:12 -07:00
Vehicle Researcher 5e1315cf1d Squashed 'opendbc/' changes from 2210752..af7fff8
af7fff8 Toyota Highlander: fixed dbc file name
3a979f5 Added Toyota Highlander Hybrid
3148fab Tesla: Add missing line break after VAL_ 69 WprSw6Posn (#109)
f70b8dc Hyundai: not sure why steer angle was unigned... seems a bug
1f40c31 Santa Fe: dealing with steer torque integer is easier for now
c081f73 Santa Fe: how come the steer angle sign was wrong
0da25ac Toyota Pedal Support (#108)
353aa54 Santa Fe: added lane icon color to dbc
4f76e9b Santa Fe: this signal seems 2 bits long
01cffdc Santa Fe: for now unitless torque request
390b926 added gear to dbc for Hyundai
0a04a43 Hyundai Santa Fe: first dbc commit

git-subtree-dir: opendbc
git-subtree-split: af7fff8f7f154457b88fb2e0fff789889bc9af70

old-commit-hash: 75db5e854e62bd1943148524f47b4ebb8d7a6e64
2018-09-03 16:41:18 -07:00
Vehicle Researcher 4173219960 Merge opendbc subtree
old-commit-hash: 8f6e36f426a2b5e05a4aadfe99b1cc23f49ec9c4
2018-09-03 16:41:18 -07:00
Vehicle Researcher 68d0794dbd Squashed 'panda/' changes from b058c14..f2292e4
f2292e4 Hyundai: added safety check for button spam
1a8c4c4 Hyundai safety: fwd option
5398abf Hyundai safety: added tests for cruise enable/disable too
a91d7ef added hyundai regression test
487fcae Safety hyundai: fixed RT check
04270b8 Safety Hyundai: bug fixes
d0c28b7 Hyndai safety: tuned
ad1ba69 Hyundai safety: fixed wrong param
8a1dcbe Hyundai safety: added Santa Fe safety: need to be tested. Removed some unnecessary funcitons
4e9d08a Hyundai safety: controls_allowed ==1 by default for now
f42d092 Hyundai all output for now
7927cab compiling the use of bitbang_gmlan only for panda
4fe2dcd build pedal image in CI
3d67294 keep pedal obj folder

git-subtree-dir: panda
git-subtree-split: f2292e420bd856b8cef6633af46e2641f401e84c

old-commit-hash: c4bba3234721f0e7d546b71d9ba5f32996e8463e
2018-09-03 16:41:16 -07:00
Vehicle Researcher d9b86cc4d7 Merge panda subtree
old-commit-hash: f0c5ca7227e1724b430b2501be442dd44eb51aeb
2018-09-03 16:41:16 -07:00
tentious 19af8c1f99 Honda Odyssey 2018/2019 EX-L PID Tuning (#343)
* Honda Odyssey 2019 EX-L PID Tuning.

* Update interface.py - Increased Kp for Odyssey

Increases response from 0.4, but oscillation still occurs in very sharp curves.

old-commit-hash: 8970cc8d7024e6a4c39a2c89b8cd6aa3fadcd54b
2018-09-02 20:06:19 -07:00
Ted Slesinski c4c67236ba Some code refactoring to Honda (#335)
* Move vehicle state values (that get sent to radar) into values.py file, its a better place for it :)

* idx with offset should only be applied to 0x300

* Adds new honda pilot to vehicle state msg array

old-commit-hash: 54f3c2b373d2dd6ecca485267b280697d7321406
2018-08-31 19:57:11 -07:00
Riccardo 1ca3dca1c4 Added Pilot 2019 as supported car to README
old-commit-hash: 2c4e1fd4fa786f580cb91dd255ce2b8aa5905789
2018-08-28 14:25:00 -07:00
rbiasini bb9cba24b7 fixing base UI crash after completing OP guide for the first time (#337)
old-commit-hash: 401c4026ac78cb454aef7889e11ebe92795d0ac9
2018-08-27 10:43:23 -07:00
Ted Slesinski a2f5dddb1f Adds 2019 Pilot (#334)
old-commit-hash: 22f0a89cf8b1430db1850cd3c6d8274899dab6a6
2018-08-26 22:35:11 -07:00
rbiasini 80bfdb101b fix critical put and get param that caused sporadic controlsd hanging (#333)
* fix critical put and get param that caused sporadic controlsd hanging

* test fix

old-commit-hash: b942ab58e18485f7a1ea316f081cf02b8edc7a1b
2018-08-24 19:45:33 -07:00