db_path_config.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 # This is a simple ROS node used only to configure the param server
4 # This is used in conjunction with ROS_HOME & roslaunch
5 # to set the default path for database storage
6 
7 import roslib; roslib.load_manifest('moveit_warehouse')
8 import rospy
9 import os
10 
11 if __name__ == '__main__':
12  rospy.init_node('moveit_warehouse')
13  path_base = os.getcwd() + "/moveit_warehouse/"
14  rospy.set_param('~database_path_base', path_base)
15  rospy.set_param('~default_database', path_base + "default")


warehouse
Author(s): Ioan Sucan
autogenerated on Sun Oct 18 2020 13:18:37