Skip to content

Added support for faulty temperature sensor.#109

Merged
SeongGino merged 2 commits intoTeamOpenFIRE:OpenFIRE-devfrom
tbreckle:OpenFIRE-dev
Jan 16, 2026
Merged

Added support for faulty temperature sensor.#109
SeongGino merged 2 commits intoTeamOpenFIRE:OpenFIRE-devfrom
tbreckle:OpenFIRE-dev

Conversation

@tbreckle
Copy link
Contributor

This pull request adds improved error handling for temperature sensor faults in the serial port data processing logic. The main change is the detection of a specific error value and updating the UI accordingly to alert the user.

Temperature sensor error handling:

  • In guiWindow::serialPort_readyRead() (src/appmainwindow.cpp), added logic to check for OF_Const::TEMPERATURE_SENSOR_ERROR_VALUE and display a "Temperature: FAULT" message with a red background on the tmp36Label to indicate a sensor error.

ATTENTION:
This PR requires the following PR merged before (will update submodule once boards is merged):
TeamOpenFIRE/OpenFIRE-Boards#11

Copy link
Member

@SeongGino SeongGino left a comment

Choose a reason for hiding this comment

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

Seems fine to me.

@SeongGino
Copy link
Member

SeongGino commented Jan 13, 2026

Will just await the prereq boards bump before pulling.

@tbreckle tbreckle marked this pull request as ready for review January 13, 2026 22:31
@SeongGino
Copy link
Member

Everything builds and looks fine here, will wait on the dependent firmware change to get pulled. 🙂

@SeongGino
Copy link
Member

Prereq finished, ready for pull

@SeongGino SeongGino merged commit 35e91f0 into TeamOpenFIRE:OpenFIRE-dev Jan 16, 2026
9 checks passed
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