Source code for myoconverter.xml.forces.BushingForce

""" Contains the `CoordinateCouplerConstraint` parser.

@author: Aleksi Ikkala
"""

from myoconverter.xml.parsers import IParser

from loguru import logger


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