Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT Topics for UI #177

Open
janagoe opened this issue Feb 12, 2024 · 0 comments
Open

MQTT Topics for UI #177

janagoe opened this issue Feb 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@janagoe
Copy link
Member

janagoe commented Feb 12, 2024

In the near future, we want to publish information about the states of orders/tasks/material flows and their assignments to AMRs with MQTT Topics.

Then, a backend/web server for the UI can simply subscribe to these topics to receive data for visualisation. (As of now, we don't plan to send new material flows from the UI into our application.)

I would propose the following topics:

(Instead of uuid, the topic string will contain the actual uuid of the order/task/material flow. )

material_flow/order/uuid/state for the state of an order

material_flow/task/uuid/state for the state of a task

material_flow/material_flow/uuid/state for the state of the complete material flow

material_flow/material_flow/uuid/spawn for the MFDL/PFDL program

material_flow/task/uuid/assignment for the assignment of a task to an AMR

With these topics the UI should have access to all information for visualisation about the material flow process. Information about the AMRs/AGVs should come from MARS, which we are not responsible for.

Because the ExecutionState class has information about the states of the tasks/orders, those information should be published from this class.

Information about the material flow states and spawn information, should come from the Material Flow Logical Agent. The MFLA can also directly subscribe to the material_flow/order/uuid/state and material_flow/task/uuid/state topics.

Assignment information should come from the MFLA or Central Optimizer.

@janagoe janagoe added the enhancement New feature or request label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant