convert.py
Go to the documentation of this file.
00001 #!/usr/bin/python
00002 import roslib; roslib.load_manifest('pr2_precise_trajectory')
00003 import rospy
00004 import sys
00005 from pr2_precise_trajectory.converter import *
00006 import pickle
00007 import yaml
00008 
00009 if __name__=='__main__':
00010     infile = sys.argv[1]
00011     outfile = None if len(sys.argv)<3 else sys.argv[2]
00012 
00013     result = load_trajectory(infile)
00014     if outfile is None:
00015         tprint(result)
00016     else:
00017         save_trajectory(result, outfile)
00018 
00019 
00020         


pr2_precise_trajectory
Author(s): David V. Lu!!
autogenerated on Sat Jun 8 2019 20:59:18