Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable TPS error check on autocal #511

Closed
wants to merge 1 commit into from
Closed

Conversation

dynfer
Copy link
Contributor

@dynfer dynfer commented Nov 13, 2024

@@ -532,7 +532,8 @@ bool EtbController::checkStatus() {

bool shouldCheckSensorFunction = engine->module<SensorChecker>()->analogSensorsShouldWork();

if (!m_isAutotune && shouldCheckSensorFunction) {
if (!m_isAutotune && shouldCheckSensorFunction && !m_isAutocal) {
// Added check to remove TPS errors during autocalibration https://github.com/FOME-Tech/fome-fw/issues/504
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can just do #504 instead of the full link, we know what repo it's for 🙂

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second thought...I don't think this change actually does anything. Look at the implementation of auto calibrate around lines 650-710. It blocks normal operation (including tps validation) of the throttle while doing the calibration routine, and directly takes control of the motor.

@mck1117
Copy link
Collaborator

mck1117 commented Nov 13, 2024

this doesn't help, bug is completely different as discussed on discord

@mck1117 mck1117 closed this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants