Unverified Commit 58d1f74a authored by Rohan Budhiraja's avatar Rohan Budhiraja Committed by GitHub
Browse files

Update bindings/python/pinocchio/robot_wrapper.py



BUILDFromSDF is static
Co-authored-by: default avatarGuilhem Saurel <guilhem.saurel@laas.fr>
parent 9f100283
Pipeline #15395 passed with stage
in 191 minutes and 43 seconds
......@@ -21,6 +21,7 @@ class RobotWrapper(object):
model, collision_model, visual_model = buildModelsFromUrdf(filename, package_dirs, root_joint, verbose, meshLoader)
RobotWrapper.__init__(self,model=model,collision_model=collision_model,visual_model=visual_model)
@staticmethod
def BuildFromSDF(filename, package_dirs=None, root_joint=None, verbose=False, meshLoader=None):
robot = RobotWrapper()
robot.initFromSDF(filename, package_dirs, root_joint, verbose, meshLoader)
......
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