moveit2
The MoveIt Motion Planning Framework for ROS 2.
moveit_ros
warehouse
src
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
8
9
roslib.load_manifest(
"moveit_warehouse"
)
10
import
rospy
11
import
os
12
13
if
__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"
)
Generated by
1.9.1