5 import pinocchio
as pin
8 from os.path import dirname, join, abspath
11 path = join(dirname(dirname(abspath(__file__))),
'models',
'others',
'python')
13 from example_robot_data
import loadTalos, loadRomeo, loadICub, loadTiago
14 from example_robot_data
import loadSolo, loadHyQ, loadHector
17 from panda3d_viewer
import Viewer
21 viewer = Viewer(window_title=
'python-pinocchio')
23 loaders = (loadTalos, loadRomeo, loadICub, loadTiago, loadSolo, loadHyQ,
26 for i, load
in enumerate(loaders):
29 robot.initViewer(viewer=viewer)
30 robot.loadViewerModel(group_name=robot.model.name)
def load(name, display=False, rootNodeName='')