Skip to content

Commit

Permalink
add respawn option to the main launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Maisonneuve committed Feb 1, 2023
1 parent 1c2404f commit 9490137
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kinova_bringup/launch/kinova_robot.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
<arg name="kinova_robotSerial" default="not_set" />
<arg name="use_jaco_v1_fingers" default="false" />
<arg name="feedback_publish_rate" default="0.1" />
<arg name="respawn_driver" default="false" />

<!-- If the node handles multiple robots uncomment this and configure /config/multiple_robots.yaml" -->
<rosparam file="$(find kinova_bringup)/launch/config/multiple_robots.yaml" command="load" />

<node name="$(arg kinova_robotName)_driver" pkg="kinova_driver" type="kinova_arm_driver" output="screen" cwd="node" args="$(arg kinova_robotType)">
<node name="$(arg kinova_robotName)_driver" pkg="kinova_driver" type="kinova_arm_driver" output="screen" cwd="node" args="$(arg kinova_robotType)" respawn="$(arg respawn_driver)">
<rosparam file="$(find kinova_bringup)/launch/config/robot_parameters.yaml" command="load" />
<param name="serial_number" value="$(arg kinova_robotSerial)" />
<param name="robot_name" value="$(arg kinova_robotName)" />
Expand Down

0 comments on commit 9490137

Please sign in to comment.