FrogPilot structs

This commit is contained in:
James
2025-12-01 12:00:00 -07:00
parent c2406d9c29
commit b0c62707ad
57 changed files with 872 additions and 152 deletions
+1
View File
@@ -375,6 +375,7 @@ def main():
lag_learner.reset(lag, valid_blocks)
# FrogPilot variables
sm = sm.extend(['frogpilotPlan'])
while True:
sm.update()
+1
View File
@@ -284,6 +284,7 @@ def main():
learner = VehicleParamsLearner(CP, steer_ratio, stiffness_factor, np.radians(angle_offset_deg), pInitial)
# FrogPilot variables
sm = sm.extend(['frogpilotPlan'])
while True:
sm.update()
+1
View File
@@ -252,6 +252,7 @@ def main(demo=False):
estimator = TorqueEstimator(messaging.log_from_bytes(params.get("CarParams", block=True), car.CarParams))
# FrogPilot variables
sm = sm.extend(['frogpilotPlan'])
while True:
sm.update()