Docstrings

interaction.py

class mapek_framework.interaction.Interaction(name, data_class)[source]

Class that rappresents an interaction between instances of mape elements.

Parameters:
  • name (str) – Name of the interaction.
  • data_class – ROS message type associated with the interaction.

managed_system.py

class mapek_framework.managed_system.ManagedSystem[source]

Abstract class supposed to be extended to implement a particular managed system.

group.py

class mapek_framework.group.Group(node_name, **kwargs)[source]

Class that rappresents a group of mape elements.

Parameters:
  • node_name (str) – The desired ROS node name.
  • **kwargs – Custom parameters to use to initialize the ROS node.
elements = []

Elements that are part of the group.

knowledge = {}

A dictionary-like object that rappresents the group knowledge.

managed_system = None

The managed system that interacts with the group.

spin()[source]

Start the group.