Skip to content

Commit

Permalink
Avoid node clashing when USE_COLLISIONCHECK is true
Browse files Browse the repository at this point in the history
  • Loading branch information
Affonso-Gui committed Jun 29, 2018
1 parent 8d5c2ce commit 60ea7b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hironx_ros_bridge/launch/hironx_ros_bridge.launch
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

<!-- Collision detection here runs external to the robot (on Ubuntu) and
visualizes the distance between each links. -->
<include file="$(find hrpsys_ros_bridge)/launch/collision_detector.launch">
<include file="$(find hrpsys_ros_bridge)/launch/collision_detector.launch" unless="$(arg USE_COLLISIONCHECK)">
<arg name="MODEL_FILE" value="$(arg MODEL_FILE)" />
<arg name="CONF_FILE" value="$(arg CONF_FILE_COLLISIONDETECT)" />
<arg name="corbaport" default="$(arg corbaport)" />
Expand Down
2 changes: 2 additions & 0 deletions hironx_ros_bridge/launch/hironx_ros_bridge_real.launch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<arg name="USE_ROBOTHARDWARE" default="true" />
<arg name="USE_SERVOCONTROLLER" default="true" />
<arg name="USE_IMPEDANCECONTROLLER" default="false"/>
<arg name="USE_COLLISIONCHECK" default="false"/>
<arg name="USE_HAND_JOINT_STATE_PUBLISHER" default="true"/>

<!-- BEGIN:hrpsys.py setting -->
Expand All @@ -32,6 +33,7 @@
<arg name="USE_ROBOTHARDWARE" value="$(arg USE_ROBOTHARDWARE)" />
<arg name="USE_SERVOCONTROLLER" value="$(arg USE_SERVOCONTROLLER)" />
<arg name="USE_IMPEDANCECONTROLLER" value="$(arg USE_IMPEDANCECONTROLLER)"/>
<arg name="USE_COLLISIONCHECK" value="$(arg USE_COLLISIONCHECK)"/>
</include>

<node if="$(arg USE_HAND_JOINT_STATE_PUBLISHER)"
Expand Down

0 comments on commit 60ea7b6

Please sign in to comment.