Projects:Tesla Hacking 2

From SHA2017 Wiki
Jump to: navigation, search
Exact name Tesla Hacking - Adding autopilot
Generated SHA Flag with Name (experiment here)
Description We will try to add autopilot features to a pre-AP Tesla Model S
Has website
Persons working on Askarel, Mastrogippo, ZombB

Edit specify you're working on this project on your user page, here... and then on "edit with form" at the top.

Self-organized sessions

Add.png create self-organized session

Tags tesla
Located at village Village:ItalianEmbassy
Other projects...

refresh

After the talk on DIY autonomous driving, we will try to add autopilot features to a pre-AP Tesla Model S. The goal would be to win the $5100 prize from Comma.ai https://comma.ai/bounties.html

A level 2 autopilot system does basically two things: it keeps the car in the middle of the lane and it controls the speed of the car by keeping distance from the next one (standard TACC, traffic aware cruise control). In the prototyping phase, these problems may be tackled separately.


Controlling steering

- Comma.ai says that "Steering controller can be commanded over CAN on all Model S.". I couldn't find any documentation about this, and I'm not 100% sure that this is the case for the older models too.

- There's a DBC descriptor here: https://github.com/commaai/opendbc/blob/master/tesla_can.dbc

- A simple alternative approach, that may not qualify for the bounty, would be https://github.com/PolySync/OSCC/wiki/Steering


Adding TACC functionality

- I ordered a Mercedes radar sensor A0009051302, we can try to reverse engineer it.

- Do you have an automotive radar? Bring it!

- The cleanest approach would be to reverse the cruise control and implement logic to set the speed based on the radar input via CAN.

- Early Model S should not have brake actuators; a complete system would need to implement something like this: https://github.com/PolySync/OSCC/wiki/Brake

- For the prototype, using the regenerative braking feature of the car should be sufficient; an audible alarm may be fired if the braking power is not enough and the driver needs to take action.

- Another option may be this approach: https://github.com/PolySync/OSCC/wiki/Throttle


Safety

- Car will be jacked during tests

- Emergency stop buttons will cut power to the additional device, that will end up in a failsafe state.


  • Will you come to the camp on a Tesla? Help by letting us studying the differences between models in a non-invasive, safe way! :)
  • Schematics and service manuals for the car will be shared with participants ¯\_(:D)_/¯
  • Car is sponsored by http://cartender.it/