Source code for myoconverter.xml.forces.PointActuator

""" Contains the `PointActuator` parser.

@author: Aleksi Ikkala
"""

from myoconverter.xml.parsers import IParser

from loguru import logger


[docs]class PointActuator(IParser): """ This class parses and converts the OpenSim `PointActuator` XML element to MuJoCo (not implemented yet). """
[docs] def parse(self, xml): """ This function handles the actual parsing and converting. :param xml: OpenSim `PointActuator` XML element :return: None """ logger.warning(f"PointActuator parser has not been implemented, skipping {xml.attrib['name']}")