uleroboticsgroup / yasmin

YASMIN (Yet Another State MachINe)
GNU General Public License v3.0
130 stars 25 forks source link

Added TIMEOUT in service_state #21

Closed santiregui closed 2 months ago

santiregui commented 2 months ago

Added TIMEOUT outcome and use it in the service_state for timeout interruption.

This allows us to take decisions if the services are not yet available (e.g. try again, or launch the corresponding node, or simply abort, etc). The effect is left to the users of YASMIN, and therefore a different default outcome (TIMEOUT) was needed.

These changes should not affect older code since the timeout is optional.

Hopefully is also useful for other people :-) rather than just for myself

mgonzs13 commented 2 months ago

Thanks @santiregui