moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
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
7import roslib
8
9roslib.load_manifest("moveit_warehouse")
10import rospy
11import os
12
13if __name__ == "__main__":
14 rospy.init_node("moveit_warehouse")
15 path_base = os.getcwd() + "/moveit_warehouse/"
16 rospy.set_param("~database_path_base", path_base)
17 rospy.set_param("~default_database", path_base + "default")