00001 import roslib; roslib.load_manifest('rospy')
00002 import flask
00003 import os.path
00004 import threading
00005 import rospy
00006
00007 app = flask.Flask(__name__)
00008 site_root = os.path.dirname(__file__)
00009 lock = threading.RLock()
00010 print("Site root is {0}".format(site_root))
00011
00012 DB_PORT = rospy.get_param('warehouse_port')
00013 DB_HOST = rospy.get_param('warehouse_host', 'localhost')
00014 print("Db is at {0}:{1}".format(DB_HOST, DB_PORT))
00015 DB_NAME = rospy.get_param('semantic_db_name', 'semantic_world_model')
00016
00017 import db
00018 import views