Skip to content

Commit 7508e3e

Browse files
committed
Noted FSM Issues
1 parent a886ab3 commit 7508e3e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/LoadContainer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class LoadContainer {
5555
inline ESTOP_TYPE_FAST getSafetyFlag() const { return (safetyFlag); }
5656
inline bool isPowerPositive() const { return (INA260::current_mA > 0); }
5757
inline bool isSteadyRPM() const {
58-
return true;
58+
return true; // FIXME!
5959
// return (angularAccel_RPMPS < 20);
6060
} // todo - steady power is actually more important
6161
inline bool isTargetRPMExceeded() const {

include/LoadFSM.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class LoadFSM {
114114
return UPDATE_RESULT::STATE_CHANGED;
115115
} else if ((INA260::voltage_mV >= MIN_LOAD_VOLTAGE_mV) &&
116116
(currentState == FSMCommon::States::sStartRun) &&
117-
load.isSteadyRPM()) {
117+
load.isSteadyRPM()) { // FIXME - steady ROM condition
118118
// sStartRun -> sRunLoad
119119
// Note: The producing positive power condition is handled by the
120120
// reset logic

0 commit comments

Comments
 (0)