Skip to content
Snippets Groups Projects
Verified Commit 4d7297af authored by Justin Carpentier's avatar Justin Carpentier
Browse files

examples: update gepetto-viewer example

parent 5f0c230e
Branches
Tags
No related merge requests found
......@@ -11,7 +11,7 @@ from pinocchio.robot_wrapper import RobotWrapper
# Load the URDF model.
current_file = os.path.dirname(os.path.abspath(__file__))
romeo_model_dir = os.path.abspath(os.path.join(current_file, '../../models/romeo'))
romeo_model_path = os.path.abspath(os.path.join(romeo_model_dir, 'romeo_description/urdf/romeo.urdf'))
romeo_model_path = os.path.abspath(os.path.join(romeo_model_dir, 'romeo_description/urdf/romeo_small.urdf'))
robot = RobotWrapper.BuildFromURDF(str(romeo_model_path), [str(romeo_model_dir)], pin.JointModelFreeFlyer())
# Initialize the robot display.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment