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
We should support "event" subscription.
There are data that is sent only once when something happens, like the result of the action lib or the bumper of the turtlebot in simulation.
Now, for this kind of subscriptions, I add on the onentry action of the state where the subscription is needed. The onentry action "reset" the value to nil and I checked everytime is the variable is nil or not. We need something special to not overload the sourcecode with this kind of onentry action.
This onentry actions work well, howevery when we need the specific value of this subscription the program need to check first if the value is nil, then check the actual value. This also should be fixed
The text was updated successfully, but these errors were encountered:
We should support "event" subscription.
There are data that is sent only once when something happens, like the result of the action lib or the bumper of the turtlebot in simulation.
Now, for this kind of subscriptions, I add on the onentry action of the state where the subscription is needed. The onentry action "reset" the value to nil and I checked everytime is the variable is nil or not. We need something special to not overload the sourcecode with this kind of onentry action.
This onentry actions work well, howevery when we need the specific value of this subscription the program need to check first if the value is nil, then check the actual value. This also should be fixed
The text was updated successfully, but these errors were encountered: