test_app.py
Go to the documentation of this file.
00001 #! /usr/bin/env python
00002 
00003 """
00004 usage: %prog [args]
00005 """
00006 
00007 import roslib
00008 roslib.load_manifest('app_manager')
00009 
00010 import os, sys, string
00011 from optparse import OptionParser
00012 
00013 import app_manager
00014 
00015 def main(argv, stdout, environ):
00016 
00017   parser = OptionParser(__doc__.strip())
00018   (options, args) = parser.parse_args()
00019 
00020   try:
00021     a = app_manager.App(args[0])
00022     print a.yaml
00023   except app_manager.TaskException, e:
00024     print e
00025 
00026 if __name__ == "__main__":
00027   main(sys.argv, sys.stdout, os.environ)


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Mon Dec 2 2013 11:36:52