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 import rospy
10 
11 import os, sys, string
12 from optparse import OptionParser
13 
14 import app_manager
15 
16 def main(argv, stdout, environ):
17 
18  parser = OptionParser(__doc__.strip())
19  (options, args) = parser.parse_args()
20 
21  try:
22  a = app_manager.App(args[0])
23  rospy.logwarn(a.yaml)
24  except app_manager.TaskException as e:
25  rospy.logerr(e)
26 
27 if __name__ == "__main__":
28  main(sys.argv, sys.stdout, os.environ)
def main(argv, stdout, environ)


app_manager
Author(s): Jeremy Leibs, Ken Conley, Yuki Furuta
autogenerated on Fri Mar 5 2021 03:07:47