Difference between revisions of "Tesla"

From comma wiki
Jump to: navigation, search
(steps for tesla OP branch install)
Line 11: Line 11:
 
== Here's what you'll need to get OpenPilot working on your pre-AP Tesla ==
 
== Here's what you'll need to get OpenPilot working on your pre-AP Tesla ==
  
[https://shop.comma.ai/products/eon-dashcam-devkit EON Dashcam DevKit]
+
*[https://shop.comma.ai/products/eon-dashcam-devkit EON Dashcam DevKit]
  
[https://shop.comma.ai/products/panda-obd-ii-dongle Panda or Grey Panda]
+
*[https://shop.comma.ai/products/panda-obd-ii-dongle Panda or Grey Panda]
  
[https://www.amazon.com/gp/product/B00UY59OR6/ 10 foot mini USB cable (this is just an example)]
+
*[https://www.amazon.com/gp/product/B00UY59OR6/ 10 foot mini USB cable (this is just an example)]
  
Tesla Giraffe and Wiring harness which are currently only available from Kalud and zax123 in the #tesla channel
+
*Tesla Giraffe and Wiring harness which are currently only available from Kalud and zax123 in the #tesla channel
  
  
Line 23: Line 23:
 
(this is very much in progress and not yet complete)
 
(this is very much in progress and not yet complete)
  
[https://www.youtube.com/watch?v=JPNzmAprWZs Flip your EON]
+
*[https://www.youtube.com/watch?v=JPNzmAprWZs Flip your EON]
  
[https://community.comma.ai/wiki/index.php/Installing_OpenPilot_on_the_EON Make sure your Eon is up to date] This will bring you to the latest version of OpenPilot and update your EON to the latest version of NEOS.  If you have problems they aren't Tesla related, check the other wiki / slack places.  
+
*[https://community.comma.ai/wiki/index.php/Installing_OpenPilot_on_the_EON Make sure your Eon is up to date] This will bring you to the latest version of OpenPilot and update your EON to the latest version of NEOS.  If you have problems they aren't Tesla related, check the other wiki / slack places.  
  
[https://community.comma.ai/wiki/index.php/Configuring_OpenPilot Follow the instructions on this page to SSH into your EON]
+
*[https://community.comma.ai/wiki/index.php/Configuring_OpenPilot Follow the instructions on this page to SSH into your EON]
  
Install custom tesla branch of OpenPilot on your EON by doing the following:
+
*Install custom tesla branch of OpenPilot on your EON by doing the following:
 
# cd /data
 
# cd /data
 
# mv openpilot openpilot.stock
 
# mv openpilot openpilot.stock
Line 38: Line 38:
  
  
Update your Panda ([https://github.com/jeankalud/openpilot/blob/tesla/panda/board/README.md perhaps]) - automated soon - Do we need to do this without data on bus?  
+
*Update your Panda ([https://github.com/jeankalud/openpilot/blob/tesla/panda/board/README.md perhaps]) - automated soon - Do we need to do this without data on bus?  
  
[https://www.youtube.com/watch?v=JbPq1W_fYz4 Remove your frunk liner]
+
*[https://www.youtube.com/watch?v=JbPq1W_fYz4 Remove your frunk liner]
  
Install the wiring harness to the EPAS unit and the OBDII port in the driver footwell
+
*Install the wiring harness to the EPAS unit and the OBDII port in the driver footwell
  
[https://community.comma.ai/wiki/index.php/Installing_EON Mount your EON on your windshield]
+
*[https://community.comma.ai/wiki/index.php/Installing_EON Mount your EON on your windshield]
  
Install Panda on Giraffe ODB2 port (driver footwell)
+
*Install Panda on Giraffe ODB2 port (driver footwell)
  
Run the 10 foot USB cable from the EON along your headliner, down the driver side A-Pillar, and down to the Panda
+
*Run the 10 foot USB cable from the EON along your headliner, down the driver side A-Pillar, and down to the Panda
  
 
Enjoy!
 
Enjoy!

Revision as of 20:58, 14 June 2018


Welcome to the Tesla Openpilot Wiki!

We're just getting started filling this out, so feel free to jump in and help document things that need to be here.

This port is currently focused on the Pre-AP Teslas from 2014 and earlier. The EPAS (Electric Power Assisted Steering) unit on these pre-AP Teslas is capable of steering itself based on electronic commands like the AP1 and 2 Teslas, but since they don't have autopilot there's a kill signal that is sent to disable this feature. Because of this, we have to proxy the CAN-bus messages through the panda which will alter that kill signal and change it to an enable signal. To accomplish this, you have to remove the frunk liner to get at the EPAS unit, and unplug the factory cable and plug in a bypass cable that allows for this proxying. This cabling also allows OpenPilot to send the steering commands to the car.


Here's what you'll need to get OpenPilot working on your pre-AP Tesla

  • Tesla Giraffe and Wiring harness which are currently only available from Kalud and zax123 in the #tesla channel


Instructions to set it all up

(this is very much in progress and not yet complete)

  • Make sure your Eon is up to date This will bring you to the latest version of OpenPilot and update your EON to the latest version of NEOS. If you have problems they aren't Tesla related, check the other wiki / slack places.
  • Install custom tesla branch of OpenPilot on your EON by doing the following:
  1. cd /data
  2. mv openpilot openpilot.stock
  3. git clone https://github.com/jeankalud/openpilot.git
  4. cd openpilot
  5. git checkout tesla
  6. reboot


  • Update your Panda (perhaps) - automated soon - Do we need to do this without data on bus?
  • Install the wiring harness to the EPAS unit and the OBDII port in the driver footwell
  • Install Panda on Giraffe ODB2 port (driver footwell)
  • Run the 10 foot USB cable from the EON along your headliner, down the driver side A-Pillar, and down to the Panda

Enjoy!



Most of the action is happening in the #tesla channel on the comma slack: https://comma.slack.com

Current Tesla branch URL: https://github.com/jeankalud/openpilot/

Some background info on the tesla port: http://openpilot.robertcotran.com/

Video instructions for removing the frunk: https://www.youtube.com/watch?v=JbPq1W_fYz4

How to flip your EON: https://www.youtube.com/watch?v=JPNzmAprWZs