00001 #!/usr/bin/env python 00002 00003 # This is a simple ROS node used only to configure the param server 00004 # This is used in conjunction with ROS_HOME & roslaunch 00005 # to set the default path for database storage 00006 00007 import roslib; roslib.load_manifest('moveit_warehouse') 00008 import rospy 00009 import os 00010 00011 if __name__ == '__main__': 00012 rospy.init_node('moveit_warehouse') 00013 path_base = os.getcwd() + "/moveit_warehouse/" 00014 rospy.set_param('~database_path_base', path_base) 00015 rospy.set_param('~default_database', path_base + "default")