Update Message Handling and Out-of-scope changes: state machine, time manager, state manager, restructuring. #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors the temperature board's codebase to consolidate various manager modules and update message handling. The changes include removing the old
DataManager
implementation, creating a newDataManager
with a simplified structure, and renaming and reorganizing several modules.Refactoring and module reorganization:
boards/temperature/src/main.rs
: Replaced individual manager module imports (adc_manager
,communication
,data_manager
) with a consolidatedmanagers
module. Updated all references to use the newmanagers
module. [1] [2] [3] [4] [5] [6] [7] [8] [9]boards/temperature/src/managers/mod.rs
: Created a newmanagers
module that includesadc_manager
,can_manager
,data_manager
,state_manager
, andtime_manager
.boards/temperature/src/managers/can_manager.rs
: Renamed fromcommunication.rs
and updated to useCanMessage
instead ofMessage
. [1] [2] [3] [4]New
DataManager
implementation:boards/temperature/src/managers/data_manager.rs
: Introduced a newDataManager
struct with a simplified design, focusing on handling state, reset reason, logging rate, recovery sensing, and temperature data.Additional manager modules:
boards/temperature/src/managers/state_manager.rs
: Added a newStateManager
struct to manage state data.boards/temperature/src/managers/time_manager.rs
: Added a newTimeManager
struct to manage time data.…nd manager restructuring.