__main__.py
Go to the documentation of this file.
1 from argparse import ArgumentParser
2 
3 from .robots_loader import ROBOTS, load
4 
5 ROBOTS = sorted(ROBOTS.keys())
6 
7 parser = ArgumentParser(description=load.__doc__)
8 parser.add_argument('robot', nargs='?', default=ROBOTS[0], choices=ROBOTS)
9 parser.add_argument('--no-display', action='store_true')
10 
11 args = parser.parse_args()
12 
13 load(args.robot, display=not args.no_display)
def load(name, display=False, rootNodeName='')


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:02