Commit c87c2a33 authored by Joseph Mirabel's avatar Joseph Mirabel

[Python] Remove parser of KXML files.

parent 55459a34
......@@ -49,7 +49,6 @@ IF(BUILD_PYTHON_INTERFACE)
__init__.py
humanoid_robot.py
tools.py
parser.py
)
FOREACH(py_file ${${PY_NAME}_PYTHON})
......
......@@ -10,7 +10,6 @@ from dynamic_graph.sot.core.derivator import Derivator_of_Vector
from dynamic_graph.sot.core.op_point_modifier import OpPointModifier
from dynamic_graph.sot.core.robot_simu import RobotSimu
from dynamic_graph.sot.dynamic_pinocchio import DynamicPinocchio
from dynamic_graph.sot.dynamic_pinocchio.parser import Parser
from dynamic_graph.tools import addTrace
from dynamic_graph.tracer_real_time import TracerRealTime
......@@ -123,22 +122,6 @@ class AbstractHumanoidRobot(object):
def help(self):
print(AbstractHumanoidRobot.__doc__)
def loadModelFromKxml(self, name, filename):
"""
Load a model from a kxml file and return the parsed model.
This uses the Python parser class implement in
dynamic_graph.sot.dynamic_pinocchio.parser.
kxml is an extensible file format used by KineoWorks to store
both the robot mesh and its kinematic chain.
The parser also imports inertia matrices which is a
non-standard property.
"""
model = Parser(name, filename).parse()
self.setProperties(model)
return model
def loadModelFromUrdf(self, name, urdfPath, dynamicType):
"""
Load a model using the pinocchio urdf parser. This parser looks
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment