Difference between revisions of "Projects:Tesla Hacking 2"
Mastrogippo (talk | contribs) |
Mastrogippo (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
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. | 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 | 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. | - 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 | - 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 | - A simple alternative approach, that may not qualify for the bounty, would be https://github.com/PolySync/OSCC/wiki/Steering | ||
| + | |||
Adding TACC functionality | Adding TACC functionality | ||
| + | |||
- I ordered a Mercedes radar sensor A0009051302, we can try to reverse engineer it. | - I ordered a Mercedes radar sensor A0009051302, we can try to reverse engineer it. | ||
| + | |||
- Do you have an automotive radar? Bring 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. | - 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 | - 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. | - 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 | - Another option may be this approach: https://github.com/PolySync/OSCC/wiki/Throttle | ||
| + | |||
Safety | Safety | ||
| + | |||
- Car will be jacked during tests | - Car will be jacked during tests | ||
| + | |||
- Emergency stop buttons will cut power to the additional device, that will end up in a failsafe state. | - 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! :) | *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)_/¯ | *Schematics and service manuals for the car will be shared with participants ¯\_(:D)_/¯ | ||
| − | *Car is sponsored http://cartender.it/ | + | *Car is sponsored by http://cartender.it/ |
Latest revision as of 17:51, 26 July 2017
| 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 | |
| Tags | tesla |
| Located at village | Village:ItalianEmbassy |
| Other projects... | |
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/