📄️ Outline
Stream ROS2 data into bigraphs, persist models with CDO, and apply conditional rewriting rules.
📄️ Signature and Bigraphs
We start with a dynamic signature and two initial models.
📄️ Database
We now create the metamodel and persist three variants with Spring Data CDO:
📄️ Updating Attributes from ROS2 Messages
Now, we are subscribing to a ROS2 Topic in Java.
📄️ Defining a Conditional Rule
Create a reaction rule that updates the drone's energy level based on attribute values.
📄️ Conditional Rewriting in Action
Now we are dealing with composing, matching, and rewriting only the drone part of the model.