Source code for morse.robots.atrv
import logging; logger = logging.getLogger("morse." + __name__)
import morse.core.robot
[docs]class ATRVClass(morse.core.robot.Robot):
""" Class definition for the ATRV (DALA).
Sub class of Morse_Object. """
def __init__(self, obj, parent=None):
""" Constructor method.
Receives the reference to the Blender object.
Optionally it gets the name of the object's parent,
but that information is not currently used for a robot. """
# Call the constructor of the parent class
logger.info('%s initialization' % obj.name)
super(self.__class__,self).__init__(obj, parent)
logger.info('Component initialized')
[docs] def default_action(self):
""" Main function of this component. """
pass