Skip to content
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

FCA: Only spoof EPS when steering command is active #15

Open
wants to merge 10 commits into
base: sunnypilot_wp_chrysler_advanced
Choose a base branch
from

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    4b8a778 View commit details
    Browse the repository at this point in the history
  2. use op active to enable/disable wp speed spoofing

    this still does not work with MADS
    visualage committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    e07ef4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8dbb2b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df9d38f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e86787 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a1df079 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. fix occasional LKAS error

    visualage committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ad623e1 View commit details
    Browse the repository at this point in the history
  2. adjust wait time for EPS based on vehicle speed

    it seems EPS will fault when the speed is low (e.g. <15mph) and LKAS torque is sent too soon. introduce a way to dyanmically adjust the wait time (cycles) based on the speed before spoofing
    
    for speed <3mph, the wait time is 1s.
    for speed <9mph, the wait time is 0.5s.
    for speed <15mph, the wait time is 0.2s.
    for speed <39mph, the wait time is 0.1s.
    for speed >=39mph, no wait time.
    visualage committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    69fb11c View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Fine tune the delay at various speeds

    <5kph, delay 0.7s
    <10kph, delay 0.6s
    <15kph, delay 0.4s
    <25kph, delay 0.2s
    <65kph, delay 0.1s
    visualage committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    910fed9 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Avoid LKAS fault at 10mph.

    <5kph, delay 0.7s
    <10kph, delay 0.6s
    <15kph, delay 0.4s
    <20kph, delay 0.3s
    <25kph, delay 0.2s
    <65kph, delay 0.1s
    visualage committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    a8c1ddf View commit details
    Browse the repository at this point in the history