FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
34 stars 17 forks source link

cannot calibrate ETB/TPS without accel pedal #433

Open nmschulte opened 1 month ago

nmschulte commented 1 month ago

EtbController won't return successful init unless there's an accel pedal present: https://github.com/FOME-Tech/fome-fw/blob/master/firmware/controllers/actuators/electronic_throttle.cpp#L165

This seems unnecessary, for both TPS auto-calibration and PID autotune.

Perhaps init should remove this check? Unsure how ETB pedal target (m_pedalMap) would behave if no channels configured.