Variables | |
tuple | chaintree = solver.generateIkSolver(links.index(settings['base_link']),links.index(settings['tip_link']),[joints.index(f) for f in settings['free_joints']]) |
tuple | code = solver.writeIkSolver(chaintree,lang='cpp') |
tuple | convpath = os.path.join(os.path.dirname(sys.argv[0]),'urdf_openrave') |
tuple | env = openravepy.Environment() |
tuple | format = logging.Formatter('%(levelname)s: %(message)s') |
tuple | handler = logging.StreamHandler(sys.stdout) |
list | joints = [str(j.GetName()) for j in kinbody.GetJoints()] |
tuple | kinbody = env.ReadRobotXMLData(xml) |
list | links = [str(l.GetName()) for l in kinbody.GetLinks()] |
tuple | settings = yaml.load(open(sys.argv[1])) |
tuple | solver = IKFastSolver(kinbody,kinbody) |
tuple | xml = subprocess.check_output(convpath+" --urdf %s %s %s %s "% (settings['urdf_path'],settings['name'],settings['base_link'],settings['tip_link']),shell=True) |
tuple genikfast::chaintree = solver.generateIkSolver(links.index(settings['base_link']),links.index(settings['tip_link']),[joints.index(f) for f in settings['free_joints']]) |
Definition at line 47 of file genikfast.py.
tuple genikfast::code = solver.writeIkSolver(chaintree,lang='cpp') |
Definition at line 48 of file genikfast.py.
tuple genikfast::convpath = os.path.join(os.path.dirname(sys.argv[0]),'urdf_openrave') |
Definition at line 36 of file genikfast.py.
tuple genikfast::env = openravepy.Environment() |
Definition at line 39 of file genikfast.py.
tuple genikfast::format = logging.Formatter('%(levelname)s: %(message)s') |
Definition at line 30 of file genikfast.py.
tuple genikfast::handler = logging.StreamHandler(sys.stdout) |
Definition at line 31 of file genikfast.py.
list genikfast::joints = [str(j.GetName()) for j in kinbody.GetJoints()] |
Definition at line 44 of file genikfast.py.
tuple genikfast::kinbody = env.ReadRobotXMLData(xml) |
Definition at line 40 of file genikfast.py.
list genikfast::links = [str(l.GetName()) for l in kinbody.GetLinks()] |
Definition at line 42 of file genikfast.py.
tuple genikfast::settings = yaml.load(open(sys.argv[1])) |
Definition at line 28 of file genikfast.py.
tuple genikfast::solver = IKFastSolver(kinbody,kinbody) |
Definition at line 46 of file genikfast.py.