Skip to content

Commit 0191f9d

Browse files
authored
Don't attempt to start dashboard_client when use_fake_hardware is true (#486)
1 parent 3365e22 commit 0191f9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ur_bringup/launch/ur_control.launch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from launch import LaunchDescription
1818
from launch.actions import DeclareLaunchArgument
19-
from launch.conditions import IfCondition
19+
from launch.conditions import IfCondition, UnlessCondition
2020
from launch.substitutions import Command, FindExecutable, LaunchConfiguration, PathJoinSubstitution
2121
from launch_ros.actions import Node
2222
from launch_ros.substitutions import FindPackageShare
@@ -236,6 +236,7 @@ def generate_launch_description():
236236

237237
dashboard_client_node = Node(
238238
package="ur_robot_driver",
239+
condition=UnlessCondition(use_fake_hardware),
239240
executable="dashboard_client",
240241
name="dashboard_client",
241242
output="screen",

0 commit comments

Comments
 (0)