You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
975 B
975 B
What is a car port?
A car port enables openpilot support on a particular car. Each car model openpilot supports needs to be individually ported. All car ports live in openpilot/selfdrive/car/
.
The complexity of a car port varies depending on many factors including:
- existing openpilot support for similar cars
- architecture and APIs available in the car
Structure of a car port
interface.py
: Interface for the car, defines the CarInterface classcarstate.py
: Reads CAN from car and builds openpilot CarState messagecarcontroller.py
: Builds CAN messages to send to carvalues.py
: Limits for actuation, general constants for cars, and supported car documentationradar_interface.py
: Interface for parsing radar points from the car
Overiew
Jason Young gave a talk at COMMA_CON with an overview of the car porting process. The talk is available on YouTube: