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.
|
|
6 years ago | |
|---|---|---|
| .. | ||
| chrysler | 6 years ago | |
| ford | 6 years ago | |
| gm | 6 years ago | |
| honda | 6 years ago | |
| hyundai | 6 years ago | |
| mock | 6 years ago | |
| subaru | 6 years ago | |
| tests | 6 years ago | |
| toyota | 6 years ago | |
| volkswagen | 6 years ago | |
| README | 6 years ago | |
| __init__.py | 6 years ago | |
| car_helpers.py | 6 years ago | |
| fingerprints.py | 6 years ago | |
| fw_versions.py | 6 years ago | |
| interfaces.py | 6 years ago | |
| isotp_parallel_query.py | 6 years ago | |
| vin.py | 6 years ago | |
README
In here lies the car abstraction layer, and is part of what you will implement to add a new car
== Car State ==
Implement the following minimal set of sensors:
Speed -- best estimate of the speed of the car
SteeringAngle -- current angle of the steering wheel
ControlSurface -- gas position, brake position, steering torque
Implement the following optional sensors:
RadarPoints -- Currently not optional, but could be with VOACC. Data from the radar of the car.
WheelSpeeds -- The speed of the 4 wheels of the car. To be used for odometry
Implement the following controls:
ControlSurface -- gas position (optional if PCM), brake position, steering torque
If you don't have a pedal interceptor and you use the PCM cruise control:
CruiseState -- If system is enabled, and current set speed
CruiseControl -- Commands to modify system speed and acceleration
== Car UI ==
I suspect many cars with ACC and LKAS have similar UIs
HUDControl
== Car Buttons ==
Uses an evented protocol
* Blinkers
* Cruise buttons
* Other buttons
== Car Errors ==
See capnp for list of errors