myoconverter.xml.path_points.PathPoint

Contains the PathPoint parser.

@author: Aleksi Ikkala

Module Contents

Classes

PathPoint

This class parses and converts the OpenSim PathPoint XML element to MuJoCo.

class myoconverter.xml.path_points.PathPoint.PathPoint[source]

Bases: myoconverter.xml.parsers.IParser

This class parses and converts the OpenSim PathPoint XML element to MuJoCo.

parse(xml, tendon, force_name, **kwargs)[source]

This function handles the actual parsing and converting.

Parameters:
  • xml – OpenSim MovingPathPoint XML element

  • tendon – MuJoCo tendon/spatial XML element

  • force_name – Name of the actuator this path point belongs to

  • kwargs – Optional keyword arguments

Returns:

None