Skip to content

Commit f6235d3

Browse files
authored
"use_fake_hardware" for UR20 (#950)
On Humble fake_hardware is still used.
1 parent c855b5d commit f6235d3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ur_robot_driver/launch/ur20.launch.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ def generate_launch_description():
4646
)
4747
declared_arguments.append(
4848
DeclareLaunchArgument(
49-
"use_mock_hardware",
49+
"use_fake_hardware",
5050
default_value="false",
51-
description="Start robot with mock hardware mirroring command to its states.",
51+
description="Start robot with fake hardware mirroring command to its states.",
5252
)
5353
)
5454
declared_arguments.append(
5555
DeclareLaunchArgument(
56-
"mock_sensor_commands",
56+
"fake_sensor_commands",
5757
default_value="false",
58-
description="Enable mock command interfaces for sensors used for simple simulations. \
59-
Used only if 'use_mock_hardware' parameter is true.",
58+
description="Enable fake command interfaces for sensors used for simple simulations. \
59+
Used only if 'use_fake_hardware' parameter is true.",
6060
)
6161
)
6262
declared_arguments.append(
@@ -82,8 +82,8 @@ def generate_launch_description():
8282

8383
# Initialize Arguments
8484
robot_ip = LaunchConfiguration("robot_ip")
85-
use_mock_hardware = LaunchConfiguration("use_mock_hardware")
86-
mock_sensor_commands = LaunchConfiguration("mock_sensor_commands")
85+
use_fake_hardware = LaunchConfiguration("use_fake_hardware")
86+
fake_sensor_commands = LaunchConfiguration("fake_sensor_commands")
8787
initial_joint_controller = LaunchConfiguration("initial_joint_controller")
8888
activate_joint_controller = LaunchConfiguration("activate_joint_controller")
8989

@@ -92,8 +92,8 @@ def generate_launch_description():
9292
launch_arguments={
9393
"ur_type": "ur20",
9494
"robot_ip": robot_ip,
95-
"use_mock_hardware": use_mock_hardware,
96-
"mock_sensor_commands": mock_sensor_commands,
95+
"use_fake_hardware": use_fake_hardware,
96+
"fake_sensor_commands": fake_sensor_commands,
9797
"initial_joint_controller": initial_joint_controller,
9898
"activate_joint_controller": activate_joint_controller,
9999
}.items(),

0 commit comments

Comments
 (0)