You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During normal operation of the task, duplicate state transitions are being observed where only one is expected. The testing infrastructure ~is~~ was not set up to detect this.
An illustration of the repeated state from the console:
Likely, this is actually an issue with the delay_out_center_task package. However, the testing infrastructure for this package is currently superior. The following code can be used to illustrate the issue:
Created the [ricmua/duplicate_state_transition_issue](https://github.com/ricmua/ros_delay_out_center_task/tree/ricmua/duplicate_state_transition_issue) branch to illustrate and deal with this issue.
The text was updated successfully, but these errors were encountered:
The issue is that automatic transitions are being triggered during the on_enter methods of the state machine model. Since the machine never actually enters the associated state, it is reported as the subsequent state. For example, the on_enter_trial_setup method triggers a transition to move_a (via self.to_move_a()), and so the trial_setup state is erroneously reported as move_a.
Two obvious options:
Leave the code as it is, and just account for the flawed reporting.
Replace automatic transitions with (nearly instantaneous) timeouts. Add the timeout transitions to the state machine.
During normal operation of the task, duplicate state transitions are being observed where only one is expected. The testing infrastructure ~is~~ was not set up to detect this.
An illustration of the repeated state from the console:
Likely, this is actually an issue with the delay_out_center_task package. However, the testing infrastructure for this package is currently superior. The following code can be used to illustrate the issue:
Created the
[ricmua/duplicate_state_transition_issue](https://github.com/ricmua/ros_delay_out_center_task/tree/ricmua/duplicate_state_transition_issue)
branch to illustrate and deal with this issue.The text was updated successfully, but these errors were encountered: