Skip to content

Commit

Permalink
Add launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Oct 15, 2023
1 parent 78ea697 commit 125e0cb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions launch/arm.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<launch>
<arg name="manual" default="false"/>
<arg name="rvizconfig" default="$(find mrover)/config/rviz/arm.rviz"/>

<param name="robot_description" command="xacro $(find mrover)/urdf/arm/arm.urdf.xacro"/>

<node if="$(arg manual)" name="joint_state_publisher" pkg="joint_state_publisher_gui"
type="joint_state_publisher_gui"/>
<group unless="$(arg manual)">
<node name="arm_controller" pkg="mrover" type="arm_controller"/>
<node name="sim_arm_bridge" pkg="mrover" type="sim_arm_bridge"/>
<node name="debug_arm_ik" pkg="mrover" type="debug_arm_ik.py"/>
</group>

<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher"/>

<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true"/>
</launch>

0 comments on commit 125e0cb

Please sign in to comment.