Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F sqlite configuration launch moveitday #440

Open
wants to merge 4 commits into
base: kinetic-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions sr_moveit_hand_config/launch/warehouse.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@
<!-- Load warehouse parameters -->
<include file="$(find sr_moveit_hand_config)/launch/warehouse_settings.launch.xml" />

<!-- Run the DB server -->
<node name="$(anon mongo_wrapper_ros)" cwd="ROS_HOME" type="mongo_wrapper_ros.py" pkg="warehouse_ros_mongo">
<param name="overwrite" value="false"/>
<param name="database_path" value="$(arg moveit_warehouse_database_path)" />
</node>

</launch>
22 changes: 9 additions & 13 deletions sr_moveit_hand_config/launch/warehouse_settings.launch.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
<launch>
<!-- Set the parameters for the warehouse and run the mongodb server. -->

<!-- The default DB port for moveit (not default MongoDB port to avoid potential conflicts) -->
<arg name="moveit_warehouse_port" default="33829" />

<!-- The default DB host for moveit -->
<arg name="moveit_warehouse_host" default="localhost" />

<!-- Set parameters for the warehouse -->
<param name="warehouse_port" value="$(arg moveit_warehouse_port)"/>
<!-- Set the parameters for the warehouse -->
<arg name="moveit_warehouse_port" default="33829" />

<!-- The default DB host for moveit -->
<arg name="moveit_warehouse_host" default="localhost" />

<!-- Set parameters for the warehouse -->
<param name="warehouse_port" value="$(arg moveit_warehouse_port)"/>
<param name="warehouse_host" value="$(arg moveit_warehouse_host)"/>
<param name="warehouse_exec" value="mongod" />
<param name="warehouse_plugin" value="warehouse_ros_mongo::MongoDatabaseConnection" />

<param name="warehouse_plugin" value="warehouse_ros_sqlite::SQLiteDatabaseConnection" />
</launch>