Commit 62eb5020 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Python][Example] initDisplay → initViewer

ref https://github.com/stack-of-tasks/pinocchio/pull/795
parent 9ed60faa
......@@ -61,7 +61,7 @@ if __name__ == '__main__':
rp = RosPack()
urdf = rp.get_path(robot_package_name) + '/urdf/' + urdf_name + '.urdf'
robot = pin.RobotWrapper.BuildFromURDF(urdf, pin.StdVec_StdString(), pin.JointModelFreeFlyer())
robot.initDisplay(loadModel=True)
robot.initViewer(loadModel=True)
robot.displayCollisions(False)
robot.displayVisuals(True)
......
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