forked from moveit/panda_moveit_config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add demo_gazebo.launch using franka_gazebo
This commit adds demo_gazebo.launch using the gazebo simulation of the franka_gazebo package Additionally, the virtual_joint is removed from the move group definition.
- Loading branch information
Showing
5 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<launch> | ||
|
||
<!-- By default, we do not start a database (it can be large) --> | ||
<arg name="db" default="false" /> | ||
<!-- Allow user to specify database location --> | ||
<arg name="db_path" default="$(find panda_moveit_config)/default_warehouse_mongo_db" /> | ||
|
||
<!-- By default, we are not in debug mode --> | ||
<arg name="debug" default="false" /> | ||
|
||
<!-- By default, we won't load or override the robot_description --> | ||
<arg name="load_robot_description" default="false"/> | ||
<arg name="load_gripper" default="true" /> | ||
|
||
<!-- Gazebo specific options --> | ||
<arg name="gazebo_gui" default="true"/> | ||
<arg name="paused" default="false"/> | ||
|
||
<!-- launch the gazebo simulator and spawn the robot --> | ||
<include file="$(find franka_gazebo)/launch/panda.launch"> | ||
<arg unless="$(arg gazebo_gui)" name="headless" value="true"/> | ||
<arg if="$(arg gazebo_gui)" name="headless" value="false"/> | ||
<arg name="paused" value="$(arg paused)"/> | ||
<arg name="use_gripper" default="$(arg load_gripper)"/> | ||
<arg name="transmission" value="hardware_interface/PositionJointInterface"/> | ||
</include> | ||
|
||
<!-- Load position_joint_trajectory_controller --> | ||
<include ns="panda" file="$(find panda_moveit_config)/launch/ros_controllers.launch"/> | ||
|
||
<!-- Run the main MoveIt executable without trajectory execution (we do not have controllers configured by default) --> | ||
<include ns="panda" file="$(find panda_moveit_config)/launch/move_group.launch"> | ||
<arg name="info" value="true"/> | ||
<arg name="debug" value="$(arg debug)"/> | ||
<arg name="allow_trajectory_execution" value="true"/> | ||
<arg name="fake_execution" value="false"/> | ||
<arg name="load_gripper" value="$(arg load_gripper)"/> | ||
<arg name="load_robot_description" value="$(arg load_robot_description)"/> | ||
</include> | ||
|
||
<!-- Run Rviz and load the default config to see the state of the move_group node --> | ||
<include ns="panda" file="$(dirname)/moveit_rviz.launch"> | ||
<arg name="rviz_config" value="$(find panda_moveit_config)/launch/moveit.rviz"/> | ||
<arg name="debug" value="$(arg debug)"/> | ||
</include> | ||
|
||
<!-- If database loading was enabled, start mongodb as well --> | ||
<include file="$(dirname)/default_warehouse_db.launch" if="$(arg db)"> | ||
<arg name="moveit_warehouse_database_path" value="$(arg db_path)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters