scripts/test_app.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 """
4 usage: %prog [args]
5 """
6 
7 import roslib
8 roslib.load_manifest('app_manager')
9 
10 import os, sys, string
11 from optparse import OptionParser
12 
13 import app_manager
14 
15 def main(argv, stdout, environ):
16 
17  parser = OptionParser(__doc__.strip())
18  (options, args) = parser.parse_args()
19 
20  try:
21  a = app_manager.App(args[0])
22  print a.yaml
23  except app_manager.TaskException, e:
24  print e
25 
26 if __name__ == "__main__":
27  main(sys.argv, sys.stdout, os.environ)
def main(argv, stdout, environ)


app_manager
Author(s): Jeremy Leibs, Ken Conley, Yuki Furuta
autogenerated on Tue Apr 2 2019 02:58:24