Source code for mapek_framework.interaction
#!/usr/bin/env python
"""
interaction.py
--------------
"""
[docs]class Interaction(object):
"""
Class that rappresents an interaction between instances of mape elements.
Args:
name (str): Name of the interaction.
data_class: ROS message type associated with the interaction.
"""
def __init__(self, name, data_class):
self.name = name
self.data_class = data_class