Commit 95c1797a authored by Guilhem Saurel's avatar Guilhem Saurel

panda: allow load in __main__

parent 832c7fe5
......@@ -8,7 +8,7 @@ eigenpy.switchToNumpyMatrix()
ROBOTS = [
'anymal', 'anymal_kinova', 'hyq', 'solo', 'solo12', 'talos', 'talos_arm', 'talos_legs', 'kinova', 'tiago',
'tiago_no_hand', 'icub', 'ur5', 'romeo', 'hector', 'double_pendulum', 'iris'
'tiago_no_hand', 'icub', 'ur5', 'romeo', 'hector', 'double_pendulum', 'iris', 'panda'
]
parser = ArgumentParser()
......@@ -100,3 +100,8 @@ if args.robot == 'iris':
iris = robots_loader.loadIris()
iris.initViewer(loadModel=True)
iris.display(iris.q0)
if args.robot == 'panda':
panda = robots_loader.loadPanda()
panda.initViewer(loadModel=True)
panda.display(panda.q0)
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