monitor_device.py
Go to the documentation of this file.
00001 #! /usr/bin/env python
00002 
00003 """
00004 usage: %(progname)s [args]
00005 """
00006 
00007 #import nstart
00008 
00009 import os, sys, string, time, getopt, re
00010 from pyclearsilver.log import *
00011 
00012 import neo_cgi, neo_util, neo_cs
00013 
00014 from pyclearsilver import CSPage
00015 from pyclearsilver import odb
00016 
00017 import MBPage
00018 import db_webui
00019 
00020 import roslib
00021 import roslib.scriptutil
00022 
00023 import webutil
00024 
00025 class MyPage(MBPage.MBPage):
00026   def setup(self, hdf):
00027     pass
00028 
00029   def display(self, hdf):
00030     webutil.grabTopics(hdf, ["/topics"])
00031     webutil.set_tabs(hdf, ["status", "monitor"])
00032 
00033 
00034 def run(context):
00035   return MyPage(context, pagename="monitor_device", nologin=False)
00036 
00037 def main():
00038   context = CSPage.Context()
00039   run(context).start()
00040 
00041 if __name__ == "__main__":
00042   main()


webui
Author(s): Scott Hassan/hassan@willowgarage.com
autogenerated on Wed Apr 23 2014 10:36:00