7 from pathlib
import Path
11 path = Path(__file__).parent.parent /
"models" /
"example-robot-data" /
"python"
12 sys.path.append(str(path))
22 from panda3d_viewer
import Viewer
26 viewer = Viewer(window_title=
"python-pinocchio")
39 for i, loader
in enumerate(loaders):
44 robot.initViewer(viewer=viewer)
45 robot.loadViewerModel(group_name=robot.model.name)
49 if loader
is RomeoLoader: