nbv_sim/launch/env.launch

25 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-04-26 10:45:00 +02:00
<?xml version="1.0" ?>
<launch>
<arg name="simulation" default="true" />
<arg name="launch_rviz" default="false" />
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
<!-- 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" />
<!-- Simulated environment -->
<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" />
<include file="$(find panda_moveit_config)/launch/move_group.launch" />
2021-09-04 15:50:29 +02:00
<!-- Launch rviz -->
2021-11-19 17:35:20 +01:00
<node if="$(arg launch_rviz)" pkg="rviz" type="rviz" name="rviz" args="-d $(find active_grasp)/cfg/active_grasp.rviz" />
2021-04-26 10:45:00 +02:00
</launch>