mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
24cbcbe7f7
* merge wocsor RAV4_HYBRID_TSS2 branch
From wocsor's PR #740
cleanup fingerprint
2020 rav4 hybrid confirmed working
* 2019 RAV4 Hybrid Limited
Adds additional messages for Limited trim. XSE and XLE still contained within this longer Limited fingerprint.
* Support Swiss 2019 RAV4 Hybrid XLE
Adds 913:8 value from discord user RDuke
* Separated RAV4 ICE and Hybrid
* Add route to test_car_models.py
* Revert "Toyota Corolla Hatchback Hybrid 2019 Excite (Israel)"
This reverts commit c74ed9cc44e8a0f93dbddced8c0d2f4cc8f13b30.
old-commit-hash: 21af1bad2b
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