This bugfix might be super important #621

Merged
muellerr merged 6 commits from possible_bugfix_dual_lane_assy into main 2023-04-28 15:35:55 +02:00
Owner
  • Old FDIR tests should still be repeated: Commanding devices to NEEDS_RECOVERY and
    check the recovery handling works as well.
- Old FDIR tests should still be repeated: Commanding devices to `NEEDS_RECOVERY` and check the recovery handling works as well.
muellerr added 1 commit 2023-04-28 14:03:15 +02:00
this bugfix might be super important
Some checks are pending
EIVE/eive-obsw/pipeline/head Build queued...
EIVE/eive-obsw/pipeline/pr-main This commit looks good
74d5d70973
muellerr changed title from this bugfix might be super important to WIP: This bugfix might be super important 2023-04-28 14:03:26 +02:00
muellerr added this to the v3.0.0 milestone 2023-04-28 14:17:48 +02:00
muellerr added the
bug
label 2023-04-28 14:19:26 +02:00
muellerr changed title from WIP: This bugfix might be super important to This bugfix might be super important 2023-04-28 14:19:32 +02:00
muellerr added 1 commit 2023-04-28 14:22:28 +02:00
changelog
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
02ea8a7298
muellerr requested review from mkranz 2023-04-28 14:22:35 +02:00
muellerr requested review from gaisser 2023-04-28 14:22:40 +02:00
muellerr added 1 commit 2023-04-28 14:23:24 +02:00
changelog
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
c66cef9129
muellerr added 1 commit 2023-04-28 14:25:20 +02:00
that is more robust
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
383849c5cb
muellerr requested review from meggert 2023-04-28 14:25:37 +02:00
muellerr added 1 commit 2023-04-28 14:28:10 +02:00
changelog
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
b10275ca43
muellerr modified the milestone from v3.0.0 to v2.0.5 2023-04-28 14:41:26 +02:00
meggert approved these changes 2023-04-28 14:43:44 +02:00
gaisser reviewed 2023-04-28 14:50:28 +02:00
@ -185,3 +185,3 @@
triggerEvent(CANT_KEEP_MODE, mode, submode);
startTransition(mode, nextSubmode);
startTransition(targetMode, nextSubmode);
tryingOtherSide = true;
Member

Small notice: the name "tryingOtherSide" is unclear to me. It seems to be more "tried other side" than "tryingOtherSide". Or "triedOtherSideBefore". At least in the check in line 184.

Small notice: the name "tryingOtherSide" is unclear to me. It seems to be more "tried other side" than "tryingOtherSide". Or "triedOtherSideBefore". At least in the check in line 184.
gaisser reviewed 2023-04-28 14:56:16 +02:00
@ -207,2 +207,3 @@
customRecoveryStates = RecoveryCustomStates::POWER_SWITCHING_ON;
pwrStateMachine.start(targetMode, targetSubmode);
// Command power back on in any case.
pwrStateMachine.start(HasModesIF::MODE_ON, targetSubmode);
Member

Is this working in combination with the call to opCode = pwrStateMachine.fsm(); directly afterwards (line 213)? (I haven't checked the fsm() call, so this might be perfectly fine.)

In line 215 (

customRecoveryStates = RecoveryCustomStates::DONE;
) customRecoveryState will be set to RecoveryCustomStates::DONE; if we entered the "if" in line 206 with OpCodes::TIMEOUT_OCCURED, is this expected?

Is this working in combination with the call to ``opCode = pwrStateMachine.fsm();`` directly afterwards (line 213)? (I haven't checked the fsm() call, so this might be perfectly fine.) In line 215 (https://egit.irs.uni-stuttgart.de/eive/eive-obsw/src/commit/b10275ca43f13ee68be013c7ece3b63acf762130/mission/system/acs/DualLaneAssemblyBase.cpp#L215) ``customRecoveryState`` will be set to `` RecoveryCustomStates::DONE;`` if we entered the "if" in line 206 with ``OpCodes::TIMEOUT_OCCURED``, is this expected?
Author
Owner

Why shouldn't it work? This mechanism has always worked properly when targetMode is correct. The immediate fsm call will send the swtich commands, the replies take some time.

Why shouldn't it work? This mechanism has always worked properly when `targetMode` is correct. The immediate fsm call will send the swtich commands, the replies take some time.
Member

Ok

Ok
gaisser marked this conversation as resolved
gaisser approved these changes 2023-04-28 15:23:45 +02:00
muellerr added 1 commit 2023-04-28 15:34:51 +02:00
changelog
Some checks are pending
EIVE/eive-obsw/pipeline/pr-main Build queued...
a17f57cbb5
muellerr added 1 commit 2023-04-28 15:35:14 +02:00
Merge branch 'main' into possible_bugfix_dual_lane_assy
Some checks are pending
EIVE/eive-obsw/pipeline/pr-main Build queued...
51f9d5e1fe
muellerr merged commit 4179e8e124 into main 2023-04-28 15:35:55 +02:00
muellerr deleted branch possible_bugfix_dual_lane_assy 2023-04-28 15:35:56 +02:00
Sign in to join this conversation.
No description provided.