SR 17 -> 13

This commit is contained in:
jacobwaller
2026-11-12 22:44:35 -06:00
committed by firestar5683
parent 24fb006c36
commit a5f9c31a65
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class CAR(Platforms):
)
SUBARU_CROSSTREK_2025 = SubaruGen2PlatformConfig(
[SubaruCarDocs("Subaru Crosstrek 2025", "All", car_parts=CarParts.common([CarHarness.subaru_d]))],
CarSpecs(mass=1529, wheelbase=2.67, steerRatio=17),
CarSpecs(mass=1529, wheelbase=2.67, steerRatio=13),
flags=SubaruFlags.LKAS_ANGLE,
)
+1 -1
View File
@@ -196,7 +196,7 @@ static bool subaru_tx_hook(const CANPacket_t *msg) {
// vehicle model instead of the frozen generic angle example's Ascent geometry.
const AngleSteeringParams SUBARU_CROSSTREK_2025_ANGLE_PARAMS = {
.slip_factor = -0.0006281955319491566,
.steer_ratio = 17.0,
.steer_ratio = 13.0,
.wheelbase = 2.6700000762939453,
};
@@ -1,6 +1,6 @@
#pragma once
// jacobwaller/opendbc 8acbeccdab45a47aa7af170d2d17b61f0eb5e4f0:
// jacobwaller/opendbc 753fdd383a18c3f9e86af801f1e0e9db2a168e72:
// Crosstrek EPS envelope from lukasloetkolben's angle implementation, integrated
// by Jacob Waller. StarPilot retains its platform-specific VM and rate guards.
#define SUBARU_JACOBW_MAX_ANGLE 190
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "16f47a759557b8d003987025285b17b83a6f09e7c945311abc46cb5ddcd7a03b", "schema_version": 1}
{"protected_inventory_sha256": "a60fb1f7f5351b4f50389c3ba59422f43156d60a6c8a4739952d6f59dfd637de", "schema_version": 1}