iml130 / sola

A decentralized communication middleware
https://iml130.github.io/sola/
Other
8 stars 5 forks source link

Rework logical execution state to remove send_next_task_to_physical_ flag #185

Open janagoe opened 9 months ago

janagoe commented 9 months ago

Due to some changes to integrate the FSM in the physical asset we required to set send_next_task_to_physical_ to true at initialization because it is not updated anymore when the AMR reports idle state. This is not optimal because this allows to send orders to the physical AMR before it even connects to the logical or before it send its description. But this does not happen currently.

Maybe this flag can be simplified or removed to depend on a state (order or AMR state) in conjunction.