-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Pedal Interceptor Support for Honda & Acura Vehicles #274
Adds Pedal Interceptor Support for Honda & Acura Vehicles #274
Conversation
Not sure if this should go into this PR though or not. This makes the ratio match the other vehicles in the file. Otherwise it's 3.454545...
- Slight comment update to Ridgeline
- Adds steering warning for interceptor cars in low speed lockout.
The updates to the warning messages haven't been tested yet but will be testing these changes to see if maybe this is where the degraded functionality came from during the Pedal cars lost their warning for some reason during |
Confirmed this is working great on the 2017 Honda Pilot Touring. |
Continued stability on my Pilot commute this morning. 2017 Honda Pilot
2018 Odyssey
2018 RDX
|
RDX testing has not occurred yet. Planned for tonight.
Sent from Mail for Windows 10
From: Joshua F. Rountree
Sent: Wednesday, June 27, 2018 8:07 AM
To: commaai/openpilot
Cc: Rich Interdonato; Mention
Subject: Re: [commaai/openpilot] Adds Pedal Interceptor Support for Honda &Acura Vehicles (#274)
Continued stability on my Pilot commute this morning.
2017 Honda Pilot
• 2 hours+ of testing usage so far on highways.
• No longer allows you to enable at zero for safety.
• Allows steer status of 3 to trigger steer_warning since this is required for safety below 12 mph.
• Does stop and go with Pedal down to zero.
** 2018 Odyssey**
• No testing has been done at this point.
• Might allow enabling at zero even without a lead car (which not sure if that's recommended)
• No longer uses 3 in warnings like the rest of the stop and go cars that steer to zero.
2018 RDX
• Did get the PR in the hands of an RDX owner (@rinterdonato). Have not confirmed he has tested yet.
• Needs confirmed whether this should warn under 12mph or if it should not warn down to zero due to it's ability to steer to zero like the Odyssey
• No longer uses 3 in warnings like the rest of the stop and go cars that steer to zero. (assuming it steers to zero because @rinterdonato claims the car steers to zero.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
2018 RDX Testing was Successful fyi. |
And I altered it to warn at 12mph of steering warning because it doesn't steer below 12mph. |
Getting reports on an Odyssey Elite that is not working with Pedal. |
@jfrux not all the hondas have the same pedal wiring. Maybe that's the issue with the Odissey? |
@rbiasini Realizing that the Elite has never been working with Pedal yet. That's something unrelated and we will just have to remove support for Elite for Pedal for this PR. RDX, Pilot, and Odyssey (regular) are solid, wondering if we can move forward by just these and I can remove Pedal from the Odyssey Elite for now and then I can work with Odyssey Elite when I get time. I'll get this updated soon. |
@jfrux a lot more changes seem to have slipped onto this PR. Can't we just merge the fingerprints for now? |
README.md
Outdated
@@ -45,23 +45,45 @@ Supported Cars | |||
- Due to limitations in steering firmware, steering is disabled below 12 mph | |||
- Uses stock Honda Sensing for longitudinal control | |||
|
|||
- Honda CR-V Touring 2015-2016 | |||
- Honda CR-V Touring 2015-2016 with Honda Sensing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was intentional to leave off "with Honda Sensing". This is redundant because Honda Sensing is not an option, it is standard on touring trim, and touring only for these years
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole file is redundant. The supported vehicles don’t belong on the readme. They belong on the wiki or a linked md
so we can dig deeper.
The code base has vehicles hardcoded. If we’re writing if car.PILOT
we are doing it wrong in the end.
It must be feature based or at the very least year make model based. I get that it was mostly for rapid prototyping purposes but it’s all redundant in the end game.
To truly inspire, we will have to move away from the majority of how things are written. But baby steps I suppose. :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README went through big changes for 0.5 release. Better to revert the changes to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough, will do!
@jfrux , see my latest comments |
@rbiasini Okay, made the changes you requested. |
README.md
Outdated
@@ -184,4 +184,4 @@ Any user of this software shall indemnify and hold harmless Comma.ai, Inc. and i | |||
|
|||
**THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. | |||
YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. | |||
NO WARRANTY EXPRESSED OR IMPLIED.** | |||
NO WARRANTY EXPRESSED OR IMPLIED.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already added to the internal README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking maybe it was a line spacing issue or something? I just pasted the main README.md from the previous version...
@jfrux not sure why the diff shows weird changes to submodule refs. |
Aww crap, that may have been remnants from something else I was working on before... that's weird that it left them in this branch. Very odd. Let me look into that real quick. |
Fixed, removed those submodules. OOPS! :) |
You thinking we good then on this since those issues have been handled? |
Updated to support v0.5.x from what I can tell it's all working. Testing now. |
Realized that last night I didn't add the fingerprints back in after fixing the merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Adds Joel's Changes to values, sorted as Rick wanted. * Adds space at end of file. * Adds Changes to Steering Ratio for Pilot testing. * Adding this to steer ratio makes it even 3.33 Not sure if this should go into this PR though or not. This makes the ratio match the other vehicles in the file. Otherwise it's 3.454545... * Changes the RAV4 back to not include pedal. * Updated Comments for Pedal Support * - Adds menuever test output to gitignore. - Slight comment update to Ridgeline * - Cleanup steer status comments - Adds steering warning for interceptor cars in low speed lockout. * Cleans up comments. * Update README.md * Corrects verbiage in README regarding Comma Pedal on Honda's * Updates Odyssey and MDX to not add extra warnings for low-speed-lockout. * Updates Comma Pedal references to use anchor links. * Minor tweak to README * Updates RDX to warn no steering below 12mph * Reverts changes to README, carstate.py, and interface.py * Removes extra libraries from a prior experiment. * Replaces README with one from current devel. Hope this fixes spacing issues. * Adds Pedal back to Honda Cars and sorts fingerprint values * Fixes spacing changes that were not intentional. * Fixed carstate no newline at end of file. * Fixes new line at end of file issue. * Converted the Long's to Int's
256d274 Fix Mac installation instruction per: https://github.com/commaai/panda/pull/308/files bfd8ff1 Update cppcheck commit with more coverage b143a1c Fixed Misra complaint 606f1d9 Fixed RTC on non-uno boards, second try. Cannot work when there is no xtal. 933c757 Fix RTC on non-uno boards (#311) 48d0d0c VW button spam: fix safety and add tests (#306) 6cccf96 Fan and IR at 0 when in power savings mode (#309) 0537328 board get_sdk scripts were left on python2 de18a7e bump version after uno merge 1965817 Changed default values for testing a12a148 Uno (#274) 7d29dc5 bump panda version. We really need a better way 4007532 VW: stricter limits to comply with comma safety policy e2e2be9 add safety mode to health packet 101238c turned on VW ignition based CAN logic a0d8d5d fix misra 5.3: check_ignition is intended as check_started and can't be used twice ea636de made check_ignition function to both look at ignition_line and ignition_can 1102e69 make ignition logic common for all cars (#303) 3a110c6 bump version after CMSIS core upgrade 55dfa52 Update core to CMSIS 5.6 release (#251) ee86490 fix linter 2 f410b11 fix linter 55957d6 proper python3 exception inheritance 6ba0f47 fix linter errors 5c49fe0 Merge pull request #145 from gregjhogan/uds 0f36199 timeout is float 396d6aa safety_replay only installs few extra requirements 25af7d3 Misra also need python 3 env 7434c5c centralize requirements for tests a0c37c7 coverage not needed in linter reqs fce38a9 Linter python (#299) 62e2f5c update cppcheck commit 711810d more uds debug 4454e3a better CAN comm abstraction 6b1f28f fix more encoding and some bytes cleanup (#300) 43adad3 fix WARNING_INDICATOR_REQUESTED name 9c857da 0x b64d6fa typing 768fdf7 bytes() > chr().encode() 1be15ea custom errors from thread 68da831 more python3 eb358e8 uds lib example 4f28858 updates for python3 932745f support tx flow control for chunked messages b1c3712 add timeout param cdf2f62 bug fixes b1a3195 fix rx message filtering bug 80fb6a6 convert uds lib to class 59cd2b4 handle separation time in microseconds 4429600 fix separation time parsing c641e66 fix typo 48b8dcc fix flow control delay scale 78f413d flow control delay 33a5167 bug fixes 8ee89a0 multi-frame tx 5e89a9c clear rx buffer and numeric error ids 9662300 fix remaining size calculation 01ef1fa zero pad messages before sending 1ddc973 uds can communication dca176e syntax errors 95be481 SERVICE_TYPE enum 98e73b5 more UDS message type implementation c1c5b03 uds lib 162f485 fix chr to bytes conversions (#298) 4972376 Update VW regression test to follow Comma safety index refactoring (#296) f9053f5 more Python 3 fixes, attempting to fix jenkins wifi regresison test (#295) 2f9e076 Panda safety code for Volkswagen, Audi, SEAT, and Škoda (#293) git-subtree-dir: panda git-subtree-split: 256d274
* Adds Joel's Changes to values, sorted as Rick wanted. * Adds space at end of file. * Adds Changes to Steering Ratio for Pilot testing. * Adding this to steer ratio makes it even 3.33 Not sure if this should go into this PR though or not. This makes the ratio match the other vehicles in the file. Otherwise it's 3.454545... * Changes the RAV4 back to not include pedal. * Updated Comments for Pedal Support * - Adds menuever test output to gitignore. - Slight comment update to Ridgeline * - Cleanup steer status comments - Adds steering warning for interceptor cars in low speed lockout. * Cleans up comments. * Update README.md * Corrects verbiage in README regarding Comma Pedal on Honda's * Updates Odyssey and MDX to not add extra warnings for low-speed-lockout. * Updates Comma Pedal references to use anchor links. * Minor tweak to README * Updates RDX to warn no steering below 12mph * Reverts changes to README, carstate.py, and interface.py * Removes extra libraries from a prior experiment. * Replaces README with one from current devel. Hope this fixes spacing issues. * Adds Pedal back to Honda Cars and sorts fingerprint values * Fixes spacing changes that were not intentional. * Fixed carstate no newline at end of file. * Fixes new line at end of file issue. * Converted the Long's to Int's
* Added uno * Added usb switch support * Added PWM and IR power functions * Implemented bootkick * Added uno as a new hw type * Bumped version * Added fan control and tach readout * WIP: RTC support * Working RTC * Fixed python * Misra compliance * Added USB control messages for fan/IR power * Added USB commands + tests for fan & IR control. Fixed bootstub and pedal compilation * Added IR and fan to power saving mode * Changed defaults * Fix safety considering uno * passing safety now * Minor UNO tweaks * Fixed version * More minor temporary tweaks * Removed usb load switch from uno * Added power control for shutting down the fan completely * Disable IR LEDs by default * Fixed linter issue * Linter fix #2
* Update accel limits * not as much deceleration * Display slowdown img when either model-related solution are slowing down * tone down deceleration * fix missing var
* MSPA: `lateralPlanSP` legacy support * bump cereal
This PR is for Honda and Acura Pedal on 0.5.x.
Todo
ADDED
.gitignore