2021-04-26 10:45:00 +02:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<launch>
|
2021-11-18 15:40:32 +01:00
|
|
|
<arg name="launch_rviz" default="false" />
|
|
|
|
<arg name="simulation" default="true" />
|
2021-04-26 10:45:00 +02:00
|
|
|
|
2021-09-04 15:50:29 +02:00
|
|
|
<!-- Load parameters -->
|
2021-08-03 18:11:30 +02:00
|
|
|
<rosparam command="load" file="$(find active_grasp)/cfg/active_grasp.yaml" subst_value="true" />
|
2021-07-22 11:05:30 +02:00
|
|
|
|
2021-11-18 15:40:32 +01:00
|
|
|
<!-- Load robot description -->
|
2021-10-13 14:43:26 +02:00
|
|
|
<param name="robot_description" command="$(find xacro)/xacro $(find active_grasp)/assets/franka/panda_arm_hand.urdf.xacro" />
|
2021-11-18 15:40:32 +01:00
|
|
|
|
|
|
|
<group if="$(arg simulation)">
|
|
|
|
<node pkg="active_grasp" type="bt_sim_node.py" name="bt_sim" output="screen" />
|
|
|
|
<node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher" />
|
|
|
|
</group>
|
2021-04-26 10:45:00 +02:00
|
|
|
|
2021-09-04 15:50:29 +02:00
|
|
|
<!-- Launch MoveIt -->
|
2021-09-06 16:28:20 +02:00
|
|
|
<node pkg="tf2_ros" type="static_transform_publisher" name="to_panda" args="0 0 0 0 0 0 world panda_link0" />
|
2021-11-18 15:40:32 +01:00
|
|
|
<include file="$(find panda_moveit_config)/launch/move_group.launch" />
|
2021-09-04 15:50:29 +02:00
|
|
|
|
|
|
|
<!-- Launch rviz -->
|
2021-11-18 15:40:32 +01:00
|
|
|
<node if="$(arg launch_rviz)" pkg="rviz" type="rviz" name="rviz" args="-d $(find active_grasp)/launch/active_grasp.rviz" />
|
2021-04-26 10:45:00 +02:00
|
|
|
</launch>
|