Difference between revisions of "Subaru"

From comma wiki
Jump to: navigation, search
(Getting started)
Line 10: Line 10:
  
 
= Getting started =
 
= Getting started =
 +
 +
Check if your car is a good [https://community.comma.ai/wiki/index.php/Candidate_Vehicles candidate]
  
 
Required hardware
 
Required hardware
Line 16: Line 18:
 
* order connectors and build a [https://docs.google.com/spreadsheets/d/1HczSKwVeX7z7HNM3mSpWelJQ0mk0h4YY_AWX8RkIAHw/view R137 wiring harness]
 
* order connectors and build a [https://docs.google.com/spreadsheets/d/1HczSKwVeX7z7HNM3mSpWelJQ0mk0h4YY_AWX8RkIAHw/view R137 wiring harness]
  
== Adding new model ==
+
== Adding support for new model ==
 
* [https://community.comma.ai/wiki/index.php/Creating_Fingerprints Creating Openpilot fingerprints]
 
* [https://community.comma.ai/wiki/index.php/Creating_Fingerprints Creating Openpilot fingerprints]
 
* Use [https://community.comma.ai/wiki/index.php/Main_Page#Cabana Cabana] to reverse engineer CAN messages required for Openpilot. This collection of [https://github.com/bugsy924/opendbc DBC] files is good place to start
 
* Use [https://community.comma.ai/wiki/index.php/Main_Page#Cabana Cabana] to reverse engineer CAN messages required for Openpilot. This collection of [https://github.com/bugsy924/opendbc DBC] files is good place to start
 +
 +
Also read [https://medium.com/@comma_ai/a-panda-and-a-cabana-how-to-get-started-car-hacking-with-comma-ai-b5e46fae8646 this] and [https://medium.com/@energee/add-support-for-your-car-to-comma-ai-openpilot-3d2da8c12647 this]
  
 
= Models =
 
= Models =

Revision as of 06:38, 20 July 2018

Status

Status of Latitudinal control (steering)

Openpilot will handle steering using wiring harness (custom Giraffe) and filtered CAN forwarding

Status of Longitudinal control (accelerator and brakes)

Eyesight will handle longitudinal control

Getting started

Check if your car is a good candidate

Required hardware

Adding support for new model

Also read this and this

Models

Outback

  • MY2016 w/ LKAS (eyesight)
    • Compatible with Panda.
    • ES DBC

WRX

BRZ

XV/Crosstrek

  • 2013
    • Panda works wired, not tested with wireless yet.
    • Adaptive Cruise Control (ACC) - Not available on tested model
    • Automatic Braking - Not available on tested model
    • Auto Parking Features - Not available on tested model
    • Blind Spot Detection - Not available on tested model
    • Lane Keep Assist System (LKAS/LKA) - Not available on tested model
  • 2018
    • Panda wireless works with Chffr via OBD2. OBD2 connector CAN messages are filtered by CAN gateway (Body Integrated Unit - BIU). Getting unfiltered CAN messages requires direct connection to main CAN bus.
    • Adaptive Cruise Control (ACC) - yes
    • Automatic Braking - yes
    • Auto Parking Features - Not available on tested model
    • Blind Spot Detection (BSD) - Not available on tested model (optional extra)
    • Reverse Automatic Braking (RAB) - Not available on tested model (optional extra)
    • Lane Keep Assist System (LKAS/LKA) - yes

Subaru Eyesight

Subaru eyesight was first available in the following years/models and includes the following features:

  • Pre-Collision Warning, Braking, and Throttle Management (Throttle lift-off during emergency braking)
  • Lane Departure Warning
  • Adaptive Cruise Control
  • Dual cameras instead of radar

Gen1 of Eyesight only featured 'notification' systems to alert the driver of lane departure/braking events; Gen2 allows emergency braking at any time. Gen3 includes the LKAS after lane departure and ACC restart after full stops.

Gen1 - 2014 Forester Touring, Legacy

  • Pre-Collision Warning, Braking, and Throttle Management (Throttle lift-off during emergency braking)
  • LDW
  • ACC
  • Stereoscopic cameras


Gen2 (CVT) - 2015 Legacy, Outback, Impreza, Crosstrek(XV)

  • Pre-collision braking and throttle management
  • ACC
  • Minimum ACC speed set to 30KPH but will operate below that speed, maximum speed of 145
  • Electric power steering
  • Drive by wire?


Gen3 - 2016

  • LKAS - Active lane keep (lane departure prevention)
  • ACC - Adaptive cruise control
  • Constant speed cruise control
  • Pre-collision braking
  • AT rapid start prevention control
  • Lane departure warning
  • Sway warning
  • Preceding vehicle start monitoring function

Optional extras:

  • BSD - blind spot detection (2 radars with 75 degree FOV in rear corners)
    • LCA - lane change assistance
    • RCTA - reversing assistance
  • RAB (reverse assisted braking, 4 sonar sensors in rear bumper)

Eyesight development timeline

More information can be found here

Direct connection to CAN bus

MY2017+ OBD2 connector CAN messages are filtered by CAN gateway (Body Integrated Unit). Getting unfiltered CAN messages requires direct connection to main CAN bus. Here are two possible options for directly connecting to CAN bus:

A-pillar

Eyesight compartment

Removing Eyesight cover

Additional Info

(*) Note - Data is unverified until someone can confirm they are correct.